Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d6eb7f

Browse files
committed
added faq placeholder
svn path=/trunk/matplotlib/; revision=5269
1 parent 4838c6c commit 2d6eb7f

5 files changed

Lines changed: 36 additions & 4 deletions

File tree

doc/faq/index.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.. _api-index:
2+
3+
####################
4+
The Matplotlib FAQ
5+
####################
6+
7+
:Release: |version|
8+
:Date: |today|
9+
10+
Frequently asked questions about matplotlib
11+
12+
.. toctree::
13+
14+
installing_faq.rst
15+
plotting_faq.rst
16+

doc/faq/installing_faq.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
****************
2+
Installation FAQ
3+
****************
4+
5+
6+
7+

doc/faq/plotting_faq.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
************
2+
Plotting FAQ
3+
************
4+
5+

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Contents:
1111
:maxdepth: 2
1212

1313
users/index.rst
14+
faq/index.rst
1415
devel/index.rst
1516
api/index.rst
1617

doc/make.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys
77

88
def check_build():
9-
build_dirs = ['build', 'build/doctrees', 'build/html', 'build/latex',
9+
build_dirs = ['build', 'build/doctrees', 'build/html', 'build/latex',
1010
'_static', '_templates']
1111
for d in build_dirs:
1212
try:
@@ -19,23 +19,26 @@ def figs():
1919

2020
def html():
2121
check_build()
22+
figs()
2223
os.system('sphinx-build -b html -d build/doctrees . build/html')
2324

2425
def latex():
26+
check_build()
27+
figs()
2528
if sys.platform != 'win32':
2629
# LaTeX format.
2730
os.system('sphinx-build -b latex -d build/doctrees . build/latex')
28-
31+
2932
# Produce pdf.
3033
os.chdir('build/latex')
31-
34+
3235
# Copying the makefile produced by sphinx...
3336
os.system('pdflatex Matplotlib.tex')
3437
os.system('pdflatex Matplotlib.tex')
3538
os.system('makeindex -s python.ist Matplotlib.idx')
3639
os.system('makeindex -s python.ist modMatplotlib.idx')
3740
os.system('pdflatex Matplotlib.tex')
38-
41+
3942
os.chdir('../..')
4043
else:
4144
print 'latex build has not been tested on windows'

0 commit comments

Comments
 (0)