File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
# RTD is currently installing 1.5.3, which has a bug in :lineno-match:
2
- sphinx >= 1.6.1
2
+ sphinx >= 1.7.0
3
3
sphinx_rtd_theme
4
4
sphinxcontrib-trio
Original file line number Diff line number Diff line change 28
28
nitpick_ignore = [
29
29
# Format is ("sphinx reference type", "string"), e.g.:
30
30
("py:obj" , "bytes-like" ),
31
+ ("py:class" , "trio_gpio.gpio.Chip" ),
32
+ ("py:class" , "trio_gpio.gpio.Line" ),
31
33
]
32
34
35
+ autodoc_inherit_docstrings = False
36
+
33
37
# -- General configuration ------------------------------------------------
34
38
35
39
# If your documentation needs a minimal Sphinx version, state it here.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ assuming there's more than one.
28
28
The ``consumer `` argument is optional. It describes your code to the kernel, so that
29
29
a program which enumerates GPIO users can display who currently uses the pin in question.
30
30
31
- .. autofunction :: open_chip
31
+ .. autofunction :: trio_gpio. open_chip
32
32
33
33
Referring to a line
34
34
-------------------
Original file line number Diff line number Diff line change 2
2
3
3
import sys
4
4
5
- from ._version import __version__
5
+ from ._version import __version__ # noqa
6
6
7
7
from .gpio import Chip
8
- from .libgpiod import *
8
+ from .libgpiod import * # noqa
9
9
10
10
def open_chip (num = 0 , consumer = sys .argv [0 ]):
11
11
"""Returns an object representing a GPIO chip.
You can’t perform that action at this time.
0 commit comments