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

Skip to content

Commit e63a5e1

Browse files
committed
documentation updates
svn path=/trunk/matplotlib/; revision=5418
1 parent df5aaca commit e63a5e1

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

doc/devel/documenting_mpl.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ working with Sphinx in general. Here are a few additional things to keep in mind
6262
* Mathematical expressions can be rendered as png images in html, and in
6363
the usual way by latex. For example:
6464

65-
``math:`sin(x_n^2)`` yields: :math:`sin(x_n^2)`, and::
65+
``math:`sin(x_n^2)``` yields: :math:`sin(x_n^2)`, and::
6666

67-
.. math::
67+
.. math::
6868

69-
\int_{-\infty}^{\infty}\frac{e^{i\phi}}{1+x^2\frac{e^{i\phi}}{1+x^2}}``
69+
\int_{-\infty}^{\infty}\frac{e^{i\phi}}{1+x^2\frac{e^{i\phi}}{1+x^2}}
7070

7171
yields:
7272

@@ -93,7 +93,7 @@ working with Sphinx in general. Here are a few additional things to keep in mind
9393
Figures
9494
=======
9595

96-
Each guide will have its own figures directory for scripts to generate images
96+
Each guide will have its own `figures/` directory for scripts to generate images
9797
to be included in the dcoumentation. It is not necessary to explicitly save
9898
the figure in the script, a figure will be saved with the same name as the
9999
filename when the documentation is generated.
@@ -111,13 +111,13 @@ Referring to mpl documents
111111
==========================
112112

113113
In the documentation, you may want to include to a document in the
114-
matplotlib src, eg a license file, an image file from `mpl-data`, or an
114+
matplotlib src, e.g. a license file, an image file from `mpl-data`, or an
115115
example. When you include these files, include them using a symbolic
116116
link from the documentation parent directory. This way, if we
117117
relocate the mpl documentation directory, all of the internal pointers
118118
to files will not have to change, just the top level symlinks. For
119119
example, In the top level doc directory we have symlinks pointing to
120-
the mpl ``examples`` and ``mpl-data``::
120+
the mpl `examples` and `mpl-data`::
121121

122122
home:~/mpl/doc2> ls -l mpl_*
123123
mpl_data -> ../lib/matplotlib/mpl-data
@@ -126,7 +126,7 @@ the mpl ``examples`` and ``mpl-data``::
126126

127127
In the `users` subdirectory, if I want to refer to a file in the mpl-data
128128
directory, I use the symlink directory. For example, from
129-
``customizing.rst``::
129+
`customizing.rst`::
130130

131131
.. literalinclude:: ../mpl_data/matplotlibrc
132132

0 commit comments

Comments
 (0)