@@ -34,11 +34,11 @@ the docstrings of the classes in the Matplotlib library. Except for
3434:file: `doc/api/api_changes/ `, these ``.rst `` files are created when the
3535documentation is built.
3636
37- Similarly, the contents of :file: `docs /gallery ` and :file: `docs /tutorials ` are
37+ Similarly, the contents of :file: `doc /gallery ` and :file: `doc /tutorials ` are
3838generated by the `Sphinx Gallery `_ from the sources in :file: `examples ` and
3939:file: `tutorials `. These sources consist of python scripts that have ReST _
4040documentation built into their comments. Don't directly edit the
41- ``.rst `` files in :file: `docs /gallery ` and :file: `docs /tutorials ` as they are
41+ ``.rst `` files in :file: `doc /gallery ` and :file: `doc /tutorials ` as they are
4242regenerated when the documentation are built.
4343
4444Installing dependencies
@@ -305,7 +305,7 @@ so plots from the examples directory can be included using
305305
306306.. code-block :: rst
307307
308- .. plot:: gallery/pylab_examples /simple_plot.py
308+ .. plot:: gallery/lines_bars_and_markers /simple_plot.py
309309
310310 Note that the python script that generates the plot is referred to, rather than
311311any plot that is created. Sphinx-gallery will provide the correct reference
@@ -631,30 +631,30 @@ Adding figures
631631As above (see :ref: `rst-figures-and-includes `), figures in the examples gallery
632632can be referenced with a `:plot: ` directive pointing to the python script that
633633created the figure. For instance the `~.Axes.legend ` docstring references
634- the file :file: `examples/api /legend.py `:
634+ the file :file: `examples/text_labels_and_annotations /legend.py `:
635635
636636.. code-block :: python
637637
638638 """
639- ...
639+ ...
640640
641641 Examples
642642 --------
643643
644- .. plot:: gallery/api /legend.py
644+ .. plot:: gallery/text_labels_and_annotations /legend.py
645645 """
646646
647- Note that ``examples/api /legend.py `` has been mapped to
648- ``gallery/api /legend.py ``, a redirection that may be fixed in future
649- re-organization of the docs.
647+ Note that ``examples/text_labels_and_annotations /legend.py `` has been mapped to
648+ ``gallery/text_labels_and_annotations /legend.py ``, a redirection that may be
649+ fixed in future re-organization of the docs.
650650
651651Plots can also be directly placed inside docstrings. Details are in
652652:doc: `/devel/plot_directive `. A short example is:
653653
654654.. code-block :: python
655655
656656 """
657- ...
657+ ...
658658
659659 Examples
660660 --------
0 commit comments