Revision: 6183 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6183&view=rev Author: jdh2358 Date: 2008年10月14日 13:19:31 +0000 (2008年10月14日) Log Message: ----------- point to new sf web server Modified Paths: -------------- trunk/matplotlib/doc/make.py Modified: trunk/matplotlib/doc/make.py =================================================================== --- trunk/matplotlib/doc/make.py 2008年10月13日 19:16:58 UTC (rev 6182) +++ trunk/matplotlib/doc/make.py 2008年10月14日 13:19:31 UTC (rev 6183) @@ -16,11 +16,11 @@ def sf(): 'push a copy to the sf site' - os.system('cd build; rsync -avz html jd...@ma...:/home/groups/m/ma/matplotlib/htdocs/doc/ -essh') + os.system('cd build; rsync -avz html jd...@we...:/home/groups/m/ma/matplotlib/htdocs/doc/ -essh') def sfpdf(): 'push a copy to the sf site' - os.system('cd build/latex; scp Matplotlib.pdf jd...@ma...:/home/groups/m/ma/matplotlib/htdocs/doc/') + os.system('cd build/latex; scp Matplotlib.pdf jd...@we...:/home/groups/m/ma/matplotlib/htdocs/doc/') def figs(): os.system('cd users/figures/ && python make.py') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 6655 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6655&view=rev Author: dsdale Date: 2008年12月17日 21:48:26 +0000 (2008年12月17日) Log Message: ----------- fixed a bug in doc/make.py, small_docs was not defined when make.py was run without options Modified Paths: -------------- trunk/matplotlib/doc/make.py Modified: trunk/matplotlib/doc/make.py =================================================================== --- trunk/matplotlib/doc/make.py 2008年12月17日 21:15:30 UTC (rev 6654) +++ trunk/matplotlib/doc/make.py 2008年12月17日 21:48:26 UTC (rev 6655) @@ -95,12 +95,12 @@ } +small_docs = False + if len(sys.argv)>1: if '--small' in sys.argv[1:]: small_docs = True sys.argv.remove('--small') - else: - small_docs = False for arg in sys.argv[1:]: func = funcd.get(arg) if func is None: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 6747 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6747&view=rev Author: mdboom Date: 2009年01月06日 19:26:31 +0000 (2009年1月06日) Log Message: ----------- Remove examples as a stage in make.py, since it is now integrated into the build as an event-triggered plugin. Modified Paths: -------------- trunk/matplotlib/doc/make.py Modified: trunk/matplotlib/doc/make.py =================================================================== --- trunk/matplotlib/doc/make.py 2009年01月06日 19:22:09 UTC (rev 6746) +++ trunk/matplotlib/doc/make.py 2009年01月06日 19:26:31 UTC (rev 6747) @@ -26,12 +26,6 @@ def figs(): os.system('cd users/figures/ && python make.py') -def examples(): - 'make the rest examples' - - os.system('cd examples; svn-clean; python gen_rst.py') - #pass - def html(): check_build() shutil.copy('../lib/matplotlib/mpl-data/matplotlibrc', '_static/matplotlibrc') @@ -75,7 +69,6 @@ def all(): #figs() - examples() html() latex() @@ -87,7 +80,6 @@ 'clean' : clean, 'sf' : sf, 'sfpdf' : sfpdf, - 'examples' : examples, 'all' : all, } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 7815 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7815&view=rev Author: mdboom Date: 2009年09月22日 14:21:24 +0000 (2009年9月22日) Log Message: ----------- Fix small build Modified Paths: -------------- trunk/matplotlib/doc/make.py Modified: trunk/matplotlib/doc/make.py =================================================================== --- trunk/matplotlib/doc/make.py 2009年09月21日 23:02:27 UTC (rev 7814) +++ trunk/matplotlib/doc/make.py 2009年09月22日 14:21:24 UTC (rev 7815) @@ -30,7 +30,7 @@ check_build() shutil.copy('../lib/matplotlib/mpl-data/matplotlibrc', '_static/matplotlibrc') if small_docs: - options = "-D plot_formats=\"['png']\"" + options = "-D plot_formats=\"[('png', 80)]\"" else: options = '' if os.system('sphinx-build %s -P -b html -d build/doctrees . build/html' % options): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8477 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8477&view=rev Author: astraw Date: 2010年06月29日 21:44:19 +0000 (2010年6月29日) Log Message: ----------- docs: build with makefile produced by Sphinx Modified Paths: -------------- trunk/matplotlib/doc/make.py Modified: trunk/matplotlib/doc/make.py =================================================================== --- trunk/matplotlib/doc/make.py 2010年06月29日 13:30:09 UTC (rev 8476) +++ trunk/matplotlib/doc/make.py 2010年06月29日 21:44:19 UTC (rev 8477) @@ -52,12 +52,8 @@ # Produce pdf. os.chdir('build/latex') - # Copying the makefile produced by sphinx... - if (os.system('pdflatex Matplotlib.tex') or - os.system('pdflatex Matplotlib.tex') or - os.system('makeindex -s python.ist Matplotlib.idx') or - os.system('makeindex -s python.ist modMatplotlib.idx') or - os.system('pdflatex Matplotlib.tex')): + # Call the makefile produced by sphinx... + if os.system('make'): raise SystemExit("Rendering LaTeX failed.") os.chdir('../..') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8481 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8481&view=rev Author: astraw Date: 2010年07月01日 18:24:00 +0000 (2010年7月01日) Log Message: ----------- don't fail in directories are missing Modified Paths: -------------- trunk/matplotlib/doc/make.py Modified: trunk/matplotlib/doc/make.py =================================================================== --- trunk/matplotlib/doc/make.py 2010年06月30日 21:14:31 UTC (rev 8480) +++ trunk/matplotlib/doc/make.py 2010年07月01日 18:24:00 UTC (rev 8481) @@ -61,8 +61,8 @@ print 'latex build has not been tested on windows' def clean(): - shutil.rmtree("build") - shutil.rmtree("examples") + shutil.rmtree("build", ignore_errors=True) + shutil.rmtree("examples", ignore_errors=True) for pattern in ['mpl_examples/api/*.png', 'mpl_examples/pylab_examples/*.png', 'mpl_examples/pylab_examples/*.pdf', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.