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
527 stars 77 forks source link

Add an argument for watching arbitrary folders #1

Closed kmike closed 9 years ago

kmike commented 10 years ago

Currently it seems to watch doc source dir and doc output dir, but if autodoc extension is enabled watching python source code is also needed.

GaretJax commented 10 years ago

@kmike I pushed some initial support for this feature to https://github.com/GaretJax/sphinx-autobuild/tree/feature/1-arbitrary-watch (changes: https://github.com/GaretJax/sphinx-autobuild/compare/feature;1-arbitrary-watch).

I am adding tests for other features and will eventually cover this one as well; in the meantime, could you please try it out manually?

ajylee commented 9 years ago

I've rebased GaretJax's "1-arbitrary-watch" to v0.4.0. Please see: https://github.com/ajylee/sphinx-autobuild/tree/feature/1-arbitrary-watch-0.4.0 I am using it currently and it works fine.

@GaretJax Can you please update your "1-arbitrary-watch" branch to my "1-arbitrary-watch-0.4.0"? I just extracted the feature as a patch and applied it to v0.4.0. Then I added a fix to pass py.test.

GaretJax commented 9 years ago

Fixed in #22