Skip to content

Commit

Permalink
Moved reports to sidebar and added hooks reference to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Aug 5, 2020
1 parent 2df95a5 commit eb4f0e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions data/templates/woocommerce/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@
</div>
<nav class="main-navigation">
<ul>
<li><a href="{{ path('hooks/hooks.html') }}">Hooks Reference</a></li>
{% if project.settings.custom['graphs.enabled'] %}
<li><a href="{{ path('graphs/classes.html') }}">Class Diagram</a></li>
{% endif %}
<li><a href="{{ path('reports/deprecated.html') }}">Deprecated</a></li>
<li><a href="{{ path('reports/errors.html') }}">Errors</a></li>
<li><a href="{{ path('reports/markers.html') }}">Markers</a></li>
<li><a href="https://docs.woocommerce.com/">Documentation</a></li>
<li><a href="https://woocommerce.github.io/woocommerce-rest-api-docs/">REST API Docs</a></li>
</ul>
Expand Down
5 changes: 5 additions & 0 deletions data/templates/woocommerce/sidebar.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@
</ul>
{% endfor %}
{% endif %}

<h1 class="phpdocumentor-sidebar__category-header">Reports</h1>
<h2 class="phpdocumentor-sidebar__root-package"><a href="{{ path('reports/deprecated.html') }}">Deprecated</a></h2>
<h2 class="phpdocumentor-sidebar__root-package"><a href="{{ path('reports/errors.html') }}">Errors</a></h2>
<h2 class="phpdocumentor-sidebar__root-package"><a href="{{ path('reports/markers.html') }}">Markers</a></h2>
</aside>

0 comments on commit eb4f0e3

Please sign in to comment.