From bf5b349b86eff4aa96ea3cb1cdcd673b83c85156 Mon Sep 17 00:00:00 2001 From: Joaquin Matres <4514346+joamatab@users.noreply.github.com> Date: Fri, 22 May 2026 13:41:28 -0700 Subject: [PATCH] fix: remove legacy _toc.yml/_config.yml and clean refs to deleted stubs --- docs/_config.yml | 74 ------------------------------------------------ docs/_toc.yml | 16 ----------- 2 files changed, 90 deletions(-) delete mode 100644 docs/_config.yml delete mode 100644 docs/_toc.yml diff --git a/docs/_config.yml b/docs/_config.yml deleted file mode 100644 index f841b3cc..00000000 --- a/docs/_config.yml +++ /dev/null @@ -1,74 +0,0 @@ -# Book settings -# Learn more at https://jupyterbook.org/customize/config.html -title: cspdk -author: gdsfactory -logo: logo.png -# Force re-execution of notebooks on each build. -# See https://jupyterbook.org/content/execute.html -execute: - execute_notebooks: cache - timeout: -1 - allow_errors: false - # execute_notebooks: force - # execute_notebooks: "off" - # exclude_patterns: - # - '*notebooks/devsim/01_pin_waveguide*' -latex: - latex_engine: pdflatex # one of 'pdflatex', 'xelatex' (recommended for unicode), 'luatex', 'platex', 'uplatex' - use_jupyterbook_latex: true # use sphinx-jupyterbook-latex for pdf builds as default -# Add a bibtex file so that we can create citations -html: - home_page_in_navbar: true - use_edit_page_button: false - use_repository_button: false - use_issues_button: false - baseurl: https://github.com/gdsfactory/cspdk -# Information about where the book exists on the web -repository: - url: https://github.com/gdsfactory/cspdk - path_to_book: docs # Optional path to your book, relative to the repository root - branch: main # Which branch of the repository should be used when creating links (optional) -launch_buttons: - notebook_interface: jupyterlab - colab_url: "https://colab.research.google.com" -sphinx: - extra_extensions: - - "sphinx.ext.autodoc" - - "sphinx.ext.autodoc.typehints" - - "sphinx.ext.autosummary" - - "sphinx.ext.napoleon" - - "sphinx.ext.viewcode" - - "matplotlib.sphinxext.plot_directive" - config: - #autodoc_typehints: description - autodoc_typehints: description - autodoc_typehints_format: short - python_use_unqualified_type_names: True - autodoc_type_aliases: - "ComponentFactory": "ComponentFactory" - "ComponentSpec": "ComponentSpec" - "CrossSectionFactory": "CrossSectionFactory" - "CrossSectionSpec": "CrossSectionSpec" - "LayerSpec": "LayerSpec" - "LayerSpecs": "LayerSpecs" - "Layer": "Layer" - "Layers": "Layers" - "PathType": "PathType" - "SDict": "sax.SDict" - "sax.SDict": "sax.SDict" - "gdsfactory.typings.ComponentFactory": "ComponentFactory" - "gdsfactory.typings.ComponentSpec": "ComponentSpec" - "gdsfactory.typings.CrossSectionFactory": "CrossSectionFactory" - "gdsfactory.typings.CrossSectionSpec": "CrossSectionSpec" - "gdsfactory.typings.LayerSpec": "LayerSpec" - "gdsfactory.typings.LayerSpecs": "LayerSpecs" - "gdsfactory.typings.Layer": "Layer" - "gdsfactory.typings.Layers": "Layers" - "gdsfactory.typings.PathType": "PathType" - "CrossSection | str | dict[str, Any] | Callable[[...], CrossSection] | SymmetricalCrossSection | DCrossSection": "CrossSectionSpec" - "Component | ComponentAllAngle | str | dict[str, Any] | Callable[[...], Component]": "ComponentSpec" - nb_execution_raise_on_error: true - nb_custom_formats: - .py: - - jupytext.reads - - fmt: py diff --git a/docs/_toc.yml b/docs/_toc.yml deleted file mode 100644 index 9e9d5bab..00000000 --- a/docs/_toc.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Table of contents -# Learn more at https://jupyterbook.org/customize/toc.html -format: jb-book -root: index -parts: - - caption: Reference - chapters: - - file: cells_si220_cband - - file: cells_si220_oband - - file: cells_si500 - - file: cells_sin300 - - file: changelog - - caption: Simulations - chapters: - - file: notebooks/meep_dc - - file: notebooks/meep_mmi