-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for generic build command (for use with jupyter-book) #99
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
You can add As it stands, this is a really thin wrapper over import subprocess
import livereload
def run():
subprocess.run(["jupyter-book", "build"])
server = livereload.Server()
server.watch('docs/source', run)
server.serve(root='docs/build/html') |
I want to use |
Heya, as I note in jupyter-book/jupyter-book#1455: jupyter-book now has the ability for external packages to "inject" commands in to its CLI, this is for example how |
I wanted to see if it was possible to use
sphinx-autobuild
with building withjupyter-book
. As of now it seems that this is possible as theget_builder
function runssphinx
explicitly. Would it be possible to have the server watch asourcedir
andoutdir
but for a generic command (such asjb build
)?The text was updated successfully, but these errors were encountered: