Add support for sphinx-autobuild?
sphinx-autobuild is a Python package which can automatically detect changes to a watched directory and rebuild the files on the fly as changes happen, optionally serving them over a HTTP server so they can be previewed live in a browser.
This seems like something hugely helpful for medium-to-large doc additions, and it streamlines the build process once initially set up (since the whole docs wouldn't have to be rebuilt then, and autobuild could be fired up with the --no-initial flag in the future), essentially reducing it down to "launch autobuild, make changes, save them, preview them, do the Git(Hub) bureacracy". (whereas previously the related pages would have to manually be built and re-opened in the browser each time, becoming potentially a bit more tedious to do than it needs to be)
This can be done either directly by including a new make livehtml target in the Makefile (since sphinx-autobuild takes a strict superset of sphinx's own arguments), or at least including a note about how this can be done in the README.
(I also have a teeny tiny script of my own for this, but I don't think it's particularly worthy of being in the repo considering it literally consists of sphinx-autobuild --no-initial . _build/html -B, but I can open a PR for it anyway.)
Thoughts?
IMO, including a make target for it would be fine. Of course that would need to check if sphinx-autobuild is installed and error out otherwise, but we already do similar stuff afaik, you can only generate LaTeX formula if you have the appropriate support installed, for example.
After all, you wouldn't have to use the new make target and install sphinx-autobuild if you don't want to. This way, support is there if wanted, but purely optional.
Closing as there's been no activity for some time. Feel free to open a new issue if you feel the need is still there.
If anyone's looking for this, you can install watchexec then run the following command in the godot-docs repository root:
watchexec make html