Debian Codegraph @

t/markups/rest.txt

raw
1 =====================
2 I am a reST document
3 =====================
4 And I am its subtitle
5 =====================
6
7 Rest__ allows *inline* **style** and other stuff,
8 but I guess this ``code`` is enough.
9
10 .. __: https://docutils.sourceforge.io
11
12 .. unknown:: arg1 arg2
13 :option: foo
14
15 We also support unknown directive, so that no content is lost if reST
16 specialization is parsed.
17
18 Of course we may also find :unknown:`new roles`.
19
20 .. module:: mymodule
21
22 This is a module that doesn't *exist*
23
24 .. function:: foo()
25
26 In Sphinx documentation you could find this stuff.
27
28 .. toctree::
29
30 we
31 dont
32 care
33
34 .. code-block:: python
35
36 print "I have no title"
37