sphinx-doc / sphinx-autobuild

Watch a Sphinx directory and rebuild the documentation when a change is detected. Also includes a hot-reload web server.
MIT License
552 stars 84 forks source link

feat(cli): add post-build argument #143

Open e-roux opened 1 year ago

e-roux commented 1 year ago

Context

It is currently possible to run pre-build commands. In some situation, it can be interesting to run commands after sphinx-build, e.g. tailwindcss.

Proposal

This PR adds support for post-build arguments copied on the existing pre-build.

welcome[bot] commented 1 year ago

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.
Welcome to the EBP community! :tada:

e-roux commented 8 months ago

Updated the PR to the latest source on main

AA-Turner commented 7 months ago

The implementation seems fine, but perhaps we could sketch a use-case or two in the README?

A