File tree Expand file tree Collapse file tree 4 files changed +203
-4
lines changed
Expand file tree Collapse file tree 4 files changed +203
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Deploy static content to Pages
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+
9+ workflow_dispatch :
10+
11+ permissions :
12+ contents : read
13+ pages : write
14+ id-token : write
15+ actions : read
16+
17+ concurrency :
18+ group : " pages"
19+ cancel-in-progress : true
20+
21+ jobs :
22+ deploy :
23+ environment :
24+ name : github-pages
25+ url : ${{ steps.deployment.outputs.page_url }}
26+ runs-on : ubuntu-latest
27+ strategy :
28+ fail-fast : false
29+ steps :
30+ - uses : actions/checkout@v5
31+ - uses : snok/install-poetry@v1.4.1
32+ - name : Install Dependencies
33+ run : poetry install
34+ shell : bash
35+ - run : pdoc ./roborock -o docs/pdoc
36+ - name : Setup Pages
37+ uses : actions/configure-pages@v5
38+ - name : Upload artifact
39+ uses : actions/upload-pages-artifact@v3
40+ with :
41+ # Upload pdoc output
42+ path : ' docs/pdoc/'
43+ - name : Deploy to GitHub Pages
44+ id : deployment
45+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ aioresponses = "^0.7.7"
5151freezegun = " ^1.5.1"
5252pytest-timeout = " ^2.3.1"
5353syrupy = " ^4.9.1"
54+ pdoc = " ^15.0.4"
5455
5556[tool .semantic_release ]
5657branch = " main"
Original file line number Diff line number Diff line change 1- """Roborock API."""
1+ """Roborock API.
2+
3+ .. include:: ../README.md
4+ """
25
36from roborock .b01_containers import *
47from roborock .code_mappings import *
58from roborock .containers import *
69from roborock .exceptions import *
710from roborock .roborock_typing import *
11+
12+ __all__ = [
13+ "web_api" ,
14+ "version_1_apis" ,
15+ "version_a01_apis" ,
16+ "containers" ,
17+ "b01_containers" ,
18+ "const" ,
19+ "cloud_api" ,
20+ "clean_modes" ,
21+ "code_mappings" ,
22+ "roborock_typing" ,
23+ "exceptions" ,
24+
25+ # We'll add new APIs here in the future e.g. devices/
26+ ]
You can’t perform that action at this time.
0 commit comments