File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2121
2222# -- Project information -----------------------------------------------------
2323
24+ import os
25+ import re
26+
27+
2428project = "Python für Data Science"
25- copyright = "2019–2024, Veit Schiele"
2629author = "Veit Schiele"
30+ copyright = f"2019–2024, { author } "
2731
2832# The full version, including alpha/beta/rc tags
29- release = "1.0.0"
33+ release = re . sub ( "^v" , "" , os . popen ( "git describe --abbrev=0" ). read (). strip ())
3034
3135
3236# -- General configuration ---------------------------------------------------
8690# documentation.
8791#
8892# Change default HTML title
89- html_title = "Python für Data Science 1.0.0 "
93+ html_title = f" { project } { release } "
9094#
9195# html_theme_options = {}
9296# html_sidebars = {}
You can’t perform that action at this time.
0 commit comments