From 7f731ebca08c3abad7c518fd9baab519e02ac1be Mon Sep 17 00:00:00 2001 From: Frederic Werner <20406381+wernerfred@users.noreply.github.com> Date: Mon, 13 Dec 2021 08:43:01 +0100 Subject: [PATCH] docs(deps): bump mkdocs-material to new major version 8 (#2311) * docs(deps): bump mkdocs-material to 8.0.2 * docs(deps): bump mkdocs-material to 8.0.3 * chore: add default version of docs * feat: add version warning * fix: remove version warning * docs(deps): bump mkdocs-material to 8.0.5 * added code annotation feature We can introduce new annotation with new PRs in the future. I'd advise against overhauling all code blocks with this feature in this PR - this PR should just introduce the feature. * docs(deps): bump mkdocs-material to 8.1.0 * fix: remove unnecessary default value re-add if version warning gets a thing in the future. See https://github.com/docker-mailserver/docker-mailserver/pull/2311#issuecomment-991805830 Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> --- .github/workflows/scripts/docs/build-docs.sh | 2 +- docs/mkdocs.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/docs/build-docs.sh b/.github/workflows/scripts/docs/build-docs.sh index d39bb5b4..0dfb89da 100755 --- a/.github/workflows/scripts/docs/build-docs.sh +++ b/.github/workflows/scripts/docs/build-docs.sh @@ -10,7 +10,7 @@ docker run \ --user "$(id -u):$(id -g)" \ --volume "${PWD}:/docs" \ --name "build-docs" \ - squidfunk/mkdocs-material:7.3.6 build --strict + squidfunk/mkdocs-material:8.1.0 build --strict # Remove unnecessary build artifacts: https://github.com/squidfunk/mkdocs-material/issues/2519 # site/ is the build output folder. diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index b520737e..0dc1cf0c 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -35,6 +35,7 @@ theme: - navigation.top - navigation.expand - navigation.instant + - content.code.annotate palette: # Light mode - media: '(prefers-color-scheme: light)'