mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-07 21:25:08 +00:00
Watch for changes to the generated file during documentation serve (#14476)
## Summary Similar to https://github.com/astral-sh/uv/pull/9244, but we need to use the `mkdocs.generated.yml` file because the `scripts/generate_mkdocs.py` uses the `mkdocs.template.yml` to generate the final config.
This commit is contained in:
parent
b0c88a2a42
commit
48680e10b6
2 changed files with 4 additions and 0 deletions
|
@ -1 +1,3 @@
|
||||||
INHERIT: mkdocs.generated.yml
|
INHERIT: mkdocs.generated.yml
|
||||||
|
watch:
|
||||||
|
- mkdocs.generated.yml
|
||||||
|
|
|
@ -2,3 +2,5 @@ INHERIT: mkdocs.generated.yml
|
||||||
# Omit the `typeset` plugin which is only available in the Insiders version.
|
# Omit the `typeset` plugin which is only available in the Insiders version.
|
||||||
plugins:
|
plugins:
|
||||||
- search
|
- search
|
||||||
|
watch:
|
||||||
|
- mkdocs.generated.yml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue