Skip to content

Commit

Permalink
feat: list all messages in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
WaleedAshraf committed May 22, 2020
1 parent a44d8fd commit a158e2d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,17 @@ <h2 class="text-xs uppercase text-grey mt-10 mb-4 font-thin">Operations</h2>
{% endfor %}
</ul>
{% endif %}
<h2 class="text-xs uppercase text-grey mt-10 mb-4 font-thin">Messages</h2>
<ul class="text-sm list-reset mt-2">
{% for message in asyncapi.allMessages().keys() %}
<a class="js-menu-item flex break-words no-underline text-grey-darkest mt-8 sm:mt-8 md:mt-3"
href="#message-{{ message }}">
<div style="display:inline-block;">
{{ slicedString(message, 'padding-top: 2px;') }}
</div>
</a>
{% endfor %}
</ul>
{% endif %}
</div>
</div>

0 comments on commit a158e2d

Please sign in to comment.