Skip to content

Commit f22bfbd

Browse files
committed
Make sphinx-configuration work with python2
1 parent 3005b3d commit f22bfbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# All configuration values have a default; values that are commented out
1414
# serve to show the default.
1515

16+
from __future__ import unicode_literals
17+
1618
import sys
1719
import os
1820
import sphinx
@@ -24,8 +26,6 @@
2426
else:
2527
napoleon_version = "sphinx.ext.napoleon"
2628

27-
print(napoleon_version)
28-
2929
# If extensions (or modules to document with autodoc) are in another directory,
3030
# add these directories to sys.path here. If the directory is relative to the
3131
# documentation root, use os.path.abspath to make it absolute, like shown here.

0 commit comments

Comments
 (0)