summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2016-07-06 17:51:32 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2016-07-06 17:51:32 +0100
commit35019b87f2f12e3684870040810fa87bc2991a10 (patch)
tree142dcd6b825627495f4fc9734cac1044d2ee5b47 /doc/conf.py
parent81a0c24f4e6cc3ec0c6ecfd72d0fe3f7e709194d (diff)
downloadpylint-git-35019b87f2f12e3684870040810fa87bc2991a10.tar.gz
Add a Sphinx hook for generating the features file of Pylint's documentation
Currently we can generate this locally using the makefiles, but, unfortunately, on ReadThedocs we are running only sphinx-build, which means that we have no pre-generated features.rst file before actually building the documentation. This commit just adds one, which does the same thing as the makefiles.
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 8ea88a471..38bb95ce2 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -16,7 +16,7 @@ import sys, os
# 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.
-#sys.path.insert(0, os.path.abspath('.'))
+sys.path.append(os.path.abspath('exts'))
# -- General configuration -----------------------------------------------------
@@ -25,7 +25,7 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = []
+extensions = ['pylint_features']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']