Docs: add Rate-the-Docs

This commit is contained in:
medmunds
2018-08-18 17:36:10 -07:00
parent 5212848dc3
commit 13ffd5db40
3 changed files with 13 additions and 2 deletions

4
docs/_static/anymail-config.js vendored Normal file
View File

@@ -0,0 +1,4 @@
window.RATETHEDOCS_OPTIONS = {
contactLink: "/help/#contact",
privacyLink: "/docs_privacy/"
};

View File

@@ -278,7 +278,9 @@ intersphinx_mapping = {
def setup(app):
app.add_stylesheet("anymail-theme.css")
app.add_javascript("anymail-config.js")
app.add_javascript("version-alert.js")
app.add_javascript("https://unpkg.com/rate-the-docs")
# Django-specific roles, from https://github.com/django/django/blob/master/docs/_ext/djangodocs.py:
app.add_crossref_type(

View File

@@ -20,6 +20,11 @@ behavior. Anymail's maintainers *do not* collect or have access to any
personally identifiable (or even *potentially* personally identifiable)
information about visitors to this documentation site.
We also use Google Analytics to collect feedback from the "Is this page helpful?"
box at the bottom of the page. Please do not include any personally-identifiable
information in suggestions you submit through this form.
(If you would like to contact Anymail's maintainers, see :ref:`contact`.)
Anymail's maintainers have *not* connected our Google Analytics implementation
to any Google Advertising Services. (Incidentally, we're not involved with the
ads you may see here. Those come from---and support---Read the Docs under
@@ -32,9 +37,9 @@ analytics tracking, see the "Information for Visitors of Sites and Apps Using
Google Analytics" section of Google's `Safeguarding your data`_ document.
Questions about privacy and information practices related to this Anymail
documentation site can be emailed to "privacy\<at>anymail\<dot>info".
documentation site can be emailed to *privacy\<at>anymail\<dot>info*.
(This is not an appropriate contact for questions about *using* Anymail;
see :ref:`troubleshooting` if you need assistance with your code.)
see :ref:`help` if you need assistance with your code.)
.. _anymail.readthedocs.io: