File: rest.txt

package info (click to toggle)
libtext-markup-perl 0.33-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 324 kB
  • sloc: perl: 870; python: 178; makefile: 7
file content (37 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
=====================
I am a reST document
=====================
And I am its subtitle
=====================

Rest__ allows *inline* **style** and other stuff,
but I guess this ``code`` is enough.

.. __: https://docutils.sourceforge.io

.. unknown:: arg1 arg2
    :option: foo

    We also support unknown directive, so that no content is lost if reST
    specialization is parsed.

Of course we may also find :unknown:`new roles`.

.. module:: mymodule

    This is a module that doesn't *exist*

    .. function:: foo()

        In Sphinx documentation you could find this stuff.

.. toctree::

    we
    dont
    care

.. code-block:: python

    print "I have no title"