openstack-manuals/www/pike/api/index.html
Andreas Jaeger e852bb5626 add SERIES_TITLE template variable
Add a variable to hold the title of the series for a given
template. This is set to the name, regardless of whether the series is
the "latest" or not.

Change-Id: I3ca9b19b9e46478107f4c689f85772f15863557a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-24 16:24:43 -04:00

67 lines
2.9 KiB
HTML

{% set projects = PROJECT_DATA[SERIES] %}
{% extends "templates/base.tmpl" %}
{% block pagetitle %}{{SERIES_TITLE}} API references{% endblock %}
{% block title %}API references{% endblock %}
{% block header %}
{% endblock header %}
{% block content %}
<!-- Begin Page Content -->
<div class="top-docs-wrapper">
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8">
<h1>OpenStack {{SERIES_TITLE}} API Reference Documentation</h1>
<p>
This page contains documentation about the OpenStack API and how to use it.
</p>
</div>
</div>
</div>
<div class="mid-docs-wrapper" id="docs-main-body">
<div class="container">
<div class="row">
<div class="col-lg-12">
</div>
</div>
<div class="row docs-toc">
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="docs-link-sections">
<h3><i class="fa fa-book"></i> API References</h3>
Combined <a href="https://developer.openstack.org/api-ref.html">API Reference</a><br/>
{% for project in projects|sort(attribute='service') %}
{% if project.has_api_ref or project.has_api_guide or project.has_in_tree_api_docs %}
{{project.service}} ({{project.name}}):
{% if project.has_api_ref %}
<a href="https://developer.openstack.org/api-ref/{{project.service_type}}/"> API Reference</a>
{% endif %}
{% if project.has_in_tree_api_docs %}
<a href="/{{project.name}}/{{SERIES}}/api/"> API Guide</a>
{% endif %}
{% if project.has_api_guide %}
<a href="https://developer.openstack.org/api-guide/{{project.service_type}}/"> API Guide</a>
{% endif %}
<br/>
{% endif %}
{% endfor %}
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<div class="docs-link-sections">
<h3><i class="fa fa-cloud"></i> User Guides</h3>
<a href="https://developer.openstack.org/api-guide/quick-start/">API Guide</a><br/>
<a href="../user/">OpenStack End User Guides (includes Python SDK)</a><br/>
<a href="https://developer.openstack.org">Open source software for application development</a><br/>
</div>
</div>
</div>
<div class="row docs-contribute-wrapper">
<div class="col-lg-12">
<p>Documentation treated like code, powered by the community - interested?</p>
<a href="/contributor-guide/" class="overview-btn contribute-btn">How To Contribute <i class="fa fa-chevron-right"></i></a>
</div>
</div>
</div>
</div>
<!-- End Page Content -->
{% endblock content %}