Skip to content

Commit 27290cf

Browse files
committed
Restore the mkdocs watch list as src/ so serve reloads on source edits
mkdocstrings dropped its own watch hook in 0.23.0 in favour of MkDocs' top-level watch:, so handlers.python.paths is not auto-watched. Without this, editing anything under src/ during mkdocs serve would not trigger a rebuild.
1 parent e76c512 commit 27290cf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ markdown_extensions:
136136
- sane_lists # this means you can start a list from any number
137137

138138
watch:
139+
- src
139140
- docs_src
140141

141142
plugins:

0 commit comments

Comments
 (0)