From dc17b4d378ce8ece425cb2f43e4afcb7db733454 Mon Sep 17 00:00:00 2001 From: nblock Date: Fri, 22 Nov 2024 17:52:36 +0100 Subject: [PATCH] Documentation dependencies (#2252) * Use a trailing slash recommended by mkdocs-material * Update doc requirements Let mkdocs-material resolve its imaging dependencies (cairosvg and pillow) and fix a dependabot warning along the way. Reference compatible versions by major.minor. --- docs/requirements.txt | 12 +++++------- mkdocs.yml | 3 ++- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 0c70d5fb..d375747b 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,7 +1,5 @@ -cairosvg~=2.7.1 -mkdocs-include-markdown-plugin~=6.2.2 -mkdocs-macros-plugin~=1.2.0 -mkdocs-material~=9.5.18 -mkdocs-minify-plugin~=0.7.1 -mkdocs-redirects~=1.2.1 -pillow~=10.1.0 +mkdocs-include-markdown-plugin~=7.1 +mkdocs-macros-plugin~=1.3 +mkdocs-material[imaging]~=9.5 +mkdocs-minify-plugin~=0.7 +mkdocs-redirects~=1.2 diff --git a/mkdocs.yml b/mkdocs.yml index 352c8d39..cfe76e9c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,6 @@ +--- site_name: Headscale -site_url: https://juanfont.github.io/headscale +site_url: https://juanfont.github.io/headscale/ edit_uri: blob/main/docs/ # Change the master branch to main as we are using main as a main branch site_author: Headscale authors site_description: >-