I wanted to make a small fix to the contour docstring, and test it before committing, so I tried building the docs from scratch. It fails with the last part of the traceback being:
File "/usr/local/lib/python2.6/dist-packages/matplotlib/sphinxext/plot_directive.py", line 414, in plot_directive
File "/usr/local/lib/python2.6/dist-packages/matplotlib/sphinxext/plot_directive.py", line 337, in _plot_directive
shutil.copyfile(plot_path, os.path.join(destdir, fname))
File "/usr/lib/python2.6/shutil.py", line 52, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: u'/home/efiring/programs/py/mpl/mpl_trunk/doc/mpl_examples/axes_grid/demo_fixed_size_axes.py'
-> fsrc = open(src, 'rb')
I suspect the problem is that doc/examples/axes_grid has many .rst files for .py scripts that are no longer present, at least on my svn checkout. I have a demo_fixed_size_axes.pyc sitting around, but no corresponding .py, again indicating that the .py was removed from svn.
Is there some step I am missing, or is there a need to remove from the svn tree those .rst files that lack corresponding .py?