Remove unicode prefix (`u`) from strings (#11158)

This commit is contained in:
Mike Taves
2023-02-15 17:37:33 +13:00
committed by GitHub
parent c17300aa7a
commit 23bf041ce4
2 changed files with 11 additions and 11 deletions

View File

@@ -46,18 +46,18 @@ source_suffix = '.rst'
root_doc = 'index'
# General information about the project.
project = u'test'
copyright = u'2016, test'
author = u'test'
project = 'test'
copyright = '2016, test'
author = 'test'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u'test'
version = 'test'
# The full version, including alpha/beta/rc tags.
release = u'test'
release = 'test'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -131,7 +131,7 @@ html_theme = 'alabaster'
# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
#
# html_title = u'test vtest'
# html_title = 'test vtest'
# A shorter title for the navigation bar. Default is the same as html_title.
#
@@ -252,8 +252,8 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(root_doc, 'test.tex', u'test Documentation',
u'test', 'manual'),
(root_doc, 'test.tex', 'test Documentation',
'test', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@@ -283,7 +283,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(root_doc, 'test', u'test Documentation',
(root_doc, 'test', 'test Documentation',
[author], 1)
]
@@ -298,7 +298,7 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(root_doc, 'test', u'test Documentation',
(root_doc, 'test', 'test Documentation',
author, 'test', 'One line description of project.',
'Miscellaneous'),
]

View File

@@ -1921,7 +1921,7 @@ the `Dublin Core metadata <https://dublincore.org/>`_.
the types can be explicitly overwritten if the default entries are not
appropriate. Example::
epub_guide = (('cover', 'cover.html', u'Cover Page'),)
epub_guide = (('cover', 'cover.html', 'Cover Page'),)
The default value is ``()``.