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
jupyter-book watch command #1455
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
@patrickmineault you can do this with the livereload package. For example, I use this with JupyterBook here: https://github.com/leouieda/pgcap/blob/main/tools/serve.py When developing, I call |
@leouieda that's very helpful! How about we put this in the docs then, say under Build your book outputs? |
Heya, a couple of things to note here:
|
@chrisjsewell that seems like a more reliable solution that requires less manual intervention from users |
I saw that this is now feasible with sphinx-autobuild:
There's a hint about this in the Sphinx section of the docs, but if it's relevant I can draft a larger section on setting this up in the docs. |
Description / Summary
It would be nice if jupyter books automatically rebuilt upon changing a file, and fresh files were served over a development server.
Value / benefit
You need to keep several windows open to develop a jupyterbook - vscode, a terminal, a browser window, maybe the inspector. On a laptop, it's a lot of windows to keep around. It would be nice not to have to look at one of those windows. It would be nice to always be one Ctrl+R away from seeing the latest build of the docs.
Implementation details
The sphinx book theme has support for live building using the
tox -e docs-live
command. I presume this would be substantially similar to this.Tasks to complete
No response
The text was updated successfully, but these errors were encountered: