Skip to content

Commit

Permalink
configure sphinx-gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
pdebuyl committed Jul 22, 2017
1 parent 864016a commit 073f0e5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/conf.py
Expand Up @@ -30,7 +30,15 @@
# 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 = ['sphinx_gallery.gen_gallery',
]

sphinx_gallery_conf = {
# path to your examples scripts
'examples_dirs' : '../example_gallery',
# path where to save gallery generated examples
'gallery_dirs' : 'auto_examples',
}

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down

0 comments on commit 073f0e5

Please sign in to comment.