mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-01 05:54:46 +03:00
Merge branch 'issue1740' into develop
This commit is contained in:
commit
763788686d
@ -54,7 +54,10 @@ master_doc = 'index'
|
||||
# General information about the project.
|
||||
project = 'Glances'
|
||||
author = 'Nicolas Hennion'
|
||||
year = datetime.now().year
|
||||
try:
|
||||
year = datetime.utcfromtimestamp(int(os.environ['SOURCE_DATE_EPOCH'])).year
|
||||
except (KeyError, ValueError):
|
||||
year = datetime.now().year
|
||||
copyright = '%d, %s' % (year, author)
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
|
Loading…
Reference in New Issue
Block a user