sphinx-doc/sphinx
Auf GitHub ansehenTheme developers should be able to configure sphinx to trigger rebuilds based on theme changes
Open
#2.835 geöffnet am 8. Aug. 2016
builder:htmlgood first issuehelp wantedhtml theme
Repository-Metriken
- Stars
- (5.625 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 10T 11h) (11 gemergte PRs in 30 T)
Beschreibung
If I am editing a theme, Sphinx does not trigger rebuilds based on theme changes; I have to do make clean and make html again, which can take quite a bit of time for a large document tree.
It would be helpful if, while editing theme elements, if I could configure Sphinx in a mode where it would "do the right thing":
- if just .css and static elements have changed, then just copy these files to the build output
- if theme templates have changed, then all the output files need to be re-rendered