summaryrefslogtreecommitdiff
path: root/Doc/README.rst
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2019-05-29 18:34:04 +0200
committerGitHub <noreply@github.com>2019-05-29 18:34:04 +0200
commit46ed90dd014010703c7a3b2a61c4927644fa8210 (patch)
treeeb3b58ab720899e84bed20ab306d89c93c92dfd0 /Doc/README.rst
parent1c999262281c4a946c49614c3f8549f68049c0d9 (diff)
downloadcpython-git-46ed90dd014010703c7a3b2a61c4927644fa8210.tar.gz
Doc: Add an optional obsolete header. (GH-13638)
Diffstat (limited to 'Doc/README.rst')
-rw-r--r--Doc/README.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/README.rst b/Doc/README.rst
index 31f8a8b7f5..380ea4fa9b 100644
--- a/Doc/README.rst
+++ b/Doc/README.rst
@@ -113,6 +113,15 @@ Then, from the ``Doc`` directory, run ::
where ``<builder>`` is one of html, text, latex, or htmlhelp (for explanations
see the make targets above).
+Deprecation header
+==================
+
+You can define the ``outdated`` variable in ``html_context`` to show a
+red banner on each page redirecting to the "latest" version.
+
+The link points to the same page on ``/3/``, sadly for the moment the
+language is lost during the process.
+
Contributing
============