File tree Expand file tree Collapse file tree 9 files changed +609
-2
lines changed
Expand file tree Collapse file tree 9 files changed +609
-2
lines changed Original file line number Diff line number Diff line change 2323 run : scripts/lint
2424 - name : Test
2525 run : uv run pytest
26+ - name : Docs
27+ run : uv run mkdocs build --strict
28+ - uses : actions/upload-pages-artifact@v3
29+ with :
30+ path : site/
31+ docs :
32+ name : Deploy docs
33+ runs-on : ubuntu-latest
34+ if : github.ref == 'refs/heads/main'
35+ environment :
36+ name : github-pages
37+ url : ${{ steps.deploy.outputs.page_url }}
38+ needs : ci
39+ steps :
40+ - id : deploy
41+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ ../README.md
Original file line number Diff line number Diff line change 1+ # API
2+
3+ ::: stapi_pydantic
Original file line number Diff line number Diff line change 1+ # stapi-pydantic
2+
3+ [ Pydantic] ( https://docs.pydantic.dev ) models for the [ Satellite Tasking API (STAPI)] ( https://github.com/stapi-spec/ ) specification.
4+
5+ !!! note
6+
7+ This repository intentionally has no input/output (IO) functionality.
8+ For making requests to a STAPI API, use **pystapi-client**.
Original file line number Diff line number Diff line change 1+ site_name : pystapi
2+ site_url : https://stapi-spec.github.io/pystapi
3+ repo_url : https://github.com/stapi-spec/pystapi/
4+ repo_name : pystapi
5+ theme :
6+ name : material
7+ logo : img/stapi.png
8+ favicon : img/stapi.png
9+ features :
10+ - navigation.indexes
11+
12+ nav :
13+ - index.md
14+ - stapi-pydantic :
15+ - stapi-pydantic/index.md
16+ - stapi-pydantic/api.md
17+
18+ plugins :
19+ - mkdocstrings :
20+ default_handler : python
21+ handlers :
22+ python :
23+ options :
24+ show_if_no_docstring : true
25+ show_submodules : true
26+ inventories :
27+ - https://docs.python.org/3/objects.inv
28+ - https://docs.pydantic.dev/latest/objects.inv
29+
30+ markdown_extensions :
31+ - admonition
32+ - pymdownx.superfences :
33+ custom_fences :
34+ - name : mermaid
35+ class : mermaid
36+ format : !!python/name:pymdownx.superfences.fence_code_format
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ description = "Monorepo for Satellite Tasking API (STAPI) Specification Python p
55readme = " README.md"
66requires-python = " >=3.10"
77dependencies = [
8- " stapi-pydantic"
8+ " mkdocstrings-python>=1.16.8" ,
9+ " stapi-pydantic" ,
910]
1011
1112[dependency-groups ]
@@ -14,6 +15,12 @@ dev = [
1415 " pytest>=8.3.5" ,
1516 " ruff>=0.11.2" ,
1617]
18+ docs = [
19+ " mkdocs-material>=9.6.11" ,
20+ ]
21+
22+ [tool .uv ]
23+ default-groups = [" dev" , " docs" ]
1724
1825[tool .uv .workspace ]
1926members = [" stapi-pydantic" ]
Original file line number Diff line number Diff line change 11# stapi-pydantic
2+
3+ [ Pydantic] ( https://docs.pydantic.dev ) models for the [ Satellite Tasking API (STAPI)] ( https://github.com/stapi-spec/ ) specification.
4+
5+ > [ !NOTE]
6+ > This repository intentionally has no input/output (IO) functionality.
7+ > For making requests to a STAPI API, use ** pystapi-client** .
You can’t perform that action at this time.
0 commit comments