Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If I modify the .v file the .svg file is not rebuilt #100

Open
oharboe opened this issue Sep 26, 2023 · 1 comment
Open

If I modify the .v file the .svg file is not rebuilt #100

oharboe opened this issue Sep 26, 2023 · 1 comment

Comments

@oharboe
Copy link
Contributor

oharboe commented Sep 26, 2023

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:

env.note_dependency(rel_filename)

@mithro
Copy link
Member

mithro commented Sep 26, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants