Add all the mkdocs config files to the reload-watcher

When I made the changes to documentation generation I split up the then
single mkdocs configuration file. It looks like the reloader for mkdocs
always watches its configuration file, bit *only* the one that was loaded in
the first place, not any that are inherited from.

So this change adds all of the mkdocs yml files to the watch list to ensure
that any change causes the documentation server to reload.

Most useful if you're adding new files to the navigation.
This commit is contained in:
Dave Pearson
2023-03-08 08:36:22 +00:00
parent fc37a5c196
commit e6e9d2b698

View File

@@ -79,6 +79,11 @@ plugins:
- "^__init__$"
- "!^can_replace$"
watch:
- mkdocs-common.yml
- mkdocs-nav-offline.yml
- mkdocs-nav-online.yml
- mkdocs-offline.yml
- mkdocs-online.yml
- src/textual
exclude:
glob: