Skip to content

Commit a8ead8d

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 4ee690c commit a8ead8d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ markdown_extensions:
101101
custom_checkbox: true
102102
- sane_lists # this means you can start a list from any number
103103

104+
watch:
105+
- src
106+
104107
plugins:
105108
- search
106109
- social:

0 commit comments

Comments
 (0)