1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

docs: minor adjustments (#1889)

* docs: add version to mkdocs docker image

* docs: add version tag to build image

* feat(docs): add back-to-top button

* feat(docs): add back-to-top button

* feat(docs): add dark theme
This commit is contained in:
Frederic Werner
2021-04-08 12:27:37 +02:00
committed by GitHub
parent 27a9fd21cf
commit b60b294be1
3 changed files with 20 additions and 2 deletions

View File

@ -41,7 +41,7 @@ jobs:
- name: 'Build with mkdocs-material via Docker'
working-directory: docs
# --user is required for build output file ownership to match the CI user instead of the containers internal user
run: docker run --rm --user "$(id -u):$(id -g)" -v "${PWD}:/docs" squidfunk/mkdocs-material build --strict
run: docker run --rm --user "$(id -u):$(id -g)" -v "${PWD}:/docs" squidfunk/mkdocs-material:7.1.0 build --strict
- name: 'If a tagged version, fix canonical links and remove `404.html`'
if: startsWith(github.ref, 'refs/tags/')

View File

@ -19,4 +19,4 @@ jobs:
- uses: actions/checkout@v2
- name: 'Build with mkdocs-material via Docker'
run: docker run --rm -v ${PWD}:/docs squidfunk/mkdocs-material build --strict
run: docker run --rm -v ${PWD}:/docs squidfunk/mkdocs-material:7.1.0 build --strict