Skip to content

Support of incremental builds? #380

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

Open
arwedus opened this issue Apr 21, 2023 · 1 comment
Open

Support of incremental builds? #380

arwedus opened this issue Apr 21, 2023 · 1 comment

Comments

@arwedus
Copy link

arwedus commented Apr 21, 2023

I have a sphinx project with ~ 600 python files, and use autoapi to parse them.
On every build, AutoAPI spends around 1 minute in the reading phase, even though not a single file has changed.

What I'd hope for is that the reading of documents can be skipped if the cached data is newer than all files that AutoAPI has to parse.

Is this a known issue, or is this feature not yet available? Could this possibly work?

/edit: I was able to remove something else that seems to have caused sphinx incremental build to be compromised. Now AutoAPI reads through the documents, but much faster. So does it actually already check for every python file if it needs to be re-read?

@arwedus arwedus changed the title Support incremental builds Support of incremental builds? Apr 21, 2023
@AWhetter
Copy link
Collaborator

AutoAPI doesn't check if Python files have already changed.
It would also need to check if an object that's in a changed file gets imported into any other files, and update those as well. But the import resolution is in need of an overhaul.

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

No branches or pull requests

2 participants