mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Render sidebar dynamically with js
This commit is contained in:
5
docs/ElunaDoc/templates/sidebar.js
Normal file
5
docs/ElunaDoc/templates/sidebar.js
Normal 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 %}
|
||||
`);
|
||||
Reference in New Issue
Block a user