summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDominic <yobmod@gmail.com>2021-07-19 14:09:22 +0100
committerGitHub <noreply@github.com>2021-07-19 14:09:22 +0100
commit0a812599385d424a48dde80b56b9978777664550 (patch)
tree58bd5e281282d7f04b12ee1f96bc726c4b9e2cd5 /doc
parent970cf539f2642ed299c35f5df0434fc187702d13 (diff)
downloadgitpython-0a812599385d424a48dde80b56b9978777664550.tar.gz
Update conf.py
rmv unicode prefixes - sphinx 4+ wont accept py2 code
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 0ec64179..286058fd 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -14,7 +14,8 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-import sys, os
+import sys
+import os
# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
@@ -50,7 +51,7 @@ copyright = 'Copyright (C) 2008, 2009 Michael Trier and contributors, 2010-2015
# built documents.
#
# The short X.Y version.
-with open(os.path.join(os.path.dirname(__file__),"..", "..", 'VERSION')) as fd:
+with open(os.path.join(os.path.dirname(__file__), "..", "..", 'VERSION')) as fd:
VERSION = fd.readline().strip()
version = VERSION
# The full version, including alpha/beta/rc tags.
@@ -170,8 +171,8 @@ htmlhelp_basename = 'gitpythondoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, document class [howto/manual]).
latex_documents = [
- ('index', 'GitPython.tex', ur'GitPython Documentation',
- ur'Michael Trier', 'manual'),
+ ('index', 'GitPython.tex', r'GitPython Documentation',
+ r'Michael Trier', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of