mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-08 11:39:39 +00:00
doc: automate copyright year footer
Automatically update the copyright year on the page footers to be 2018-[current_year] when generating documentation. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
parent
bdcfb5c83b
commit
61e5957129
@ -18,6 +18,8 @@
|
|||||||
#
|
#
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
sys.path.insert(0, os.path.abspath('.'))
|
sys.path.insert(0, os.path.abspath('.'))
|
||||||
|
|
||||||
RELEASE = ""
|
RELEASE = ""
|
||||||
@ -75,7 +77,7 @@ master_doc = 'index'
|
|||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'Project ACRN™'
|
project = u'Project ACRN™'
|
||||||
copyright = u'2020, Project ACRN'
|
copyright = u'2018-' + str(datetime.now().year) + u', Project ACRN'
|
||||||
author = u'Project ACRN developers'
|
author = u'Project ACRN developers'
|
||||||
|
|
||||||
# The version info for the project you're documenting, acts as replacement for
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
|
Loading…
Reference in New Issue
Block a user