File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 2121
2222# -- Project information -----------------------------------------------------
2323
24+ import os
25+ import re
26+
2427project = "Python for Data Science"
25- copyright = "2019–2024, Veit Schiele"
2628author = "Veit Schiele"
29+ copyright = f"2019–2024, { author } "
2730
2831# The full version, including alpha/beta/rc tags
29- release = "1.0.0"
32+ release = re . sub ( "^v" , "" , os . popen ( "git describe --abbrev=0" ). read (). strip ())
3033
3134
3235# -- General configuration ---------------------------------------------------
8689# documentation.
8790#
8891# Change default HTML title
89- html_title = "Python for Data Science 1.0.0 "
90- #
92+ html_title = f" { project } { release } "
93+
9194# html_theme_options = {}
9295# html_sidebars = {}
9396
You can’t perform that action at this time.
0 commit comments