Skip to content

Commit

Permalink
Add source_suffix and source_parsers to conf.py (temporarily)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Dec 15, 2015
1 parent 78163b1 commit f6d642d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
'sphinx.ext.mathjax',
]

# *** the following lines are (hopefully) temporary,
# see https://github.com/sphinx-doc/sphinx/issues/2162
import nbsphinx
source_suffix = ['.rst', '.ipynb']
source_parsers = {'ipynb': nbsphinx.NotebookParser}
# *** end of temporary lines

master_doc = 'index'

project = 'Jupyter Notebook Tools for Sphinx'
Expand Down

0 comments on commit f6d642d

Please sign in to comment.