File: test.rst

package info (click to toggle)
pykml 0.2.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 920 kB
  • sloc: python: 3,919; makefile: 108; sh: 8
file content (36 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (2)
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
.. _test: 


Test 1
=================

Some documentation text.

.. doctest:: test1

   >>> print 1
   1

Some more documentation text.


Highlighting
------------

.. highlight:: python
   :linenothreshold: 5

.. doctest:: test2

    >>> 1 + 1
    2
    >>> 1 + 1
    2
    >>> 1 + 1
    2


Include external file
----------------------

.. literalinclude:: examples/test_external_example.py