Stop using unicode literals in docs conf.py
Change-Id: I8ce6749c3d634c68e5d4a15d812a046514cc35f5
This commit is contained in:
parent
f284108198
commit
3a71df1335
@ -71,13 +71,13 @@ source_suffix = '.rst'
|
|||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'Swift'
|
project = 'Swift'
|
||||||
if 'SOURCE_DATE_EPOCH' in os.environ:
|
if 'SOURCE_DATE_EPOCH' in os.environ:
|
||||||
now = float(os.environ.get('SOURCE_DATE_EPOCH'))
|
now = float(os.environ.get('SOURCE_DATE_EPOCH'))
|
||||||
now = datetime.datetime.utcfromtimestamp(now)
|
now = datetime.datetime.utcfromtimestamp(now)
|
||||||
else:
|
else:
|
||||||
now = datetime.date.today()
|
now = datetime.date.today()
|
||||||
copyright = u'%d, OpenStack Foundation' % now.year
|
copyright = '%d, OpenStack Foundation' % now.year
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
@ -209,8 +209,8 @@ htmlhelp_basename = 'swiftdoc'
|
|||||||
# (source start file, target name, title, author, documentclass
|
# (source start file, target name, title, author, documentclass
|
||||||
# [howto/manual]).
|
# [howto/manual]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'doc-swift.tex', u'Swift Documentation',
|
('index', 'doc-swift.tex', 'Swift Documentation',
|
||||||
u'Swift Team', 'manual'),
|
'Swift Team', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# The name of an image file (relative to this directory) to place at the top of
|
# The name of an image file (relative to this directory) to place at the top of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user