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 /api-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 'api-docs')
-rw-r--r-- | api-docs/source/conf.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/api-docs/source/conf.py b/api-docs/source/conf.py index da524d28..7f51e6d2 100644 --- a/api-docs/source/conf.py +++ b/api-docs/source/conf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # GNU MediaGoblin documentation build configuration file, created by # sphinx-quickstart on Sun Apr 1 01:11:46 2012. @@ -40,8 +39,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 @@ -183,8 +182,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', 'GNUMediaGoblin.tex', u'GNU MediaGoblin Documentation', - u'See AUTHORS', 'manual'), + ('index', 'GNUMediaGoblin.tex', 'GNU MediaGoblin Documentation', + 'See AUTHORS', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -213,8 +212,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'gnumediagoblin', u'GNU MediaGoblin Documentation', - [u'See AUTHORS'], 1) + ('index', 'gnumediagoblin', 'GNU MediaGoblin Documentation', + ['See AUTHORS'], 1) ] # If true, show URL addresses after external links. @@ -227,8 +226,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'GNUMediaGoblin', u'GNU MediaGoblin Documentation', - u'See AUTHORS', 'GNUMediaGoblin', 'One line description of project.', + ('index', 'GNUMediaGoblin', 'GNU MediaGoblin Documentation', + 'See AUTHORS', 'GNUMediaGoblin', 'One line description of project.', 'Miscellaneous'), ] |