doc: Show version in alabaster theme (local builds)

This commit is contained in:
patrick96 2023-04-03 02:40:43 +02:00 committed by Patrick Ziegler
parent 0032f27686
commit 81684a6c9d

View File

@ -138,6 +138,7 @@ if on_rtd or os.environ.get('USE_RTD_THEME', '0') == '1':
html_theme_options['collapse_navigation'] = False html_theme_options['collapse_navigation'] = False
else: else:
html_theme = 'alabaster' html_theme = 'alabaster'
html_theme_options['description'] = version
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,