diff options
author | Julien Palard <julien@palard.fr> | 2019-05-29 18:34:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-29 18:34:04 +0200 |
commit | 46ed90dd014010703c7a3b2a61c4927644fa8210 (patch) | |
tree | eb3b58ab720899e84bed20ab306d89c93c92dfd0 /Doc/README.rst | |
parent | 1c999262281c4a946c49614c3f8549f68049c0d9 (diff) | |
download | cpython-git-46ed90dd014010703c7a3b2a61c4927644fa8210.tar.gz |
Doc: Add an optional obsolete header. (GH-13638)
Diffstat (limited to 'Doc/README.rst')
-rw-r--r-- | Doc/README.rst | 9 |
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 ============ |