link to the mitaka CLI guide

Replace the use of the project_guides.tmpl template in the mitaka
index file with inline versions that link to the mitaka-specific
pages.

Add a language-bindings.html page based on the one for ocata to link
to the user-guide and cli-reference for mitaka.

Add a projects.html page to link to the mitaka documentation for each
service project.

Change-Id: I173ecabeb3aa74a3d2ddc6b4ba898d881dcf752d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-11-27 13:40:07 -05:00
parent bda57e6992
commit cf3423a3ee
3 changed files with 112 additions and 1 deletions

View File

@ -37,7 +37,13 @@
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
{% include 'templates/user_guides.tmpl' %}
{% include 'templates/project_guides.tmpl' %}
<div class="docs-link-sections">
<h3 id="services-libraries"><i class="fa fa-leaf"></i>Project-specific Guides</h3>
<a href="projects.html">Services and Libraries</a>
<p>Documentation for OpenStack services and libraries</p>
<a href="language-bindings.html">Language Bindings and Python Clients</a>
<p>Documentation for the OpenStack Python bindings and clients</p>
</div>
{% include 'templates/contributor_guides.tmpl' %}
{% include 'templates/training_guides.tmpl' %}
</div>

View File

@ -0,0 +1,54 @@
{% set projects = PROJECT_DATA[SERIES] %}
{% extends "templates/base.tmpl" %}
{% block pagetitle %}{{SERIES_TITLE}} Language bindings{% endblock %}
{% block title %}
<a href="https://docs.openstack.org/">Documentation</a> &gt; Language Bindings and Python Clients
{% endblock %}
{% 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 Bindings</h1>
<p>
This page contains documentation about the Python
bindings provided by OpenStack and how to use them.
</p>
</div>
</div>
</div>
<div class="mid-docs-wrapper" id="docs-main-body">
<div class="container">
<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-cloud"></i>Use the dashboard and command-line clients</h3>
<a href="user-guide">
OpenStack End User Guide
</a><br />
<p>
User guide for the OpenStack dashboard and command-line clients.
</p>
<a href="cli-reference/">
OpenStack Command Line Interface Reference
</a><br />
<p>
Reference listing of all commands and parameters
available for keystone, glance, neutron, nova,
cinder, swift, heat, and ceilometer commands.
</p>
</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="/doc-contrib-guide/" class="overview-btn contribute-btn"
>How To Contribute <i class="fa fa-chevron-right"></i></a>
</div>
</div>
</div>
</div>
{% endblock content %}

51
www/mitaka/projects.html Normal file
View File

@ -0,0 +1,51 @@
{% set projects = PROJECT_DATA[SERIES] %}
{% extends "templates/base.tmpl" %}
{% block pagetitle %}{{SERIES_TITLE}} Services and Libraries{% endblock %}
{% block title %}
<a href="https://docs.openstack.org">Documentation</a> &gt; Services and Libraries
{% endblock %}
{% 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}} Projects</h1>
<p>
This page contains project-specific documentation for
OpenStack services and libraries.
</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-cog"></i>OpenStack Services</h3>
{% for project in projects|sort(attribute='service') %}
{% if project.type in ['service', 'other'] %}
<a href="/{{project.name}}/latest/">
{{project.service}} ({{project.name}})</a><br />
{% endif %}
{% endfor %}
</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="/doc-contrib-guide/" class="overview-btn contribute-btn">How To Contribute <i class="fa fa-chevron-right"></i></a>
</div>
</div>
</div>
</div>
{% endblock content %}