From b7cdfa6fa3b621272a438d5d2606e5ad6d991235 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Wed, 27 Dec 2023 21:07:25 +0100 Subject: [PATCH] Simplified the index.rst (#492) - removed a line of test text - Limited the automodule Toctree --- documentations/_static/css/custom.css | 3 +++ documentations/conf.py | 8 +++++++- documentations/index.rst | 5 ++--- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 documentations/_static/css/custom.css diff --git a/documentations/_static/css/custom.css b/documentations/_static/css/custom.css new file mode 100644 index 0000000..5ce04a6 --- /dev/null +++ b/documentations/_static/css/custom.css @@ -0,0 +1,3 @@ +section { + text-align: justify; +} diff --git a/documentations/conf.py b/documentations/conf.py index 12d40de..96c13aa 100644 --- a/documentations/conf.py +++ b/documentations/conf.py @@ -74,11 +74,13 @@ mermaid_output_format: Final[str] = "raw" html_theme: Final[str] = "sphinx_rtd_theme" html_static_path: Final[list[str]] = ["_static"] +html_css_files = [ + "css/custom.css", +] napoleon_google_docstring: Final[bool] = True napoleon_numpy_docstring: Final[bool] = False - nbsphinx_execute = "never" intersphinx_mapping: Final[dict[str, tuple[str, None]]] = { @@ -88,6 +90,10 @@ intersphinx_mapping: Final[dict[str, tuple[str, None]]] = { "matplotlib": ("https://matplotlib.org/stable/", None), "scikit-learn": ("https://scikit-learn.org/stable/", None), "sphinx": ("https://docs.sympy.org/latest/", None), + "plotly": ("https://plotly.com/python-api-reference/", None), + "networkx": ("https://networkx.org/documentation/networkx-0.37/", None), + "scipy": ("https://docs.scipy.org/doc/scipy/reference/", None), + "sqlalchemy": ("https://docs.sqlalchemy.org/en/14", None), } notfound_urls_prefix = "/" diff --git a/documentations/index.rst b/documentations/index.rst index 0997f03..e0e2708 100644 --- a/documentations/index.rst +++ b/documentations/index.rst @@ -53,6 +53,7 @@ The timeline to reach this goal is: :glob: :maxdepth: 3 :caption: Seminararbeiten + :numbered: seminararbeiten/DevOps/Seminarpraesentation.ipynb seminararbeiten/Datenspeicherung/00_Datenspeicherung @@ -67,7 +68,7 @@ The timeline to reach this goal is: .. toctree:: :glob: - :maxdepth: 0 + :maxdepth: 6 :caption: Modules modules @@ -79,8 +80,6 @@ The timeline to reach this goal is: :inherited-members: :autodoc_member_order: -Some other test - Indices and tables ================== * :ref:`genindex`