-
Notifications
You must be signed in to change notification settings - Fork 17
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
Incremental build is not working when the plugin enabled #8
Comments
@rhornig Please provide a minimal example demonstrating this (along with a requirements file for package versions). I just tested with sphinx 2.4.4 and sphinxcontrib-images 0.9.1 and I see what I expect. If my
I've attached the test project, it was made with |
Same issue here with my blog and my website (complete projects here: |
@kujiu Even if you don't understand why, but manage to create a small example reproducing the problem, let us know! |
Ok, I've found the minimal way to reproduce.
The index is rewritten in the second execution. No need to change index.rst. |
How time flies when you have a baby and a 3-year-old! Please accept my apologies for not attending to the PRs and issues in a timely fashion. I'll attend to them at the latest on August 29th and 30th (I have another project with deadline on August 28th). |
Meet the same issue:
|
Fix #8: Incremental building not working (solution by terencehonles and kujiu : update the config dictionary on the config-inited event)
@SilverRainZ let's keep the discussion in the issue not the PR #18 (comment) and it might be helpful to start by saying you are still having an issue instead of suggesting the fix did not work (since it may have). I double checked and I don't see any issues on my end and this is what I see: Initial run (after removing the build cache):
and running again:
I removed the build warnings since they were due to stray files in my local env. |
You may want to remove the build cache manually and see if there might be something else going on. Aside from that I'm not sure how much time you want to spend debugging your issue since it doesn't seem like I can reproduce it (you may want to double check your version number and seeing if using Sphinx 4.0.1 is any different because that's what I'm using and I don't know if it broke after that) |
@terencehonles My fault, whan I am trying to fix #23, I use the earlier version of this extension, but not 0.9.3. |
Cool, good to hear you're not having issues 🙂 I was hoping it wasn't going to break in a future version of Sphinx 😅 |
I have enabled the plugin with sphinx 2.4.4 and it seems that it interferes somehow with the incremental build process and sphinx always makes a full build when this plugin is enabled.
The text was updated successfully, but these errors were encountered: