Skip to content

Commit 147f80b

Browse files
Update docs with docstring API
1 parent 6c35528 commit 147f80b

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ instance/
6565

6666
# Sphinx documentation
6767
docs/_build/
68+
docs/source/dev/generated/
6869

6970
# PyBuilder
7071
target/

docs/source/conf.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88

99
project = 'checksit'
10-
copyright = '2024, Ag Stephens, Hugo Ricketts, Joshua Hampton'
10+
copyright = '2025, Ag Stephens, Hugo Ricketts, Joshua Hampton'
1111
author = 'Ag Stephens, Hugo Ricketts, Joshua Hampton'
1212
release = '0.1'
1313

@@ -16,8 +16,17 @@
1616

1717
extensions = [
1818
"sphinx_rtd_theme",
19+
"sphinx.ext.autodoc",
20+
"sphinx.ext.napoleon",
21+
"sphinx.ext.viewcode",
22+
"sphinx.ext.autosummary",
1923
]
2024

25+
autodoc_default_options = {
26+
"members": True,
27+
"member-order": "groupwise",
28+
}
29+
2130
templates_path = ['_templates']
2231
exclude_patterns = []
2332

docs/source/dev/api.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
API
2+
===
3+
4+
5+
.. autosummary::
6+
:toctree: generated
7+
:recursive:
8+
9+
checksit.check
10+
checksit.cli
11+
checksit.cvs
12+
checksit.generic
13+
checksit.readers
14+
checksit.rules
15+
checksit.specs
16+
checksit.summary
17+
checksit.utils

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Other options include specifying the particular checks to run or to compare with
2828
dev/templates
2929
dev/vocabs
3030
dev/ncas_standard_specifics
31+
dev/api
3132

3233
.. toctree::
3334
:caption: Links

0 commit comments

Comments
 (0)