You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
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
The text was updated successfully, but these errors were encountered: