diff --git a/.gitignore b/.gitignore index 1cf4ba6..c753035 100644 --- a/.gitignore +++ b/.gitignore @@ -66,4 +66,5 @@ venv .conda_envs/ # Make file markers -.install* \ No newline at end of file +.install* +_toc.yml diff --git a/src/eo_datascience/render_sfinx_toc.py b/src/eo_datascience/render_sfinx_toc.py index b4aedea..fea62a8 100644 --- a/src/eo_datascience/render_sfinx_toc.py +++ b/src/eo_datascience/render_sfinx_toc.py @@ -2,7 +2,7 @@ import yaml def render_toc(): - p = Path("notebooks").glob('*.ipynb') + p = Path("chapters").glob('*.qmd') files = [x.with_suffix('') for x in p if x.is_file()] files.sort() titles = [x.stem.split("_")[-1].title() for x in files]