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
523 stars 75 forks source link

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

Open e-roux opened 7 months ago

e-roux commented 7 months 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 7 months 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 3 months ago

Updated the PR to the latest source on main

AA-Turner commented 2 months ago

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

A