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 da3b657c..049ed29f 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -3,13 +3,6 @@ ODE-toolbox **Automatic selection and generation of integration schemes for systems of ordinary differential equations** -.. toctree:: - :hidden: - :maxdepth: 1 - :tocdepth: 1 - - index - .. role:: python(code) :language: python