From 8a78f62e4cb0890cd0ed9c663a21f809013b959e Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 4 Feb 2022 17:38:04 -0800 Subject: feat: setup documentation --- lib/debug/templates/node.ibis | 77 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 lib/debug/templates/node.ibis (limited to 'lib/debug/templates/node.ibis') diff --git a/lib/debug/templates/node.ibis b/lib/debug/templates/node.ibis new file mode 100644 index 0000000..6bb4221 --- /dev/null +++ b/lib/debug/templates/node.ibis @@ -0,0 +1,77 @@ + + + + + Debugging: {{ site.title || "Mystery Site" }} + + + + +
+

+ {$ node $} + {% if node.parent %} + + {% endif %} +

+ + {% if inc.menu %} + + {% endif %} + + +
+ {{ automenu }} +
+ + +
+
    + {% for child in node.children %} +
  • {$ child $}
  • + {% empty %} +
  • None.
  • + {% endfor %} +
+
+ + +
+
{{ node.meta|pprint|pygmentize('python') }}
+
+ + +
+
{{ node.text.strip()|escape }}
+
+ + +
+
{{ node.html|escape }}
+
+ + +
+
{{ context.data.stack|index(2)|pprint|pygmentize('python') }}
+
+
+ + + + + -- cgit v1.2.3