summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-viewcode-find/index.rst
blob: 7eb416ac3b1e7c95e264e7697309afb4f0286b83 (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
viewcode
========

.. py:module:: not_a_package

.. py:function:: func1(a, b)

   This is func1

.. py:function:: not_a_package.submodule.func1(a, b)

   This is func1

.. py:module:: not_a_package.submodule

.. py:class:: Class1

   This is Class1

.. py:class:: Class3

   This is Class3

.. py:class:: not_a_package.submodule.Class1

   This is Class1

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

.. literalinclude:: not_a_package/submodule.py
   :language: python
   :pyobject: func1

.. py:attribute:: not_a_package.submodule.Class3.class_attr

   This is the class attribute class_attr