-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
pydoctor seems great, exactly what I'm looking for in doc generation. I just can't seem to find a way to update stale files without rebuilding entire project. Does this exist? If not, how can I add it?
On large projects, rebuilding entire doc tree when just a few source files have changed can be very inefficient and slow. It's better to only rebuild stale pages. I tried:
- command line options. none address this scenario
- config file options. same as command line.
- build with stale files explicitly passed (eg
pydoctor -c project.ini stale1.py stale2.py). doesn't work, pydoctor rewrites all doc files in output dir. files like index.html, nameIndex.html, moduleIndex.html will be wrong, only contain stale files after rebuild.
I envision an option -u, --update that tells pydoctor to refresh only files given on command line. This would only output foo.html for each listed input file foo.py, skipping common files like *.css and index*.html.
What would it take to achieve this?
Metadata
Metadata
Assignees
Labels
No labels