summaryrefslogtreecommitdiffstats
path: root/Doc/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index 5cc8f7e..2a9fc59 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -58,6 +58,10 @@ copyright = f"2001-{time.strftime('%Y')}, Python Software Foundation"
import patchlevel
version, release = patchlevel.get_version_info()
+rst_epilog = f"""
+.. |python_version_literal| replace:: ``Python {version}``
+"""
+
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
today = ''