From ed5edaf44e807af9cc572756f299fd689d943b1e Mon Sep 17 00:00:00 2001 From: Jessica Mitchell Date: Thu, 26 Feb 2026 12:17:58 +0100 Subject: [PATCH 1/2] add link to impressum and data protection --- doc/index.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/index.rst b/doc/index.rst index da3b657c..8512b5c7 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -9,6 +9,8 @@ ODE-toolbox :tocdepth: 1 index + Impressum + Data protection .. role:: python(code) :language: python From 2df903704ec8667809a36608868d4816570d29f7 Mon Sep 17 00:00:00 2001 From: Jessica Mitchell Date: Thu, 26 Feb 2026 13:40:24 +0100 Subject: [PATCH 2/2] fix up toc --- doc/conf.py | 7 ++++--- doc/contents.rst | 9 +++++++++ doc/index.rst | 9 --------- 3 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 doc/contents.rst diff --git a/doc/conf.py b/doc/conf.py index d8760d0e..b57fbb9b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -100,7 +100,7 @@ # The master toctree document. -master_doc = "index" +master_doc = "contents" source_suffix = ['.rst'] @@ -223,8 +223,9 @@ # With this local 'make html' is broken! github_doc_root = '' -intersphinx_mapping = {'https://docs.python.org/': None} - +intersphinx_mapping = { + "python": ("https://docs.python.org/3", None), + } def skip(app, what, name, obj, would_skip, options): if name in ["__init__", "__str__"]: diff --git a/doc/contents.rst b/doc/contents.rst new file mode 100644 index 00000000..db120c03 --- /dev/null +++ b/doc/contents.rst @@ -0,0 +1,9 @@ +Table of Contents +================== + +.. toctree:: + :maxdepth: 2 + + index + Impressum + Data protection diff --git a/doc/index.rst b/doc/index.rst index 8512b5c7..049ed29f 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -3,15 +3,6 @@ ODE-toolbox **Automatic selection and generation of integration schemes for systems of ordinary differential equations** -.. toctree:: - :hidden: - :maxdepth: 1 - :tocdepth: 1 - - index - Impressum - Data protection - .. role:: python(code) :language: python