Skip to content

Commit 6ac0b0e

Browse files
committed
refactor docs
1 parent a53bc75 commit 6ac0b0e

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/cicd.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ jobs:
5656
enable-cache: true
5757

5858
- name: Set up Python3
59-
run: uv python install 3
59+
run: uv python install 3.12
6060

61-
- name: Test generating docs
62-
run: make docs
61+
- name: Test docs
62+
run: |
63+
uvx --with-requirements requirements/requirements-docs.txt mkdocs build --strict -f docs/mkdocs.yml
6364
6465
benchmark:
6566
needs: [test]

.github/workflows/deploy_mkdocs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ jobs:
3232
- name: Install dependencies
3333
run: |
3434
uv sync --all-extras
35-
36-
- name: Install dependencies
37-
run: |
3835
uv run pip install -r requirements/requirements-docs.txt
3936
4037
- name: Deploy docs

requirements/requirements-docs.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ mkdocs>=1.4.3
33
mkdocs-jupyter>=0.24.5
44
mkdocs-material[imaging]>=9.5
55
griffe-inherited-docstrings>=1.0.0
6-
mkdocstrings[python]>=0.25.1
6+
mkdocstrings[python]>=0.25.1
7+
8+
-e stac_fastapi/types
9+
-e stac_fastapi/api
10+
-e stac_fastapi/extensions

0 commit comments

Comments
 (0)