summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorUnai Zalakain <unai@gisa-elkartea.org>2013-10-04 00:51:22 +0200
committerTim Graham <timograham@gmail.com>2013-10-04 10:00:36 -0400
commit3895d8899d7a01f2bdb1c206e45d8578a9739c91 (patch)
tree6ab6dfa79cabbd968b846dde80d7d778b50dfb56 /docs/conf.py
parent8b0014869f666b44cd20692e38073ec0a0a8cb08 (diff)
Fixed #21213 -- Added docs for Django's mailing lists.
Added docs/internals/mailing-lists.txt documenting the use of django's mailing lists. All references across docs changed to point to this page. The referencing makes use of substitution because there's no way to make a :ref: link in a non-inline fashion in Sphinx. It also makes use of rst_epilog Sphinx conf for making this substitutions across all the docs.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 3b3816f69b..b9e60d0bde 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -206,6 +206,14 @@ htmlhelp_basename = 'Djangodoc'
modindex_common_prefix = ["django."]
+# Appended to every page
+rst_epilog = """
+.. |django-users| replace:: :ref:`django-users <django-users-mailing-list>`
+.. |django-core-mentorship| replace:: :ref:`django-core-mentorship <django-core-mentorship-mailing-list>`
+.. |django-developers| replace:: :ref:`django-developers <django-developers-mailing-list>`
+.. |django-announce| replace:: :ref:`django-announce <django-announce-mailing-list>`
+.. |django-updates| replace:: :ref:`django-updates <django-updates-mailing-list>`
+"""
# -- Options for LaTeX output --------------------------------------------------