From 49d4d4cf16202c67d6963ea57196a95abffa947c Mon Sep 17 00:00:00 2001 From: Peter Makowski Date: Tue, 2 Apr 2024 15:18:33 +0200 Subject: [PATCH] docs: add tabs WIP --- templates/docs/base_docs.html | 160 +++++++++++++++++++++++++++++++++- templates/docs/document.html | 1 + templates/docs/search.html | 1 + 3 files changed, 160 insertions(+), 2 deletions(-) diff --git a/templates/docs/base_docs.html b/templates/docs/base_docs.html index 1d5d7903..257d5771 100644 --- a/templates/docs/base_docs.html +++ b/templates/docs/base_docs.html @@ -4,8 +4,8 @@ {% set is_docs = True %} {% block body %} - {% macro create_navigation(nav_items, expandable=False, expanded=False) %} + {% if request.path == '/docs/api' %} {% set expanded = False %} {% endif %} @@ -123,6 +123,17 @@

{{ nav_group.navlink_text }}