Skip to content

Commit 6d5d449

Browse files
committed
Add documentation
1 parent 65cd286 commit 6d5d449

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ Documentation
2222
install
2323
format
2424
example
25+
validation

doc/validation.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
==============================
2+
Validating NumpyDoc docstrings
3+
==============================
4+
5+
One tool for validating docstrings is to see how an object's dosctring
6+
translates to Restructured Text. Using numpydoc as a command-line tool
7+
facilitates this. For example to see the Restructured Text generated
8+
for ``numpy.ndarray``, use:
9+
10+
.. code-block:: bash
11+
12+
$ python -m numpydoc numpy.ndarray

0 commit comments

Comments
 (0)