-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3491 from jasongrout/jlite2
Package example notebooks in JupyterLite
- Loading branch information
Showing
39 changed files
with
628 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: 2 | ||
|
||
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "mambaforge-4.10" | ||
python: | ||
install: | ||
- method: pip | ||
path: ./python/ipywidgets | ||
conda: | ||
environment: docs/environment.yml | ||
|
||
# python: | ||
# version: 3.7 | ||
# install: | ||
# - method: pip | ||
# path: ./python/ipywidgets | ||
# - requirements: docs/requirements.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Building ipywidgets documentation | ||
|
||
To build the ipywidgets documentation: | ||
|
||
1. Install the development version of ipywidgets with the `dev-install.sh` script in the repo root directory. | ||
2. Install the Python packages for building documentation with either mamba or conda: | ||
```sh | ||
conda update --file docs/environment.yml | ||
``` | ||
|
||
or with `pip`: | ||
|
||
```sh | ||
python -m pip install -r docs/requirements.txt | ||
# Also install pandoc separately | ||
``` | ||
|
||
3. Build the HTML docs with sphinx: | ||
```sh | ||
cd docs/source | ||
python -m sphinx -T -E -b html -d ../build/doctrees -D language=en . ../build/html | ||
``` | ||
|
||
4. Open the documentation from the build directory: `docs/build/html` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: docs | ||
channels: | ||
- conda-forge | ||
- nodefaults | ||
dependencies: | ||
- bqplot | ||
- build | ||
- empack | ||
- ipykernel | ||
- jupyter_client | ||
- jupyterlab >=3,<4 | ||
- jupyter-packaging | ||
- matplotlib | ||
- nbsphinx | ||
- nodejs=14 | ||
- numpy | ||
- packaging | ||
- pandoc | ||
- pip | ||
- python=3.10 | ||
- recommonmark | ||
- scikit-image | ||
- scikit-learn | ||
- sphinx | ||
- sphinx_rtd_theme | ||
- sympy | ||
- pip: | ||
- jupyterlite==0.1.0b10 | ||
- jupyterlite-sphinx>=0.6.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.