Skip to content

Commit

Permalink
Update the table of contents (#38)
Browse files Browse the repository at this point in the history
Fix issue with broken table of contents: move the table of contents from
the `_toc.yml` file to the `myst.yml` to match the new way in how MystMD
handles the TOC. Remove the maximum constrain to `nodejs` since it was
probably creating some issues.

Fixes #36
  • Loading branch information
santisoler authored Nov 19, 2024
1 parent e23428e commit 7429b30
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 62 deletions.
61 changes: 0 additions & 61 deletions _toc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
dependencies:
- python=3.10.*
# Myst requirements
- nodejs>=20,<21
- nodejs>18
- mystmd
# Notebook requirements
- jupyter
Expand Down
41 changes: 41 additions & 0 deletions myst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,47 @@ project:
sphinx: https://www.sphinx-doc.org/en/master/
exclude:
- README.md
- LICENSE
- LICENSE-CC-BY
- environment.yml

toc:
- file: index.md
- file: notebooks/gravity_index.md
children:
- file: notebooks/03-gravity/fwd_gravity_anomaly_3d.ipynb
- file: notebooks/03-gravity/fwd_gravity_gradiometry_3d.ipynb
- file: notebooks/03-gravity/inv_gravity_anomaly_3d.ipynb
- file: notebooks/magnetics_index.md
children:
- file: notebooks/04-magnetics/fwd_magnetics_induced_3d.ipynb
- file: notebooks/04-magnetics/fwd_magnetics_mvi_3d.ipynb
- file: notebooks/04-magnetics/inv_magnetics_induced_3d.ipynb
- file: notebooks/dcr_index.md
children:
- file: notebooks/05-dcr/fwd_dcr_1d.ipynb
- file: notebooks/05-dcr/fwd_dcr_2d.ipynb
- file: notebooks/05-dcr/fwd_dcr_3d.ipynb
- file: notebooks/05-dcr/inv_dcr_1d.ipynb
- file: notebooks/05-dcr/inv_dcr_2d.ipynb
- file: notebooks/05-dcr/inv_dcr_3d.ipynb
- file: notebooks/ip_index.md
children:
- file: notebooks/06-ip/fwd_ip_2d.ipynb
- file: notebooks/06-ip/fwd_ip_3d.ipynb
- file: notebooks/06-ip/inv_ip_2d.ipynb
- file: notebooks/06-ip/inv_ip_3d.ipynb
- file: notebooks/fdem_index.md
children:
- file: notebooks/07-fdem/fwd_fdem_1d.ipynb
- file: notebooks/07-fdem/inv_fdem_1d.ipynb
- file: notebooks/tdem_index.md
children:
- file: notebooks/08-tdem/fwd_tdem_1d.ipynb
- file: notebooks/08-tdem/fwd_tdem_fundamentals.ipynb
- file: notebooks/08-tdem/fwd_utem_3d.ipynb
- file: notebooks/08-tdem/inv_tdem_1d.ipynb

site:
template: book-theme
title: SimPEG User Tutorials
Expand Down

0 comments on commit 7429b30

Please sign in to comment.