Skip to content

Commit ac894e9

Browse files
Nicholas ReinickeNicholas Reinicke
authored andcommitted
used named kernel for doc building
1 parent 1c696ba commit ac894e9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy-docs.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ jobs:
2424

2525
- name: Install package
2626
run: |
27-
conda install -c conda-forge osmnx rasterio jupyter-book seaborn matplotlib
28-
pip install .
27+
conda install -c conda-forge osmnx rasterio jupyter-book seaborn matplotlib tomlkit ipykernel
28+
python -m ipykernel install --user --name routee-docs --display-name "routee-docs"
29+
pip install --no-deps .
2930
3031
- name: Build book
3132
working-directory: ${{runner.workspace}}/routee-compass/docs/

docs/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ logo: images/routeelogo.png
99
# See https://jupyterbook.org/content/execute.html
1010
execute:
1111
execute_notebooks: force
12+
kernel_name: routee-docs
1213
timeout: 300
1314

1415
# Define the name of the latex output file for PDF builds

0 commit comments

Comments
 (0)