Editing urlmap.js or one of the .md files references from the TOML configuration passed to gi-docgen should cause a rebuild, but currently does not.
We can use “gi-docgen gen-deps” to generate a file that we can then pass as DEPFILE in CMake, so Make/Ninja will read the file to learn about the dependencies which aren't listed in CMake.
Pull request: https://github.com/WebKit/WebKit/pull/13636
There's a small issue in upstream gi-docgen, but not a blocker to land the PR for this in WebKit: https://gitlab.gnome.org/GNOME/gi-docgen/-/issues/158
Committed 263862@main (9e4a1ee88a13): <https://commits.webkit.org/263862@main> Reviewed commits have been landed. Closing PR #13636 and removing active labels.
<rdar://problem/109093244>