Skip to content

Commit 683a3e1

Browse files
committed
Generate docs based on comments in code
1 parent 84e1271 commit 683a3e1

File tree

120 files changed

+2686
-3184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+2686
-3184
lines changed

docs/source/_static/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,11 @@ footer {
2828
display: none;
2929
}
3030
}
31+
32+
.sig-object {
33+
width: 100%;
34+
}
35+
36+
.attribute, .method, .class dd>p:first-of-type, .class dd dl.field-list.simple {
37+
display: none;
38+
}

docs/source/conf.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1+
import os
2+
import sys
3+
14
project = "flask-inputfilter"
25
copyright = "2025, Leander Cain Slotosch"
36
author = "Leander Cain Slotosch"
47

5-
extensions = ["sphinx_rtd_theme", "sphinx_design"]
8+
extensions = [
9+
"sphinx_rtd_theme",
10+
"sphinx_design",
11+
"sphinx.ext.autodoc",
12+
"sphinx.ext.napoleon",
13+
]
14+
15+
autodoc_member_order = "bysource"
16+
autodoc_typehints = "description"
17+
autoclass_content = "both"
18+
19+
sys.path.insert(0, os.path.abspath("../.."))
620

721
templates_path = []
822
exclude_patterns = []

0 commit comments

Comments
 (0)