quickfix: add missing dependency for docs (#2388)
follow-up to #2368: - add mkdocs-redirect to frontend Docker, docs build ci - build frontend when changing mkdocs
This commit is contained in:
parent
edf1edbbd1
commit
b121076e63
2
.github/workflows/docs-publish.yaml
vendored
2
.github/workflows/docs-publish.yaml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
- run: pip install mkdocs-material requests pyyaml
|
- run: pip install mkdocs-material mkdocs-redirects requests pyyaml
|
||||||
|
|
||||||
- name: Generate Helm Chart Index
|
- name: Generate Helm Chart Index
|
||||||
run: python ./scripts/generate-helm-index.py > ./frontend/docs/docs/helm-repo/index.yaml
|
run: python ./scripts/generate-helm-index.py > ./frontend/docs/docs/helm-repo/index.yaml
|
||||||
|
@ -35,6 +35,7 @@ jobs:
|
|||||||
- 'frontend/*.json'
|
- 'frontend/*.json'
|
||||||
- 'frontend/*.js'
|
- 'frontend/*.js'
|
||||||
- 'frontend/*.ts'
|
- 'frontend/*.ts'
|
||||||
|
- 'frontend/docs/mkdocs.yml'
|
||||||
- '.github/workflows/frontend-lint-test-build.yaml'
|
- '.github/workflows/frontend-lint-test-build.yaml'
|
||||||
|
|
||||||
unit-tests:
|
unit-tests:
|
||||||
|
@ -40,7 +40,7 @@ FROM --platform=$BUILDPLATFORM docker.io/library/python:3.12-slim as build_docs
|
|||||||
|
|
||||||
WORKDIR /docs
|
WORKDIR /docs
|
||||||
|
|
||||||
RUN pip install mkdocs-material
|
RUN pip install mkdocs-material mkdocs-redirects
|
||||||
|
|
||||||
COPY --link ./docs/mkdocs.yml .
|
COPY --link ./docs/mkdocs.yml .
|
||||||
COPY --link ./docs/docs ./docs
|
COPY --link ./docs/docs ./docs
|
||||||
|
Loading…
Reference in New Issue
Block a user