From 9ec40f80259536d6921fabf592ddd0d3056c4c63 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 15 Mar 2025 11:06:24 +0100 Subject: [PATCH] Added sphinx indexes --- conf.py | 7 ++++--- docs/.gitkeep | 0 index.rst | 10 ++++++---- roles/index.rst | 9 +++++++++ 4 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 docs/.gitkeep create mode 100644 roles/index.rst diff --git a/conf.py b/conf.py index 8aaebfba..f0b680a1 100644 --- a/conf.py +++ b/conf.py @@ -27,11 +27,12 @@ html_theme = 'alabaster' html_static_path = ['_static'] html_sidebars = { '**': [ - 'globaltoc.html', # globales Inhaltsverzeichnis - 'relations.html', # Prev/Next Navigation - 'searchbox.html', # Suchfeld + 'localtoc.html', # Zeigt die lokale Navigation an + 'relations.html', # Vorherige/Nächste Seite + 'searchbox.html', # Suchfeld ] } + html_theme_options = { 'fixed_sidebar': True, } diff --git a/docs/.gitkeep b/docs/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/index.rst b/index.rst index 59d30c15..4223378d 100644 --- a/index.rst +++ b/index.rst @@ -1,10 +1,12 @@ -.. CyMaIS - Cyber Master Infrastructure Solution documentation +CyMaIS - Cyber Master Infrastructure Solution documentation =========================================================== .. toctree:: - :maxdepth: 5 + :maxdepth: 2 :caption: Index: :glob: - :titlesonly: - ** + * + + +:doc:`roles/index` \ No newline at end of file diff --git a/roles/index.rst b/roles/index.rst new file mode 100644 index 00000000..04cd2731 --- /dev/null +++ b/roles/index.rst @@ -0,0 +1,9 @@ +.. CyMaIS - Cyber Master Infrastructure Solution documentation +=========================================================== + +.. toctree:: + :maxdepth: 5 + :caption: Index: + :glob: + + **