From d770219333cc92c13994760c8d749e743dd04fe6 Mon Sep 17 00:00:00 2001 From: Einar Huseby Date: Tue, 6 Jan 2015 21:28:23 +0100 Subject: [PATCH] Fix to make resources like '/toplevel/sublevel' toggle --- eve_docs/templates/macros.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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("/", "_") %}
-
+
{% for path, method in paths|dictsort %} {% for method, attrs in method.items() %}