summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-viewcode/index.rst
blob: e7956e723b7f86d9a223cc08adea6efa4d048e14 (plain)
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
38
39
viewcode
========

.. py:module:: spam

.. autofunction:: func1

.. autofunction:: func2

.. autofunction:: spam.mod1.func1

.. autofunction:: spam.mod2.func2

.. autofunction:: Class1

.. autofunction:: Class2

.. autofunction:: spam.mod1.Class1

.. autofunction:: spam.mod2.Class2


.. literalinclude:: spam/__init__.py
   :language: python
   :pyobject: func1

.. literalinclude:: spam/mod1.py
   :language: python
   :pyobject: func1

.. autoclass:: spam.mod3.Class3
   :members:

.. automodule:: spam.mod3
   :members:

.. toctree::

   objects