Skip to content

Commit 0a81259

Browse files
authored
Update conf.py
rmv unicode prefixes - sphinx 4+ wont accept py2 code
1 parent 970cf53 commit 0a81259

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎doc/source/conf.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
# All configuration values have a default; values that are commented out
1515
# serve to show the default.
1616

17-
import sys, os
17+
import sys
18+
import os
1819

1920
# If your extensions are in another directory, add it here. If the directory
2021
# is relative to the documentation root, use os.path.abspath to make it
@@ -50,7 +51,7 @@
5051
# built documents.
5152
#
5253
# The short X.Y version.
53-
with open(os.path.join(os.path.dirname(__file__),"..", "..", 'VERSION')) as fd:
54+
with open(os.path.join(os.path.dirname(__file__), "..", "..", 'VERSION')) as fd:
5455
VERSION = fd.readline().strip()
5556
version = VERSION
5657
# The full version, including alpha/beta/rc tags.
@@ -170,8 +171,8 @@
170171
# Grouping the document tree into LaTeX files. List of tuples
171172
# (source start file, target name, title, author, document class [howto/manual]).
172173
latex_documents = [
173-
('index', 'GitPython.tex', ur'GitPython Documentation',
174-
ur'Michael Trier', 'manual'),
174+
('index', 'GitPython.tex', r'GitPython Documentation',
175+
r'Michael Trier', 'manual'),
175176
]
176177

177178
# The name of an image file (relative to this directory) to place at the top of

0 commit comments

Comments
 (0)