From dab55ddddef643539b5338ca6f8623aa285c630d Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 19 Nov 2024 22:39:38 -0600 Subject: [PATCH] Watch for changes to the template file during documentation serve (#9244) Fixes this really annoying behavior where the served documentation would not reflect changes to the mkdocs template file (where we store all of our actual configuration) ref https://github.com/mkdocs/mkdocs/pull/2642 --- mkdocs.insiders.yml | 3 +++ mkdocs.public.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/mkdocs.insiders.yml b/mkdocs.insiders.yml index 422e79d51..78bf10658 100644 --- a/mkdocs.insiders.yml +++ b/mkdocs.insiders.yml @@ -1 +1,4 @@ INHERIT: mkdocs.template.yml + +watch: + - mkdocs.template.yml diff --git a/mkdocs.public.yml b/mkdocs.public.yml index 31fd0474c..a8c0b99c8 100644 --- a/mkdocs.public.yml +++ b/mkdocs.public.yml @@ -4,3 +4,5 @@ plugins: - search validation: anchors: warn +watch: + - mkdocs.template.yml