diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-09-23 11:51:04 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-09-23 11:51:04 +1000 |
commit | 6f48143f4c60c555b3f571007cdc929ce90920b1 (patch) | |
tree | 2a2333a365379d4c4c42faf79bcd9db20aaa8626 /docs | |
parent | f90707e22c0380bd0f17e2e724e58ecf91abd5a3 (diff) | |
download | mediagoblin-6f48143f4c60c555b3f571007cdc929ce90920b1.tar.lz mediagoblin-6f48143f4c60c555b3f571007cdc929ce90920b1.tar.xz mediagoblin-6f48143f4c60c555b3f571007cdc929ce90920b1.zip |
Apply pyupgrade --py36-plus.
This removes some 'u' prefixes and converts simple format() calls to f-strings.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/conf.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index 48f68b14..5e6c98d5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # GNU MediaGoblin documentation build configuration file, created by # sphinx-quickstart on Thu Apr 7 20:10:27 2011. @@ -42,8 +41,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'GNU MediaGoblin' -copyright = u'2011, 2012 GNU MediaGoblin contributors' +project = 'GNU MediaGoblin' +copyright = '2011, 2012 GNU MediaGoblin contributors' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -186,8 +185,8 @@ htmlhelp_basename = 'GNUMediaGoblindoc' # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'GNUMediaGoblin.tex', u'GNU MediaGoblin Documentation', - u'Chris Webber, et al', 'manual'), + ('index', 'GNUMediaGoblin.tex', 'GNU MediaGoblin Documentation', + 'Chris Webber, et al', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -219,8 +218,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'mediagoblin', u'GNU MediaGoblin Documentation', - [u'Chris Webber, et al'], 1) + ('index', 'mediagoblin', 'GNU MediaGoblin Documentation', + ['Chris Webber, et al'], 1) ] # If true, show URL addresses after external links. @@ -233,7 +232,7 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'mediagoblin', u'GNU MediaGoblin Documentation', u'mediagoblin', + ('index', 'mediagoblin', 'GNU MediaGoblin Documentation', 'mediagoblin', 'GNU MediaGoblin', 'Media sharing web application.', 'Miscellaneous'), ] |