Skip to content

Commit

Permalink
Watch for changes to the generated file during documentation serve (a…
Browse files Browse the repository at this point in the history
…stral-sh#14476)

## Summary

Similar to astral-sh/uv#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.
  • Loading branch information
dhruvmanila authored Nov 20, 2024
1 parent b0c88a2 commit 48680e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mkdocs.insiders.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
INHERIT: mkdocs.generated.yml
watch:
- mkdocs.generated.yml
2 changes: 2 additions & 0 deletions mkdocs.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ INHERIT: mkdocs.generated.yml
# Omit the `typeset` plugin which is only available in the Insiders version.
plugins:
- search
watch:
- mkdocs.generated.yml

0 comments on commit 48680e1

Please sign in to comment.