Guide to editing¶
Links¶
to make an external link just type it http://www.ddialliance.org
For a link a text
`Link text <http://example.com/>`_
To reference a section anywhere in the documentation e.g. Question
:ref:`Question`
Code¶
To highlight some sourcecode
.. code-block:: xml
<some-xml></some-xml>
results in
<some-xml></some-xml>
Headings¶
Headings are created by adding by adding underlining characters
This is a section heading
==========================
- # with overline, for parts
- * with overline, for chapters
- =, for sections
- -, for subsections
- ^, for subsubsections
- “, for paragraphs
Lists¶
To do a list
* This is a bulleted list.
* This is item two
* this is a sub item
1. This is a numbered list.
2. It has two items too.
Results in
- This is a bulleted list.
- This is item two
- this is a sub item
- This is a numbered list.
- It has two items too.
Table¶
To do a table
===== ===== =======
Col 1 Col 2 Note
===== ===== =======
1 False cats
2 False dogs
3 True frame
4 True from
===== ===== =======
Col 1 | Col 2 | Note |
---|---|---|
1 | False | cats |
2 | False | dogs |
3 | True | frame |
4 | True | from |
Glossary¶
To do a simple definition list
.. glossary::
cats
miau is the sound of the cat.
dogs
voff is the sound of the dog.
Results in
- cats
- miau is the sound of the cat.
- dogs
- voff is the sound of the dog.
For the documentation we should have a single glossary se Glossary
The we can make glossary links by writing
:term:`xml`
and get xml
Notes¶
To add a note, warning etc.
.. note::
Above is the basics of reStructuredText.
For a complete guide visit
`Sphinx-doc <http://sphinx-doc.org/contents.html>`_ .
To get
Note
Above is the basics of reStructuredText. For a complete guide visit Sphinx-doc .