Render sidebar dynamically with js

This commit is contained in:
Rochet2
2021-05-27 00:26:09 +03:00
parent c97dd03d61
commit 9413bee27a
3 changed files with 21 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
document.write(`
{%- for method in current_class.methods %}
<a id="{{ current_class.name + ':' + method.name }}" class="fn" href="{{ root(current_class.name + '/' + method.name + '.html') }}">{{ method.name }}</a>
{%- endfor %}
`);