mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
Docs: add Rate-the-Docs
This commit is contained in:
4
docs/_static/anymail-config.js
vendored
Normal file
4
docs/_static/anymail-config.js
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
window.RATETHEDOCS_OPTIONS = {
|
||||||
|
contactLink: "/help/#contact",
|
||||||
|
privacyLink: "/docs_privacy/"
|
||||||
|
};
|
||||||
@@ -278,7 +278,9 @@ intersphinx_mapping = {
|
|||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
app.add_stylesheet("anymail-theme.css")
|
app.add_stylesheet("anymail-theme.css")
|
||||||
|
app.add_javascript("anymail-config.js")
|
||||||
app.add_javascript("version-alert.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:
|
# Django-specific roles, from https://github.com/django/django/blob/master/docs/_ext/djangodocs.py:
|
||||||
app.add_crossref_type(
|
app.add_crossref_type(
|
||||||
|
|||||||
@@ -20,6 +20,11 @@ behavior. Anymail's maintainers *do not* collect or have access to any
|
|||||||
personally identifiable (or even *potentially* personally identifiable)
|
personally identifiable (or even *potentially* personally identifiable)
|
||||||
information about visitors to this documentation site.
|
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
|
Anymail's maintainers have *not* connected our Google Analytics implementation
|
||||||
to any Google Advertising Services. (Incidentally, we're not involved with the
|
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
|
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.
|
Google Analytics" section of Google's `Safeguarding your data`_ document.
|
||||||
|
|
||||||
Questions about privacy and information practices related to this Anymail
|
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;
|
(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:
|
.. _anymail.readthedocs.io:
|
||||||
|
|||||||
Reference in New Issue
Block a user