Remove unicode from code in doc conf

In python 3, all strings are considered as unicode string.

This patch drops the explicit unicode literal (u'...')
or (u"..") appearances from the unicode strings.

Change-Id: Ie70f5dc84a07c40f3743c56ad6d3673e6e78e1a6
This commit is contained in:
songwenping 2021-10-25 03:05:35 +00:00
parent 243a15ba0f
commit 6728a85ec6
1 changed files with 7 additions and 7 deletions

View File

@ -85,7 +85,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
copyright = u'2014, OpenStack Foundation'
copyright = '2014, OpenStack Foundation'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@ -223,8 +223,8 @@ latex_elements = {
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'saharadoc.tex', u'Sahara',
u'OpenStack Foundation', 'manual'),
('index', 'saharadoc.tex', 'Sahara',
'OpenStack Foundation', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -253,8 +253,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'sahara', u'Sahara',
[u'OpenStack Foundation'], 1)
('index', 'sahara', 'Sahara',
['OpenStack Foundation'], 1)
]
# If true, show URL addresses after external links.
@ -267,8 +267,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Sahara', u'Sahara',
u'OpenStack Foundation', 'Sahara', 'Sahara',
('index', 'Sahara', 'Sahara',
'OpenStack Foundation', 'Sahara', 'Sahara',
'Miscellaneous'),
]