-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
When not using -a option with sphinx-build, it will still modify all the html file. #11541
Comments
All files that are changed will be written again. The way that files are decided to be rebuilt is according to whether there are dependencies or not that are involved. |
Thanks for the reply. Another follow-up question is how it knows about the changed files. If I am running this in a new environment every time, then I believe there will be no reference for it to compare and get the changed files. |
I've explained a bit on how changed files are detected in #11556 (comment).
I don't understand your point. If you are in a new environment, then it's as if you're building for the very first time so it's correct to assume that you will rewrite everything. |
Closing as the initial issue is no more an issue. For questions, please ask them on Stackoverflow (this repository is only for core development). |
Describe the bug
When I use sphinx without the
-a
option, it will sill modify all the.html
files in the output directory.How to Reproduce
Run the
sphinx-build
command without the-a
option. Verify the output files written to the output directory.Environment Information
Sphinx extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: