openstack-manuals/www/mitaka/api/index.html
Doug Hellmann fa85f4e462 add api landing pages for older releases
Add reduced project-data files for older releases that only include
projects with API reference docs or guides to allow us to copy the API
landing page template from pike.

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

66 lines
2.9 KiB
HTML

{% set projects = PROJECT_DATA[SERIES] %}
{% extends "templates/base.tmpl" %}
{% block pagetitle %}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 {% if SERIES != 'latest' %}{{SERIES|title}}{% endif %} 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="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 %}