We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 269dacf commit 39ff38dCopy full SHA for 39ff38d
1 file changed
docs/conf.py
@@ -21,12 +21,15 @@
21
22
# -- Project information -----------------------------------------------------
23
24
+import os
25
+import re
26
+
27
project = "Python for Data Science"
-copyright = "2019–2024, Veit Schiele"
28
author = "Veit Schiele"
29
+copyright = f"2019–2024, {author}"
30
31
# The full version, including alpha/beta/rc tags
-release = "1.0.0"
32
+release = re.sub("^v", "", os.popen("git describe --abbrev=0").read().strip())
33
34
35
# -- General configuration ---------------------------------------------------
@@ -86,8 +89,8 @@
86
89
# documentation.
87
90
#
88
91
# Change default HTML title
-html_title = "Python for Data Science 1.0.0"
-#
92
+html_title = f"{project} {release}"
93
94
# html_theme_options = {}
95
# html_sidebars = {}
96
0 commit comments