zulip/templates/zerver/api/main.html
Tim Abbott f01f596138 help: Merge api.js and help.js bundles to fix code blocks.
In addition to decreasing the excessive number of bundles we had, this
will set us up to fix rendering of code blocks when clicking the
sidebar links in the /api-new site.
2017-10-30 22:53:17 -07:00

34 lines
1.4 KiB
HTML

{% extends "zerver/portico-help.html" %}
{# API information page #}
{% block portico_content %}
<div class="app help api-docs terms-page inline-block">
<div class="sidebar">
<h2 class="no-arrow"><a href="/api-new/" class="no-underline">Index</a></h2>
{{ render_markdown_path("zerver/api/sidebar.md") }}
</div>
<svg height="32px" class="hamburger" style="enable-background:new 0 0 32 32;" version="1.1" viewBox="0 0 32 32" width="32px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<path d="M4,10h24c1.104,0,2-0.896,2-2s-0.896-2-2-2H4C2.896,6,2,6.896,2,8S2.896,10,4,10z M28,14H4c-1.104,0-2,0.896-2,2 s0.896,2,2,2h24c1.104,0,2-0.896,2-2S29.104,14,28,14z M28,22H4c-1.104,0-2,0.896-2,2s0.896,2,2,2h24c1.104,0,2-0.896,2-2 S29.104,22,28,22z"></path>
</svg>
<div class="markdown">
<div class="content">
{{ render_markdown_path(article) }}
<div id="footer" class="documentation-footer">
<hr />
<p>
<a href="/api-new/">Documentation home</a>.
The Zulip software, including this documentation, is open source! Learn how
you can contribute <a href="https://zulip.readthedocs.io/en/latest/user-docs.html">here</a>.
</p>
</div>
</div>
</div>
</div>
{{ render_bundle("help") }}
{% endblock %}