diff --git a/source/conf.py b/source/conf.py index 48bfbfb..aa389e0 100644 --- a/source/conf.py +++ b/source/conf.py @@ -16,7 +16,7 @@ # 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('exts')) +sys.path.append(os.path.abspath('exts/toggle')) # -- General configuration ----------------------------------------------------- @@ -25,7 +25,7 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'toggle'] +extensions = ['sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'ToggleDirective'] todo_include_todos=True # Add any paths that contain templates here, relative to this directory.