Skip to content
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

--post-build option #127

Open
guideloom opened this issue Mar 13, 2023 · 1 comment
Open

--post-build option #127

guideloom opened this issue Mar 13, 2023 · 1 comment

Comments

@guideloom
Copy link

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

@welcome
Copy link

welcome bot commented Mar 13, 2023

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).

Welcome to the EBP community! 🎉

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

1 participant