diff --git a/eve_docs/templates/macros.html b/eve_docs/templates/macros.html index 1c2b64b..d318b8e 100644 --- a/eve_docs/templates/macros.html +++ b/eve_docs/templates/macros.html @@ -1,12 +1,13 @@ {% macro accordian(domain, paths) -%} +{% set domain_id = domain|replace("/", "_") %}

+ data-parent="accordion-{{ domain_id }}" href="#collapse-{{ domain_id }}"> /{{ domain }}

-
+
{% for path, method in paths|dictsort %} {% for method, attrs in method.items() %}