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