Skip to content

Commit

Permalink
first addition of tutorials folder
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Apr 27, 2017
1 parent 8149536 commit a0afff3
Show file tree
Hide file tree
Showing 5 changed files with 364 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
################
# setup.py working directory
build
# sphinx build directory
doc/_build
doc/gallery

# setup.py dist directory
dist
# Egg metadata
Expand All @@ -58,9 +56,13 @@ lib/matplotlib/mpl-data/matplotlibrc

# Documentation generated files #
#################################
# sphinx build directory
doc/_build
doc/api/_as_gen
doc/examples
# autogenerated by sphinx-gallery
doc/examples
doc/gallery
doc/tutorials
doc/modules
doc/pyplots/tex_demo.png
doc/users/installing.rst
Expand Down
1 change: 1 addition & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ <h3>{{ _('Navigation') }}</h3>

<li><a href="{{ pathto('index') }}">home</a>|&nbsp;</li>
<li><a href="{{ pathto('gallery/index') }}">examples</a>|&nbsp;</li>
<li><a href="{{ pathto('tutorials/index') }}">tutorials</a>|&nbsp;</li>
<li><a href="{{ pathto('api/pyplot_summary') }}">pyplot</a>|&nbsp;</li>
<li><a href="{{ pathto('contents') }}">docs</a> &raquo;</li>

Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@

# Sphinx gallery configuration
sphinx_gallery_conf = {
'examples_dirs': '../examples',
'examples_dirs': ['../examples', '../tutorials'],
'filename_pattern': '^((?!sgskip).)*$',
'gallery_dirs': 'gallery',
'gallery_dirs': ['gallery', 'tutorials'],
'doc_module': ('matplotlib',),
'reference_url': {'matplotlib': None,
'numpy': 'http://docs.scipy.org/doc/numpy/reference',
Expand Down
8 changes: 8 additions & 0 deletions tutorials/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. _tutorials:

Tutorials
=========

These tutorials cover the basics of creating visualizations with
Matplotlib, as well as some best-practices in using the package
effectively.
Loading

0 comments on commit a0afff3

Please sign in to comment.