Sphinx: force rebuild of html, including autodoc
I use the clean
sub-command of make
to force a rebuild of the documentation (as @Henrik stated in his comment).
You can issue it as a separate command:
make clean
make html
Or the commands can be combined:
make clean html
I do not use sphinx-build but with make html I always do touch *.rst
on my source files. Then make html can pickup changes.
It seems to work if the -E
option is used along with -a
. I added it to the html
target in my Makefile
and now changes in docstrings are picked up without updating any .rst
files.