Dynamically update copyright year at publication
Change-Id: Ic4148e4ab0061f1af00990e11762609fe9f51bf9
This commit is contained in:
parent
81bb344026
commit
e075e3247a
@ -11,6 +11,7 @@
|
||||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import datetime
|
||||
import sys
|
||||
import os
|
||||
|
||||
@ -50,10 +51,10 @@ master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = u'OpenStack Project Infrastructure Manual'
|
||||
copyright = Markup(u'2014, OpenStack Contributors '
|
||||
copyright = Markup(u'%s, OpenStack Contributors '
|
||||
u'- use the <a href="https://git.openstack.org/cgit/'
|
||||
u'openstack-infra/infra-manual">infra-manual git repo</a> '
|
||||
u'to propose changes')
|
||||
u'to propose changes' % datetime.date.today().year)
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
@ -235,7 +236,7 @@ texinfo_documents = [
|
||||
epub_title = u'OpenStack Project Infrastructure Manual'
|
||||
epub_author = u'OpenStack Contributors'
|
||||
epub_publisher = u'OpenStack Contributors'
|
||||
epub_copyright = u'2014, OpenStack Contributors'
|
||||
epub_copyright = u'%s, OpenStack Contributors' % datetime.date.today().year
|
||||
|
||||
# The language of the text. It defaults to the language option
|
||||
# or en if the language is not set.
|
||||
|
Loading…
Reference in New Issue
Block a user