summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorMika Mäenpää <mika.j.maenpaa@tut.fi>2014-12-09 12:18:23 +0200
committerMika Mäenpää <mika.j.maenpaa@tut.fi>2014-12-09 12:18:23 +0200
commitf22bfbda178b19179b85a31bce46702e3f497427 (patch)
tree6ca5668100078326d889a539e3aa4f1d29e4542a /docs/conf.py
parent3005b3dabf1f4b51ba47f6ce4620a506641ccf43 (diff)
downloadgitlab-f22bfbda178b19179b85a31bce46702e3f497427.tar.gz
Make sphinx-configuration work with python2
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 4db950d..d7940c1 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,6 +13,8 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
+from __future__ import unicode_literals
+
import sys
import os
import sphinx
@@ -24,8 +26,6 @@ if sphinx.version_info < (1,3,):
else:
napoleon_version = "sphinx.ext.napoleon"
-print(napoleon_version)
-
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.