docs: pin mkdocs<2 and silence the mkdocs-material advisory banner in CI (#3072)
This commit is contained in:
parent
867bba6263
commit
6d2e908f2b
3 changed files with 16 additions and 5 deletions
3
.github/workflows/deploy-docs.yml
vendored
3
.github/workflows/deploy-docs.yml
vendored
|
|
@ -49,6 +49,9 @@ jobs:
|
|||
|
||||
- name: Build combined docs (v1.x at /, main at /v2/)
|
||||
run: bash scripts/build-docs.sh site
|
||||
env:
|
||||
# Silence mkdocs-material's MkDocs 2.0 warning banner in CI logs.
|
||||
NO_MKDOCS_2_WARNING: "1"
|
||||
|
||||
- name: Configure Pages
|
||||
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
|
||||
|
|
|
|||
3
.github/workflows/docs-preview.yml
vendored
3
.github/workflows/docs-preview.yml
vendored
|
|
@ -130,6 +130,9 @@ jobs:
|
|||
|
||||
- run: uv sync --frozen --group docs
|
||||
- run: uv run --frozen --no-sync mkdocs build
|
||||
env:
|
||||
# Silence mkdocs-material's MkDocs 2.0 warning banner in CI logs.
|
||||
NO_MKDOCS_2_WARNING: "1"
|
||||
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
|
|
|
|||
3
.github/workflows/shared.yml
vendored
3
.github/workflows/shared.yml
vendored
|
|
@ -125,3 +125,6 @@ jobs:
|
|||
|
||||
- name: Build the docs in strict mode
|
||||
run: uv run --frozen --no-sync mkdocs build --strict
|
||||
env:
|
||||
# Silence mkdocs-material's MkDocs 2.0 warning banner in CI logs.
|
||||
NO_MKDOCS_2_WARNING: "1"
|
||||
|
|
|
|||
Loading…
Reference in a new issue