From dc2b284cf645600da4ed0b67b4803e8acfbcc583 Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Sun, 28 Jul 2024 18:12:47 +0200 Subject: [PATCH] fix(mkdocs): Correct watch path config in mkdocs This commit fixes the configuration of the watch path in mkdocs. The 'watch' configuration previously supported by mkdocstrings is now integrated into mkdocs. The directory referencing has been fixed by using underscores instead of hyphens. This change will ensure the compatibility of mkdocs with the mkdocstrings plugin. Fixes #21 --- {{cookiecutter.hyphenated}}/mkdocs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.hyphenated}}/mkdocs.yml b/{{cookiecutter.hyphenated}}/mkdocs.yml index 45a2202..472b678 100644 --- a/{{cookiecutter.hyphenated}}/mkdocs.yml +++ b/{{cookiecutter.hyphenated}}/mkdocs.yml @@ -47,9 +47,8 @@ plugins: - include-markdown - search: lang: en - - mkdocstrings: - watch: - - {{ cookiecutter.hyphenated }} +watch: + - {{ cookiecutter.underscored }} extra: social: - icon: fontawesome/brands/twitter