Skip to content

Commit 4dd11f8

Browse files
committed
Add Main guard for docs
1 parent bdd5037 commit 4dd11f8

6 files changed

Lines changed: 94 additions & 2 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
TryNiceGUI.home\_page
2+
=====================
3+
4+
.. automodule:: TryNiceGUI.home_page
5+
6+
7+
8+
9+
10+
11+
12+
.. rubric:: Functions
13+
14+
.. autosummary::
15+
16+
content
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+

docs/source/generated/TryNiceGUI.main.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ TryNiceGUI.main
1313

1414
.. autosummary::
1515

16-
add_one
16+
populate_ui
17+
run
1718

1819

1920

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
TryNiceGUI.menu
2+
===============
3+
4+
.. automodule:: TryNiceGUI.menu
5+
6+
7+
8+
9+
10+
11+
12+
.. rubric:: Functions
13+
14+
.. autosummary::
15+
16+
menu
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+

docs/source/generated/TryNiceGUI.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@
2828
:recursive:
2929

3030
TryNiceGUI.cli
31+
TryNiceGUI.home_page
3132
TryNiceGUI.main
33+
TryNiceGUI.menu
34+
TryNiceGUI.theme
3235

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
TryNiceGUI.theme
2+
================
3+
4+
.. automodule:: TryNiceGUI.theme
5+
6+
7+
8+
9+
10+
11+
12+
.. rubric:: Functions
13+
14+
.. autosummary::
15+
16+
frame
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+

src/TryNiceGUI/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
from .main import run
44

5-
run()
5+
if __name__ == '__main__':
6+
run()

0 commit comments

Comments
 (0)