Skip to content

Commit d42fd10

Browse files
committed
Update docs build
1 parent a996864 commit d42fd10

File tree

3 files changed

+7
-52
lines changed

3 files changed

+7
-52
lines changed

.github/workflows/deploy_mkdocs.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
python -m pip install -e \
32-
stac_fastapi/api \
33-
stac_fastapi/types \
34-
stac_fastapi/extensions \
35-
stac_fastapi/sqlalchemy
31+
python -m pip install -e .
3632
python -m pip install mkdocs mkdocs-material pdocs
3733
3834
- name: update API docs

Dockerfile.docs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM python:3.8-slim
22

33
# build-essential is required to build a wheel for ciso8601
4-
RUN apt update && apt install -y build-essential
4+
RUN apt update && apt install -y build-essential git
55

66
RUN python -m pip install --upgrade pip
77
RUN python -m pip install mkdocs mkdocs-material pdocs
@@ -10,11 +10,7 @@ COPY . /opt/src
1010

1111
WORKDIR /opt/src
1212

13-
RUN python -m pip install \
14-
stac_fastapi/api \
15-
stac_fastapi/types \
16-
stac_fastapi/extensions \
17-
stac_fastapi/sqlalchemy
13+
RUN python -m pip install .
1814

1915
CMD ["pdocs", \
2016
"as_markdown", \

mkdocs.yml

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -17,47 +17,10 @@ extra:
1717
nav:
1818
- Home: 'index.md'
1919
- API:
20-
- stac_fastapi.api:
21-
- app: api/stac_fastapi/api/app.md
22-
- config: api/stac_fastapi/api/config.md
23-
- errors: api/stac_fastapi/api/errors.md
24-
- middleware: api/stac_fastapi/api/middleware.md
25-
- models: api/stac_fastapi/api/models.md
26-
- openapi: api/stac_fastapi/api/openapi.md
27-
- routes: api/stac_fastapi/api/routes.md
28-
- stac_fastapi.extensions:
29-
- core:
30-
- context: api/stac_fastapi/extensions/core/context.md
31-
- filter: api/stac_fastapi/extensions/core/filter/filter.md
32-
- fields: api/stac_fastapi/extensions/core/fields/fields.md
33-
- query: api/stac_fastapi/extensions/core/query/query.md
34-
- sort: api/stac_fastapi/extensions/core/sort/sort.md
35-
- transaction: api/stac_fastapi/extensions/core/transaction.md
36-
- pagination: api/stac_fastapi/extensions/core/pagination/pagination.md
37-
- third_party:
38-
- bulk_transactions: api/stac_fastapi/extensions/third_party/bulk_transactions.md
39-
- stac_fastapi.server:
40-
- app: api/stac_fastapi/server/app.md
41-
- stac_fastapi.sqlalchemy:
42-
- models:
43-
- database: api/stac_fastapi/sqlalchemy/models/database.md
44-
- decompose: api/stac_fastapi/sqlalchemy/models/decompose.md
45-
- links: api/stac_fastapi/sqlalchemy/models/links.md
46-
- schemas: api/stac_fastapi/sqlalchemy/models/schemas.md
47-
- config: api/stac_fastapi/sqlalchemy/config.md
48-
- core: api/stac_fastapi/sqlalchemy/core.md
49-
- session: api/stac_fastapi/sqlalchemy/session.md
50-
- tokens: api/stac_fastapi/sqlalchemy/tokens.md
51-
- transactions: api/stac_fastapi/sqlalchemy/transactions.md
52-
- version: api/stac_fastapi/sqlalchemy/version.md
53-
- stac_fastapi.types:
54-
- core: api/stac_fastapi/types/core.md
55-
- config: api/stac_fastapi/types/config.md
56-
- errors: api/stac_fastapi/types/errors.md
57-
- extension: api/stac_fastapi/types/extension.md
58-
- index: api/stac_fastapi/types/index.md
59-
- search: api/stac_fastapi/types/search.md
60-
- version: api/stac_fastapi/types/version.md
20+
- stac_fastapi.api: api/stac_fastapi/api/index.md
21+
- stac_fastapi.extensions: api/stac_fastapi/extensions/index.md
22+
- stac_fastapi.types: api/stac_fastapi/types/index.md
23+
- stac_fastapi.pgstac: api/stac_fastapi/pgstac/index.md
6124
- Development - Contributing: 'contributing.md'
6225
- Release Notes: 'release-notes.md'
6326

0 commit comments

Comments
 (0)