mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	This commit allows for the /api-new/ page to rendered similarly to our /help pages. It's based on the old content for /api, but we're not replacing the old content yet, to give a bit of time to restructure things reasonably. Tweaked by eeshangarg and tabbott.
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			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("api") }}
 | 
						|
{% endblock %}
 |