Skip to content

Commit 197898d

Browse files
committed
autodoc autoconf
1 parent 0576a5f commit 197898d

File tree

3 files changed

+9
-43
lines changed

3 files changed

+9
-43
lines changed

doc/conf.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# TFS-Pandas documentation build configuration file, created by
2+
# Documentation build configuration file, created by
33
# sphinx-quickstart on Tue Feb 6 12:10:18 2018.
44
#
55
# This file is execfile()d with the current directory set to its
@@ -74,10 +74,7 @@ def about_package(init_posixpath: pathlib.Path) -> dict:
7474
# templates_path = ['_templates']
7575

7676
# The suffix(es) of source filenames.
77-
# You can specify multiple suffix as a list of string:
78-
#
79-
# source_suffix = ['.rst', '.md']
80-
source_suffix = ".rst"
77+
source_suffix = {'.rst': 'restructuredtext'}
8178

8279
# The master toctree document.
8380
master_doc = "index"
@@ -242,6 +239,13 @@ def about_package(init_posixpath: pathlib.Path) -> dict:
242239
),
243240
]
244241

242+
# -- Options for Autodoc ----------------------------------------------
243+
244+
autodoc_default_options = {
245+
"members": True,
246+
"no-index": True,
247+
}
248+
245249
# -- Instersphinx Configuration ----------------------------------------------
246250

247251
# Example configuration for intersphinx: refer to the Python standard library.

doc/modules/index.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
.. automodule:: turn_by_turn.constants
2-
:members:
3-
:noindex:
4-
52

63
.. automodule:: turn_by_turn.io
7-
:members:
8-
:noindex:
9-
104

115
.. automodule:: turn_by_turn.structures
12-
:members:
13-
:noindex:
14-
156

167
.. automodule:: turn_by_turn.utils
17-
:members:
18-
:noindex:

doc/readers/index.rst

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,19 @@
11
.. automodule:: turn_by_turn.ascii
2-
:members:
3-
:noindex:
4-
52

63
.. automodule:: turn_by_turn.doros
7-
:members:
8-
:noindex:
9-
104

115
.. automodule:: turn_by_turn.esrf
12-
:members:
13-
:noindex:
14-
156

167
.. automodule:: turn_by_turn.iota
17-
:members:
18-
:noindex:
19-
208

219
.. automodule:: turn_by_turn.lhc
22-
:members:
23-
:noindex:
24-
2510

2611
.. automodule:: turn_by_turn.sps
27-
:members:
28-
:noindex:
29-
3012

3113
.. automodule:: turn_by_turn.ptc
32-
:members:
33-
:noindex:
34-
3514

3615
.. automodule:: turn_by_turn.trackone
37-
:members:
38-
:noindex:
3916

4017
.. automodule:: turn_by_turn.madng
41-
:members:
42-
:noindex:
4318

4419
.. automodule:: turn_by_turn.xtrack_line
45-
:members:
46-
:noindex:

0 commit comments

Comments
 (0)