diff --git a/_templates/layout.html b/_templates/layout.html new file mode 100644 index 000000000..051d4c323 --- /dev/null +++ b/_templates/layout.html @@ -0,0 +1,16 @@ +{% extends 'alabaster/layout.html' %} + +{% block footer %} +
+ + + +{% endblock %} diff --git a/conf.py b/conf.py index 2a99f764a..23f7be8a8 100644 --- a/conf.py +++ b/conf.py @@ -69,6 +69,7 @@ master_doc = 'index' project = 'esphomelib' copyright = '2018, Otto Winter' html_show_copyright = False +html_show_sphinx = False author = 'Otto Winter' # The version info for the project you're documenting, acts as replacement for @@ -117,6 +118,7 @@ html_theme = 'alabaster' # further. For a list of options available for each theme, see the # documentation. # +html_baseurl = os.getenv('BASE_URL', 'https://esphomelib.com') html_theme_options = { # 'logo': 'logo-full.png', 'logo_name': False, @@ -126,6 +128,8 @@ html_theme_options = { 'show_related': False, 'sidebar_collapse': True, 'fixed_sidebar': True, + 'show_powered_by': False, + 'canonical_url': html_baseurl + '/', } html_logo = '_static/logo-full.png' @@ -211,5 +215,4 @@ texinfo_documents = [ author, 'esphomelib', 'One line description of project.', 'Miscellaneous'), ] -html_baseurl = os.getenv('BASE_URL', 'https://esphomelib.com') linkcheck_ignore = [r'https://github.com/.*', r'https://discord.gg/.*'] diff --git a/index.rst b/index.rst index 4f2a5791c..52a0635ee 100644 --- a/index.rst +++ b/index.rst @@ -58,3 +58,4 @@ Features esphomeyaml/index web-api/index api/index + misc/index diff --git a/misc/index.rst b/misc/index.rst new file mode 100644 index 000000000..f67cb0a1f --- /dev/null +++ b/misc/index.rst @@ -0,0 +1,7 @@ +Misc +==== + +.. toctree:: + :glob: + + * diff --git a/misc/privacy.rst b/misc/privacy.rst new file mode 100644 index 000000000..976fd9a4c --- /dev/null +++ b/misc/privacy.rst @@ -0,0 +1,129 @@ +Privacy Policy +============== + +*Effective date: December 31, 2018* + +The esphomelib team ("us", "we", or "our") operates the https://esphomelib.com/ and https://esphome.io/ website +(the "Service"). + +This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use +our Service and the choices you have associated with that data. + +We will not use or share your information with anyone except as described in this Privacy Policy. + +Information Collection And Use +------------------------------ + +We collect several different types of information for various purposes to provide and improve our Service to you. + +We may also collect information how the Service is accessed and used ("Usage Data"). This Usage Data may include +information such as your computer's Internet Protocol address (e.g. IP address), browser type, +browser version, the pages of our Service that you visit, the time and date of your visit, +the time spent on those pages, unique device identifiers and other diagnostic data. + +From time to time, we may release non-personally-identifying information in the aggregate, +e.g., by publishing a report on trends in the usage of our website. + +In addition, we may use third party services such as Google Analytics that collect, monitor and analyze +this type of information in order to increase our Service's functionality. These third party +service providers have their own privacy policies addressing how they use such information. + +Gathering of Personally-Identifying Information +----------------------------------------------- + +Certain visitors to our websites choose to interact with us in ways that require us to gather personally-identifying +information. The amount and type of information that we gather depends on the nature of the interaction. +For example, we ask visitors who create a forum account to provide a username and an email address. +Those who engage in transactions with us are asked to provide additional information, including as necessary the +personal and financial information required to process those transactions. In each case, we collect such information +only insofar as is necessary or appropriate to fulfill the purpose of the visitor’s interaction. Visitors can always +refuse to supply personally-identifying information, with the caveat that it may prevent them from engaging in certain +website-related activities. + +Service Providers +----------------- + +We may employ third party companies and individuals to facilitate our Service, to provide the Service on our behalf, +to perform Service-related services or to assist us in analyzing how our Service is used. + +Google Analytics +**************** + +Google Analytics is a web analytics service offered by Google that tracks and reports website traffic. +Google uses the data collected to track and monitor the use of our Service. This data is shared with other Google +services. Google may use the collected data to contextualize and personalize the ads of its own advertising network. + +You can opt-out of having made your activity on the Service available to Google Analytics by installing the +Google Analytics opt-out browser add-on (see http://tools.google.com/dlpage/gaoptout). +The add-on prevents the Google Analytics JavaScript (ga.js, analytics.js, and dc.js) from sharing information with Google Analytics about visits activity. + +This website uses the anonymize IP function to crop your IP address in accordance with the IP masking requirements +of EU privacy laws. This means that your IP address is shortened so that it can not be used to identify you +and is no longer considered Personal Information. + +For more information on the privacy practices of Google, please visit the Google Privacy & Terms web page: https://policies.google.com/privacy?hl=en + +Cloudflare +********** + +The Internet presence of this company is provided by the technology partner CloudFlare Inc., based in the USA. +All data passed to or from this website pass through the worldwide network of CloudFlare, Inc. + +For more information, see CloudFlare's Privacy Statement at: +https://www.cloudflare.com/security-policy/ + +GitHub Pages +************ + +Our website is served through the GitHub pages service, operated by GitHub Inc., based in the USA. + +For more information, see GitHub's Privacy Statement at: +https://help.github.com/articles/github-privacy-statement/ + +Disqus +****** + +Our website uses the comment system provided by `Disqus