Guide to editing

Strong

To mark something as bold text

**bold text**

Italic

To mark something as italic text

*italic text*

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

Images

To link a image

.. image:: ddi-logo-mini.png
../_images/ddi-logo-mini.png

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
  1. This is a numbered list.
  2. 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 .