Files
openstack-manuals/www/pike/user/index.html
Doug Hellmann fed641fe66 have the page generator set the series for each page
Instead of setting the series for each page within the page by hand,
have the template rendering code derive the value based on the path to
the template.

Change-Id: I366e809b710e5766c6345d817afc2717eff5e0a8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-21 11:21:29 -04:00

63 lines
2.2 KiB
HTML

{% set projects = PROJECT_DATA[series] %}
{% extends "templates/base.tmpl" %}
{% block pagetitle %}User Guides{% endblock %}
{% block title %}
<a href="https://docs.openstack.org">Documentation</a> &gt; User Guides
{% 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 Project User Guides</h1>
<p>
This page contains project-specific documentation for
using 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'] and project.has_user_guide %}
<a href="/{{project.name}}/{{series}}/user/">
{{project.service}} ({{project.name}})</a><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-cog"></i> Client Libraries</h3>
{% for project in projects|sort(attribute='name') %}
{% if project.type in ['client'] and project.has_user_guide %}
<a href="/{{project.name}}/{{series}}/">{{project.name}}</a><br />
<p>{{project.service}} </p>
{% endif %}
{% endfor %}
</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>
{% endblock content %}