You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/writing/documentation.rst
+9-3
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,8 @@ Docstrings
38
38
39
39
PEP 257 is the primary reference for docstrings. (http://www.python.org/dev/peps/pep-0257/)
40
40
41
-
There are two types of docstrings, one-line and multi-line. Their names should be fairly self explanatory.
41
+
There are two types of docstrings, one-line and multi-line. Their names
42
+
should be fairly self explanatory.
42
43
One-line docstrings: ::
43
44
44
45
def kos_root():
@@ -63,7 +64,9 @@ Multi-line docstrings: ::
63
64
Sphinx
64
65
------
65
66
66
-
Sphinx_ is a tool which converts documentation in the :ref:`restructuredtext-ref` markup language into a range of output formats including HTML, LaTeX (for printable PDF versions), manual pages and plain text.
67
+
Sphinx_ is a tool which converts documentation in the :ref:`restructuredtext-ref`
68
+
markup language into a range of output formats including HTML, LaTeX (for
69
+
printable PDF versions), manual pages and plain text.
67
70
68
71
.. note:: This Guide is built with Sphinx_
69
72
@@ -75,7 +78,10 @@ Sphinx_ is a tool which converts documentation in the :ref:`restructuredtext-ref
75
78
reStructuredText
76
79
----------------
77
80
78
-
Most Python documentation is written with reStructuredText_. The `reStructuredText Primer <http://sphinx.pocoo.org/rest.html>`_ and the `reStructuredText Quick Reference <http://docutils.sourceforge.net/docs/user/rst/quickref.html>`_ should help you familiarize yourself with its syntax.
81
+
Most Python documentation is written with reStructuredText_. The
82
+
`reStructuredText Primer <http://sphinx.pocoo.org/rest.html>`_ and the
0 commit comments