-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule.html.jinja2
25 lines (24 loc) · 1.25 KB
/
module.html.jinja2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends "default/module.html.jinja2" %}
{#
Modify the SubModules block to include submodules that aren't exposed through __all__.
These submodules need to be included in the module list passed to pdoc.
#}
{% block nav_submodules %}
{# {% if module.submodules or module.fullname == "mediagrains.patterngenerators" %} #}
{% if module.fullname == "mediagrains" or module.fullname == "mediagrains.patterngenerators" %}
<h2>Submodules</h2>
<ul>
{% if module.fullname == "mediagrains" %}
<li><a href="mediagrains/comparison.html">comparison</a></li>
<li><a href="mediagrains/grains.html">grains</a></li>
<li><a href="mediagrains/numpy/numpy_grains.html">numpy/numpy_grains</a></li>
<li><a href="mediagrains/patterngenerators.html">patterngenerators</a></li>
<li><a href="mediagrains/tools.html">tools</a></li>
<li><a href="mediagrains/utils.html">utils</a></li>
{% elif module.fullname == "mediagrains.patterngenerators" %}
<li><a href="patterngenerators/audio.html">audio</a></li>
<li><a href="patterngenerators/video.html">video</a></li>
{% endif %}
</ul>
{% endif %}
{% endblock %}