sphinxcontrib-hdl-diagrams
sphinxcontrib-hdl-diagrams copied to clipboard
If I modify the .v file the .svg file is not rebuilt
There appears to be some problem with the dependency tracking.
The workaround is to delete the build folder.
There is some dependency code, but I can't seem to get it to work:
https://github.com/SymbiFlow/sphinxcontrib-hdl-diagrams/blob/5166ade92cb855d87c34fd713b8f489e7dd04561/sphinxcontrib_hdl_diagrams/init.py#L204
Looks like the documentation for that function can be found at https://www.sphinx-doc.org/en/master/extdev/envapi.html#sphinx.environment.BuildEnvironment.note_dependency
It looks like def get_outdated_files(self, config_changed: bool) -> tuple[set[str], set[str], set[str]]: uses this information. Might be worth putting some debug prints in that to see what is happening?