Optimized sphinx theme

This commit is contained in:
2025-03-16 20:35:01 +01:00
parent c9c716e5fe
commit b6eb9a0dd3
4 changed files with 26 additions and 14 deletions

View File

@@ -13,7 +13,7 @@
{% if local_md_headings %}
<div class="local-md-headings">
<h3>Page Headings</h3>
<h3>Overview</h3>
{{ render_headings(local_md_headings) }}
</div>
{% endif %}

View File

@@ -30,20 +30,20 @@ html_static_path = ['_static']
html_sidebars = {
'**': [
'globaltoc.html',
'relations.html',
#'globaltoc.html',
# 'relations.html',
# 'sourcelink.html',
'local_md_files.html', # Include your custom template
'searchbox.html',
# 'searchbox.html',
]
}
html_theme_options = {
# 'fixed_sidebar': True,
"show_prev_next": False,
}
# Liste der Dateiendungen, die Sphinx verarbeiten soll:
source_suffix = {
'.rst': 'restructuredtext',
'.md': 'markdown',
@@ -59,10 +59,8 @@ extensions = [
]
autosummary_generate = True
# Optional: Zusätzliche MyST-Konfigurationen
myst_enable_extensions = [
"colon_fence", # Für erweiterte Syntax wie ::: Hinweisboxen etc.
# weitere Erweiterungen nach Bedarf
"colon_fence",
]
def setup(app):