Skip to content

Commit eb4f0e3

Browse files
Moved reports to sidebar and added hooks reference to menu
1 parent 2df95a5 commit eb4f0e3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

data/templates/woocommerce/base.html.twig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@
2828
</div>
2929
<nav class="main-navigation">
3030
<ul>
31+
<li><a href="{{ path('hooks/hooks.html') }}">Hooks Reference</a></li>
3132
{% if project.settings.custom['graphs.enabled'] %}
3233
<li><a href="{{ path('graphs/classes.html') }}">Class Diagram</a></li>
3334
{% endif %}
34-
<li><a href="{{ path('reports/deprecated.html') }}">Deprecated</a></li>
35-
<li><a href="{{ path('reports/errors.html') }}">Errors</a></li>
36-
<li><a href="{{ path('reports/markers.html') }}">Markers</a></li>
3735
<li><a href="https://docs.woocommerce.com/">Documentation</a></li>
3836
<li><a href="https://woocommerce.github.io/woocommerce-rest-api-docs/">REST API Docs</a></li>
3937
</ul>

data/templates/woocommerce/sidebar.html.twig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@
2727
</ul>
2828
{% endfor %}
2929
{% endif %}
30+
31+
<h1 class="phpdocumentor-sidebar__category-header">Reports</h1>
32+
<h2 class="phpdocumentor-sidebar__root-package"><a href="{{ path('reports/deprecated.html') }}">Deprecated</a></h2>
33+
<h2 class="phpdocumentor-sidebar__root-package"><a href="{{ path('reports/errors.html') }}">Errors</a></h2>
34+
<h2 class="phpdocumentor-sidebar__root-package"><a href="{{ path('reports/markers.html') }}">Markers</a></h2>
3035
</aside>

0 commit comments

Comments
 (0)