Hi,

I am trying to do some reorganization of the examples in the gallery by moving the files into other directories.

I am using ack to look for references from other parts of the documentation to those example files and have successfully caught most of them.

But now I am trying to move legend_demo.py from the api subdirectory of examples, and when I compile the API docs, it says that it can't find the file (error output below).
However, there does not seem to be anywhere that actually references that file...

Can anybody suggest what is going on?

Thanks, 
David.

reading sources... [  0%] api/axes_api
Exception occurred:
  File "/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-macosx-10.9-x86_64.egg/matplotlib/sphinxext/plot_directive.py", line 718, in run
    with io.open(source_file_name, 'r', encoding='utf-8') as fd:
IOError: [Errno 2] No such file or directory: '/Users/david/development/matplotlib/doc/mpl_examples/api/legend_demo.py'



--
Dr. David P. Sanders

Profesor Titular "A" / Associate Professor
Departamento de Física, Facultad de Ciencias
Universidad Nacional Autónoma de México (UNAM)

dpsanders@ciencias.unam.mx
http://sistemas.fciencias.unam.mx/~dsanders

Cubículo / office: #414, 4o. piso del Depto. de Física                           
Tel.: +52 55 5622 4965