mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 14:55:51 +00:00
Update jupyter-book-setup.md
This commit is contained in:
parent
2d2589db3c
commit
356d6de84b
1 changed files with 11 additions and 1 deletions
|
|
@ -2,10 +2,20 @@
|
|||
|
||||
Jupyter Book is just a regular Python package, so it can be installed by using `pip` or `conda`:
|
||||
|
||||
pip install jupyter-book
|
||||
```
|
||||
pip install jupyter-book
|
||||
```
|
||||
|
||||
Nevertheless, it's always a good idea make a fresh `conda` environment when starting a new project.
|
||||
|
||||
## Build a book
|
||||
|
||||
As soon as you've installed jupyter-book you can build your book locally. The official [jupyter-book](https://jupyterbook.org/en/stable/basics/build.html) documentation is quite extensive. Only one note, it's advised to use `--all` whenever building a book to make sure the table of contents fully updates:
|
||||
|
||||
```
|
||||
jupyter-book build <path-to-book> --all
|
||||
```
|
||||
|
||||
## View the book locally
|
||||
|
||||
Once the build process is completed successfully, you will see the file location in your terminal output. Simply open this in the browser (you may have to copy/paste).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue