-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from stealthrocket/mkdocs
API reference docs
- Loading branch information
Showing
6 changed files
with
114 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- mkdocs | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
cache: pip | ||
python-version: '3.11' | ||
- run: make docs-deps | ||
|
||
- name: Configure the git user | ||
run: | | ||
git config user.name "Stealth Rocket" | ||
git config user.email "[email protected]" | ||
- name: Build main branch | ||
if: ${{ github.ref_name == 'main' }} | ||
run: | | ||
mike deploy --push main | ||
- name: Build tagged version | ||
if: ${{ github.ref_name != 'main' }} | ||
run: | | ||
mike deploy --push --update-aliases ${{ github.ref_name }} latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
hide: | ||
- navigation | ||
--- | ||
|
||
# Dispatch Python SDK | ||
|
||
This is the API reference for the Python SDK of Dispatch. | ||
|
||
- Tutorials and guides: [docs.stealthrocket.tech][docs]. | ||
- Source: [stealthrocket/dispatch-sdk][github]. | ||
|
||
|
||
[docs]: https://docs.stealthrocket.tech | ||
[github]: https://github.com/stealthrocket/dispatch-sdk | ||
|
||
## API Reference | ||
|
||
--- | ||
|
||
::: dispatch | ||
options: | ||
show_submodules: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
site_name: Dispatch SDK | ||
|
||
theme: | ||
name: "material" | ||
palette: | ||
- media: "(prefers-color-scheme)" | ||
toggle: | ||
icon: material/brightness-auto | ||
name: Switch mode based on system preference | ||
- media: "(prefers-color-scheme: light)" | ||
scheme: default | ||
toggle: | ||
icon: material/brightness-7 | ||
name: Switch to dark mode | ||
- media: "(prefers-color-scheme: dark)" | ||
scheme: slate | ||
toggle: | ||
icon: material/brightness-4 | ||
name: Switch to light mode | ||
|
||
plugins: | ||
- search | ||
- mkdocstrings | ||
- mike | ||
|
||
extra: | ||
version: | ||
provider: mike |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters