From b68b113eb4631d7d850a76647ef44932647fd59e Mon Sep 17 00:00:00 2001 From: lixuehai Date: Wed, 27 Apr 2022 15:32:20 +0800 Subject: [PATCH] Remove unnecessary unicode prefixes Change-Id: Ib72f02450900654518cec9bef1b5dca397cbfb7a --- api-ref/source/conf.py | 8 ++++---- doc/source/conf.py | 18 +++++++++--------- releasenotes/source/conf.py | 14 +++++++------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index fae969b6b7..31065c2d0c 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -63,7 +63,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2017-present, OpenStack Foundation' +copyright = '2017-present, OpenStack Foundation' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -97,7 +97,7 @@ pygments_style = 'native' # -- Options for man page output ---------------------------------------------- # Grouping the document tree for man pages. -# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual' +# List of tuples 'sourcefile', 'target', 'title', 'Authors name', 'manual' # -- Options for HTML output -------------------------------------------------- @@ -183,8 +183,8 @@ htmlhelp_basename = 'octaviadoc' # (source start file, target name, title, author, documentclass # [howto/manual]). latex_documents = [ - ('index', 'Octavia.tex', u'OpenStack Octavia API Documentation', - u'OpenStack Foundation', 'manual'), + ('index', 'Octavia.tex', 'OpenStack Octavia API Documentation', + 'OpenStack Foundation', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of diff --git a/doc/source/conf.py b/doc/source/conf.py index 142678945a..17e52265f9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -87,7 +87,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2014-2019, OpenStack Octavia Team' +copyright = '2014-2019, OpenStack Octavia Team' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -244,8 +244,8 @@ smartquotes_excludes = {'builders': ['latex']} latex_documents = [( 'index', 'doc-octavia.tex', - u'Octavia Documentation', - u'OpenStack Octavia Team', + 'Octavia Documentation', + 'OpenStack Octavia Team', 'manual' )] @@ -277,8 +277,8 @@ latex_domain_indices = False texinfo_documents = [( 'index', 'Octavia-specs', - u'Octavia Design Specs', - u'OpenStack Octavia Team', + 'Octavia Design Specs', + 'OpenStack Octavia Team', 'octavia-specs', 'Design specifications for the Octavia project.', 'Miscellaneous' @@ -297,10 +297,10 @@ texinfo_documents = [( # -- Options for Epub output -------------------------------------------------- # Bibliographic Dublin Core info. -epub_title = u'Octavia Specs' -epub_author = u'OpenStack Octavia Team' -epub_publisher = u'OpenStack Octavia Team' -epub_copyright = u'2014, OpenStack Octavia Team' +epub_title = 'Octavia Specs' +epub_author = 'OpenStack Octavia Team' +epub_publisher = 'OpenStack Octavia Team' +epub_copyright = '2014, OpenStack Octavia Team' # The language of the text. It defaults to the language option # or en if the language is not set. diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 96052eff28..e716b45e8d 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -60,7 +60,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -copyright = u'2015, Octavia Developers' +copyright = '2015, Octavia Developers' # Release notes are version independent. # The short X.Y version. @@ -192,8 +192,8 @@ htmlhelp_basename = 'OctaviaReleaseNotesdoc' # documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'OctaviaReleaseNotes.tex', - u'OctaviaRelease Notes Documentation', - u'Octavia Developers', 'manual'), + 'OctaviaRelease Notes Documentation', + 'Octavia Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -222,8 +222,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'octaviareleasenotes', u'Octavia Release Notes ' - 'Documentation', [u'Octavia Developers'], 1) + ('index', 'octaviareleasenotes', 'Octavia Release Notes ' + 'Documentation', ['Octavia Developers'], 1) ] # If true, show URL addresses after external links. @@ -236,9 +236,9 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'OctaviaReleaseNotes', u'Octavia Release Notes ' + ('index', 'OctaviaReleaseNotes', 'Octavia Release Notes ' 'Documentation', - u'Octavia Developers', 'OctaviaReleaseNotes', + 'Octavia Developers', 'OctaviaReleaseNotes', 'One line description of project.', 'Miscellaneous'), ]