Skip to content

Commit ef4fec1

Browse files
committed
fix API docs
1 parent 6c09a86 commit ef4fec1

File tree

3 files changed

+88
-1
lines changed

3 files changed

+88
-1
lines changed

docs/source/_exts/autogen_api_docs.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ def generate_api_docs():
2929
"private.misc": [PRIVATE_MISC_TITLE],
3030
}
3131

32-
for file in sorted(PACKAGE_SRC.glob("[!node_modules]/**/*.py")):
32+
for file in sorted(PACKAGE_SRC.glob("**/*.py")):
33+
if "node_modules" in file.parts:
34+
# don't look in javascript source
35+
continue
3336
if file.stem.startswith("__"):
3437
# skip __init__ and __main__
3538
continue

docs/source/auto/api-reference.rst

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,77 @@
11
API Reference
22
=============
3+
4+
.. automodule:: idom.client.manage
5+
:members:
6+
7+
.. automodule:: idom.client.module
8+
:members:
9+
10+
.. automodule:: idom.config
11+
:members:
12+
13+
.. automodule:: idom.core.component
14+
:members:
15+
16+
.. automodule:: idom.core.dispatcher
17+
:members:
18+
19+
.. automodule:: idom.core.events
20+
:members:
21+
22+
.. automodule:: idom.core.hooks
23+
:members:
24+
25+
.. automodule:: idom.core.layout
26+
:members:
27+
28+
.. automodule:: idom.core.vdom
29+
:members:
30+
31+
.. automodule:: idom.dialect
32+
:members:
33+
34+
.. automodule:: idom.log
35+
:members:
36+
37+
.. automodule:: idom.server.fastapi
38+
:members:
39+
40+
.. automodule:: idom.server.flask
41+
:members:
42+
43+
.. automodule:: idom.server.prefab
44+
:members:
45+
46+
.. automodule:: idom.server.sanic
47+
:members:
48+
49+
.. automodule:: idom.server.tornado
50+
:members:
51+
52+
.. automodule:: idom.testing
53+
:members:
54+
55+
.. automodule:: idom.utils
56+
:members:
57+
58+
.. automodule:: idom.widgets.html
59+
:members:
60+
61+
.. automodule:: idom.widgets.utils
62+
:members:
63+
64+
Misc Modules
65+
------------
66+
67+
.. automodule:: idom.cli
68+
:members:
69+
70+
.. automodule:: idom.core.utils
71+
:members:
72+
73+
.. automodule:: idom.server.proto
74+
:members:
75+
76+
.. automodule:: idom.server.utils
77+
:members:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
Developer APIs
22
==============
3+
4+
.. automodule:: idom._option
5+
:members:
6+
7+
Misc Dev Modules
8+
----------------
9+
10+
.. automodule:: idom.client._private
11+
:members:

0 commit comments

Comments
 (0)