From 0bd41c35d6e2baf496fd628b29e136b495d36a3a Mon Sep 17 00:00:00 2001 From: Martin Schroschk <martin.schroschk@tu-dresden.de> Date: Tue, 14 May 2024 11:23:11 +0200 Subject: [PATCH] Update software stack - Resolve #592 - Update python to 3.12 - Update mkdocs to 1.6.0 - Update Material Theme to 9.5.22 - Update markdownlint-cli to 0.40.0 - Update mkdocs-video to 1.5.0 --- Dockerfile | 6 +++--- doc.zih.tu-dresden.de/tud_theme/partials/header.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4b11d8828..ec246a775 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-bullseye +FROM python:3.12-bookworm SHELL ["/bin/bash", "-c"] @@ -6,7 +6,7 @@ SHELL ["/bin/bash", "-c"] # Base # ######## -RUN pip install mkdocs>=1.1.2 mkdocs-material==8.5.11 mkdocs-htmlproofer-plugin==1.2.1 mkdocs-video==1.3.0 +RUN pip install mkdocs>=1.6.0 mkdocs-material==9.5.22 mkdocs-htmlproofer-plugin==1.2.1 mkdocs-video==1.5.0 ########## # Linter # @@ -14,7 +14,7 @@ RUN pip install mkdocs>=1.1.2 mkdocs-material==8.5.11 mkdocs-htmlproofer-plugin= RUN apt-get update && apt-get install -y nodejs npm aspell git git-lfs -RUN npm install -g markdownlint-cli@0.32.2 markdown-link-check +RUN npm install -g markdownlint-cli@0.40.0 markdown-link-check ########################################### # prepare git for automatic merging in CI # diff --git a/doc.zih.tu-dresden.de/tud_theme/partials/header.html b/doc.zih.tu-dresden.de/tud_theme/partials/header.html index 4b28fab92..9fad2d191 100644 --- a/doc.zih.tu-dresden.de/tud_theme/partials/header.html +++ b/doc.zih.tu-dresden.de/tud_theme/partials/header.html @@ -69,7 +69,7 @@ </div> <!-- Button to open search modal --> - {% if "search" in config["plugins"] %} + {% if "material/search" in config["plugins"] %} <label class="md-header__button md-icon" for="__search"> {% include ".icons/material/magnify.svg" %} </label> -- GitLab