Update mkdocs version (#10522)
This commit is contained in:
parent
b9d8bb406c
commit
9db8fe51c8
5 changed files with 7 additions and 6 deletions
4
.github/actions/mkdocs/Dockerfile
vendored
4
.github/actions/mkdocs/Dockerfile
vendored
|
@ -1,6 +1,4 @@
|
||||||
FROM squidfunk/mkdocs-material:6.2.4
|
FROM squidfunk/mkdocs-material:9.4.5
|
||||||
|
|
||||||
RUN pip install mkdocs-awesome-pages-plugin
|
|
||||||
|
|
||||||
COPY action.sh /action.sh
|
COPY action.sh /action.sh
|
||||||
|
|
||||||
|
|
2
.github/actions/mkdocs/action.sh
vendored
2
.github/actions/mkdocs/action.sh
vendored
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
REQUIREMENTS="${GITHUB_WORKSPACE}/requirements.txt"
|
REQUIREMENTS="${GITHUB_WORKSPACE}/docs/requirements.txt"
|
||||||
|
|
||||||
if [ -f "${REQUIREMENTS}" ]; then
|
if [ -f "${REQUIREMENTS}" ]; then
|
||||||
pip install -r "${REQUIREMENTS}"
|
pip install -r "${REQUIREMENTS}"
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -271,5 +271,5 @@ release: ensure-buildx clean
|
||||||
|
|
||||||
.PHONY: build-docs
|
.PHONY: build-docs
|
||||||
build-docs:
|
build-docs:
|
||||||
pip install -U mkdocs-material==6.2.4 mkdocs-awesome-pages-plugin mkdocs-minify-plugin mkdocs-redirects
|
pip install -r docs/requirements.txt
|
||||||
mkdocs build --config-file mkdocs.yml
|
mkdocs build --config-file mkdocs.yml
|
||||||
|
|
4
docs/requirements.txt
Normal file
4
docs/requirements.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
mkdocs-material==9.4.5
|
||||||
|
mkdocs-awesome-pages-plugin==2.9.2
|
||||||
|
mkdocs-minify-plugin==0.7.1
|
||||||
|
mkdocs-redirects==1.2.1
|
|
@ -65,7 +65,6 @@ plugins:
|
||||||
|
|
||||||
extra_css: [extra.css]
|
extra_css: [extra.css]
|
||||||
|
|
||||||
google_analytics: ["UA-118407822-1", "kubernetes.github.io"]
|
|
||||||
|
|
||||||
nav:
|
nav:
|
||||||
- Welcome:
|
- Welcome:
|
||||||
|
|
Loading…
Reference in a new issue