Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
haoliu-casia committed Apr 27, 2020
1 parent 1778c26 commit 76f5451
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# 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.insert(0, os.path.abspath('exts'))
sys.path.append(os.path.abspath('exts/toggle'))

# -- General configuration -----------------------------------------------------

Expand All @@ -25,7 +26,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.
Expand Down

0 comments on commit 76f5451

Please sign in to comment.