Skip to content

Commit b9c62d3

Browse files
committed
Remove fix for minor version
1 parent b612e7e commit b9c62d3

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ FROM minidocks/weasyprint AS weasyprint
77
FROM $base_image AS latest
88
LABEL maintainer="Martin Hasoň <[email protected]>"
99

10-
ARG mkdocs_version=1.5.3
11-
1210
RUN apk add py3-regex py3-pynacl py3-ruamel.yaml && pip install \
13-
mkdocs==$mkdocs_version \
11+
mkdocs \
1412
\
1513
mkdocs-abs-rel-plugin \
1614
mkdocs-add-number-plugin \
@@ -19,6 +17,7 @@ RUN apk add py3-regex py3-pynacl py3-ruamel.yaml && pip install \
1917
mkdocs-awesome-pages-plugin \
2018
mkdocs-categories-plugin \
2119
mkdocs-codeinclude-plugin \
20+
mkdocs-embed-external-markdown \
2221
mkdocs-enumerate-headings-plugin \
2322
mkdocs-exclude \
2423
mkdocs-exclude-search \
@@ -43,6 +42,7 @@ RUN apk add py3-regex py3-pynacl py3-ruamel.yaml && pip install \
4342
mkdocs-nav-weight \
4443
mkdocs-no-sitemap-plugin \
4544
mkdocs-print-site-plugin \
45+
mkdocs-publisher \
4646
mkdocs_pymdownx_material_extras \
4747
mkdocs-safe-text-plugin \
4848
mkdocs-same-dir \
@@ -51,7 +51,6 @@ RUN apk add py3-regex py3-pynacl py3-ruamel.yaml && pip install \
5151
mkdocs-simple-plugin \
5252
mkdocs-swagger-ui-tag \
5353
mkdocs-redirects \
54-
mkdocs-versioning \
5554
mkdocs-with-confluence \
5655
mkdocstrings \
5756
\
@@ -60,6 +59,8 @@ RUN apk add py3-regex py3-pynacl py3-ruamel.yaml && pip install \
6059
mkdocs-kpn \
6160
mkdocs-material \
6261
\
62+
mike \
63+
\
6364
neoteroi-mkdocs \
6465
\
6566
markdown-customblocks \
@@ -70,7 +71,7 @@ RUN apk add py3-regex py3-pynacl py3-ruamel.yaml && pip install \
7071

7172
COPY rootfs /
7273

73-
CMD [ "mkdocs", "serve", "--dev-addr", "0.0.0.0:8000" ]
74+
CMD [ "mkdocs", "serve", "--cleanr", "--dev-addr", "0.0.0.0:8000" ]
7475

7576
FROM minidocks/python:3-build AS build
7677

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Installed extensions
8181
- [Print site](https://timvink.github.io/mkdocs-print-site-plugin/index.html)
8282
adds a page to your site combining all pages, allowing your site visitors to
8383
`File > Print > Save as PDF` the entire site.
84+
- [Publisher](https://mkusz.github.io/mkdocs-publisher/)
8485
- [Pymdownx Material
8586
Extras](https://github.com/facelessuser/mkdocs_pymdownx_material_extras)
8687
- [Safe text](https://github.com/raimon49/mkdocs-safe-text-plugin) for safe text
@@ -95,7 +96,6 @@ Installed extensions
9596
- [Swagger UI](https://blueswen.github.io/mkdocs-swagger-ui-tag/)
9697
- [Redirects](https://github.com/datarobot/mkdocs-redirects) to create page
9798
redirects (e.g. for moved/renamed pages).
98-
- [Versioning](https://github.com/zayd62/mkdocs-versioning)
9999

100100
##### Only in 1-pdf and pdf tags
101101

build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ set -e
33

44
image="${namespace:-minidocks}/mkdocs"
55
versions="
6-
1;1.5.3
7-
1-pdf;1.5.3;weasyprint;pdf
8-
pdf;1.5.3;weasyprint;pdf
9-
latest;1.5.3;
6+
1
7+
1-pdf;weasyprint;pdf
8+
pdf;weasyprint;pdf
9+
latest;
1010
"
1111

1212
build() {
1313
IFS=" "
14-
docker buildx build $docker_opts --target="${4:-latest}" --build-arg base_image="${3:-python}" --build-arg mkdocs_version="$2" -t "$image:$1" "$(dirname $0)"
14+
docker buildx build $docker_opts --target="${3:-latest}" --build-arg base_image="${2:-python}" -t "$image:$1" "$(dirname $0)"
1515
}
1616

1717
case "$1" in

0 commit comments

Comments
 (0)