old_contents: from gdsfactory.types import ComponentFactoryDict
  
  # from gdsfactory import types
  # type_aliases = autodoc_type_aliases = {type: str(type) for type in dir(types)}
  
  autodoc_type_aliases = {ComponentFactoryDict: "ComponentFactoryDict"}
  
  project = "gdsfactory"
  release = "4.1.0"
  copyright = "2019, PsiQ"
  author = "PsiQ"
  
  html_theme = "furo"
  # html_theme = "sphinx_rtd_theme"
  
  source_suffix = {
      ".rst": "restructuredtext",
      ".txt": "markdown",
      ".md": "markdown",
  }
  
  html_static_path = ["_static"]
  
  extensions = [
      "matplotlib.sphinxext.plot_directive",
      "myst_parser",
      "nbsphinx",
      "sphinx.ext.autodoc",
      "sphinx.ext.doctest",
      "sphinx.ext.mathjax",
      "sphinx.ext.napoleon",
      "sphinx.ext.todo",
      "sphinx.ext.viewcode",
      "sphinx_autodoc_typehints",
      "sphinx_click",
      "sphinx_markdown_tables",
  ]
  
  autodoc_member_order = "bysource"
  
  templates_path = ["_templates"]
  exclude_patterns = [
      "_build",
      "Thumbs.db",
      ".DS_Store",
      "**.ipynb_checkpoints",
      "build",
      "extra",
      # "notebooks/plugins/*",
  ]
  
  napoleon_use_param = True
  
  source_suffix = {
      ".rst": "restructuredtext",
      ".txt": "markdown",
      ".md": "markdown",
  }
  
  language = "en"
  myst_html_meta = {
      "description lang=en": "metadata description",
      "description lang=fr": "description des métadonnées",
      "keywords": "Sphinx, MyST",
      "property=og:locale": "en_US",
  }
  
new_contents: from gdsfactory.types import ComponentFactoryDict
  
  # from gdsfactory import types
  # type_aliases = autodoc_type_aliases = {type: str(type) for type in dir(types)}
  
  autodoc_type_aliases = {ComponentFactoryDict: "ComponentFactoryDict"}
  
  project = "gdsfactory"
  release = "4.1.0"
  copyright = "2019, PsiQ"
  author = "PsiQ"
  
  html_theme = "furo"
  # html_theme = "sphinx_rtd_theme"
  
  source_suffix = {
      ".rst": "restructuredtext",
      ".txt": "markdown",
      ".md": "markdown",
  }
  
  html_static_path = ["_static"]
  
  extensions = [
      "matplotlib.sphinxext.plot_directive",
      "myst_parser",
      "nbsphinx",
      "sphinx.ext.autodoc",
      "sphinx.ext.doctest",
      "sphinx.ext.mathjax",
      "sphinx.ext.napoleon",
      "sphinx.ext.todo",
      "sphinx.ext.viewcode",
      "sphinx_autodoc_typehints",
      "sphinx_click",
      "sphinx_markdown_tables",
  ]
  
  autodoc_member_order = "bysource"
  
  templates_path = ["_templates"]
  exclude_patterns = [
      "_build",
      "Thumbs.db",
      ".DS_Store",
      "**.ipynb_checkpoints",
      "build",
      "extra",
      # "notebooks/plugins/*",
  ]
  
  napoleon_use_param = True
  nbsphinx_timeout = 60
  
  source_suffix = {
      ".rst": "restructuredtext",
      ".txt": "markdown",
      ".md": "markdown",
  }
  
  language = "en"
  myst_html_meta = {
      "description lang=en": "metadata description",
      "description lang=fr": "description des métadonnées",
      "keywords": "Sphinx, MyST",
      "property=og:locale": "en_US",
  }
  
subject: add docs timeout