-
-
Couldn't load subscription status.
- Fork 87
Description
Context
sphinx-build doesn't copy "all" of the _static folder from the source target to the build target. This is a known issue: sphinx-doc/sphinx#1810. I have some things that generated dynamically and are put into the _static tree. My "fix" is to add a small script to the Makefile that is run after the build, to copy/tar the _static tree from the source target to the build target. This works perfectly
However, autobuild doesn't run the Sphinx Makefile, so it's can't run that script. As far as I can tell there is no way for autobuild to do this. This results in an incomplete _static folder in the build target.
Proposal
As there exists a "--pre-build COMMAND" option, why not add a "--post-build COMMAND" option that works the same, but is run AFTER an autobuild run.
This would resolve my issue, and I'm sure others would find this useful as well.
Tasks and updates
No response