File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
docs/source-python/source
packages/source-python/core/command Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5353
5454# General information about the project.
5555project = ' Source.Python'
56- copyright = '2015 , Source.Python Development Team'
56+ copyright = '2018 , Source.Python Development Team'
5757author = ' Source.Python Development Team'
5858
5959# The version info for the project you're documenting, acts as replacement for
Original file line number Diff line number Diff line change 1818from core .command import core_command
1919from core .command import core_command_logger
2020from core .version import VERSION
21+ from core .version import is_unversioned
2122# Paths
2223from paths import SP_DATA_PATH
2324from paths import SP_DOCS_PATH
@@ -305,8 +306,7 @@ def _build_source_python_docs():
305306 lines = f .readlines ()
306307
307308 # Get the version string
308- version = VERSION if VERSION == 'unversioned' else (
309- 'v{0}' .format (VERSION ))
309+ version = '' if is_unversioned () else f'v{ VERSION } '
310310
311311 with conf_file .open ('w' ) as f :
312312 for line in lines :
You can’t perform that action at this time.
0 commit comments