sphinx/tests/root/markup.txt

106 lines
1.5 KiB
Plaintext
Raw Normal View History

:tocdepth: 2
Testing various markup
======================
.. sectionauthor:: Georg Brandl
.. contents:: TOC
Admonitions
-----------
.. note:: Note
Note text.
.. warning:: Warning
Warning text.
.. tip::
Tip text.
Tables
------
.. tabularcolumns:: |L|p{5cm}|R|
+----+----------------+----+
| 1 | * Block elems | x |
| | * In table | |
+----+----------------+----+
| 2 | Empty cells: | |
+----+----------------+----+
Version markup
--------------
.. versionadded:: 0.5
Some funny **stuff**.
.. versionchanged:: 0.5
Even more funny stuff.
.. deprecated:: 0.4
Boring stuff.
Misc stuff
----------
Stuff [#]_
.. seealso::
`Google <http://www.google.com>`_
For everything.
.. rubric:: Side note
This is a side note.
2008-10-16 15:41:05 -05:00
This tests :CLASS:`role names in uppercase`.
.. centered:: LICENSE AGREEMENT
.. acks::
* Terry Pratchett
* J. R. R. Tolkien
* Monty Python
.. glossary::
boson
Particle with integer spin.
fermion
Particle with half-integer spin.
.. productionlist::
try_stmt: try1_stmt | try2_stmt
try1_stmt: "try" ":" `suite`
: ("except" [`expression` ["," `target`]] ":" `suite`)+
: ["else" ":" `suite`]
: ["finally" ":" `suite`]
try2_stmt: "try" ":" `suite`
: "finally" ":" `suite`
Index markup
------------
.. index::
single: entry
pair: entry; pair
triple: index; entry; triple
.. rubric:: Footnotes
.. [#] Like footnotes.