Stop using unicode literals in docs conf.py

Change-Id: I8ce6749c3d634c68e5d4a15d812a046514cc35f5
This commit is contained in:
jiaqi07 2022-08-02 16:25:09 +08:00 committed by Tim Burke
parent f284108198
commit 3a71df1335

View File

@ -71,13 +71,13 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'Swift'
project = 'Swift'
if 'SOURCE_DATE_EPOCH' in os.environ:
now = float(os.environ.get('SOURCE_DATE_EPOCH'))
now = datetime.datetime.utcfromtimestamp(now)
else:
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
# for a list of supported languages.
@ -209,8 +209,8 @@ htmlhelp_basename = 'swiftdoc'
# (source start file, target name, title, author, documentclass
# [howto/manual]).
latex_documents = [
('index', 'doc-swift.tex', u'Swift Documentation',
u'Swift Team', 'manual'),
('index', 'doc-swift.tex', 'Swift Documentation',
'Swift Team', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of