Merge "parameterize the deploy guide list"
This commit is contained in:
commit
b41e28a6cc
@ -177,6 +177,8 @@ _URLS = [
|
||||
'https://developer.openstack.org/api-ref/{service_type}/index.html'),
|
||||
('has_api_guide', ['service'],
|
||||
'https://developer.openstack.org/api-guide/{service_type}/index.html'),
|
||||
('has_deployment_guide', ['deployment'],
|
||||
'https://docs.openstack.org/project-deploy-guide/{name}/{series}/index.html'), # noqa
|
||||
]
|
||||
|
||||
|
||||
|
@ -39,7 +39,7 @@ redirectmatch 301 "^/releases(.*)$" http://releases.openstack.org$1
|
||||
redirectmatch 301 ^/developer/kuryr-(kubernetes|libnetwork|tempest-plugin)/(.*)$ /kuryr-$1/latest/$2
|
||||
|
||||
# redirect all kolla sub-repositories appropriately
|
||||
redirectmatch 301 ^/developer/kolla-(ansible|kubernetes)/(.*)$ /kolla-$1/latest/$2
|
||||
redirectmatch 301 ^/developer/kolla-kubernetes/(.*)$ /kolla-kubernetes/latest/$1
|
||||
|
||||
# Redirect all openstack-ansible repositories appropriately
|
||||
redirectmatch 301 ^/developer/(ansible-hardening|openstack-ansible-[^/]+)/(.*)$ /$1/latest/$2
|
||||
@ -90,7 +90,6 @@ redirect 301 /doc-contrib-guide/ui-text-guidelines /doc-contrib-guide/ux-ui-guid
|
||||
|
||||
# Redirect any deploy guide project directory back to the current stable index
|
||||
redirectmatch 301 "^/project-deploy-guide/$" /{{RELEASED_SERIES}}/deploy/
|
||||
redirectmatch 301 "^/project-deploy-guide/openstack-ansible/$" /project-deploy-guide/openstack-ansible/{{RELEASED_SERIES}}/
|
||||
redirectmatch 301 "^/project-deploy-guide/newton/" /newton/deploy/
|
||||
redirectmatch 301 "^/project-deploy-guide/ocata/" /ocata/deploy/
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% set projects = PROJECT_DATA[SERIES] %}
|
||||
{% extends "templates/base.tmpl" %}
|
||||
{% block pagetitle %}{{SERIES_TITLE}} Deployment Guides{% endblock %}
|
||||
{% block title %}
|
||||
@ -22,8 +23,13 @@
|
||||
<div class="col-lg-6 col-md-6 col-sm-6">
|
||||
<div class="docs-link-sections">
|
||||
<h3><i class="fa fa-cogs"></i>By deployment method</h3>
|
||||
<p><a href="/project-deploy-guide/openstack-ansible/">OpenStack-Ansible Deployment Guide</a></li></p>
|
||||
<p><a href="/project-deploy-guide/kolla-ansible/">Kolla Deployment Guide</a></li></p>
|
||||
{% for project in projects|sort(attribute='name') -%}
|
||||
{% if project.type == 'deployment' and project.has_admin_guide %}
|
||||
<p><a href="/project-deploy-guide/{{project.name}}/{SERIES}/">
|
||||
{{project.service}} Guide
|
||||
</a></p>
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -844,6 +844,8 @@
|
||||
service: Deploying OpenStack with Ansible
|
||||
has_admin_guide: true
|
||||
has_user_guide: true
|
||||
# NOTE(dhellmann): There is no guide at /project-deploy-guide/openstack-ansible/latest/index.html
|
||||
# has_deployment_guide: true
|
||||
- name: tripleo-docs
|
||||
type: deployment
|
||||
service: Deploying OpenStack with TripleO
|
||||
@ -869,6 +871,11 @@
|
||||
service: Tooling for converting subunit streams into a SQL DB
|
||||
type: tool
|
||||
|
||||
- name: kolla-ansible
|
||||
service: Kolla Deployment
|
||||
type: deployment
|
||||
# has_deployment_guide: true
|
||||
|
||||
# Projects that do not appear in the service-types-authority list:
|
||||
# - kuryr
|
||||
# - dragonflow
|
||||
|
@ -736,6 +736,16 @@
|
||||
type: client
|
||||
description: tricircle client
|
||||
|
||||
- name: openstack-ansible
|
||||
service: OpenStack-Ansible Deployment
|
||||
type: deployment
|
||||
has_deployment_guide: true
|
||||
|
||||
- name: kolla-ansible
|
||||
service: Kolla Deployment
|
||||
type: deployment
|
||||
has_deployment_guide: true
|
||||
|
||||
# - name: os-win
|
||||
# service: Windows / Hyper-V library for OpenStack projects.
|
||||
# type: library
|
||||
|
@ -43,3 +43,5 @@ items:
|
||||
type: boolean
|
||||
has_in_tree_htaccess:
|
||||
type: boolean
|
||||
has_deployment_guide:
|
||||
type: boolean
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% set projects = PROJECT_DATA[SERIES] %}
|
||||
{% extends "templates/base.tmpl" %}
|
||||
{% block pagetitle %}{{SERIES_TITLE}} Deployment Guides{% endblock %}
|
||||
{% block title %}
|
||||
@ -22,8 +23,13 @@
|
||||
<div class="col-lg-6 col-md-6 col-sm-6">
|
||||
<div class="docs-link-sections">
|
||||
<h3><i class="fa fa-cogs"></i>By deployment method</h3>
|
||||
<p><a href="/project-deploy-guide/openstack-ansible/">OpenStack-Ansible Deployment Guide</a></li></p>
|
||||
<p><a href="/project-deploy-guide/kolla-ansible/">Kolla Deployment Guide</a></li></p>
|
||||
{% for project in projects|sort(attribute='name') -%}
|
||||
{% if project.type == 'deployment' and project.has_admin_guide %}
|
||||
<p><a href="/project-deploy-guide/{{project.name}}/{SERIES}/">
|
||||
{{project.service}} Guide
|
||||
</a></p>
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -51,8 +51,6 @@
|
||||
/developer/kuryr-tempest-plugin/any-page.html 301 /kuryr-tempest-plugin/latest/any-page.html
|
||||
|
||||
# redirect all kolla sub-repositories appropriately
|
||||
/developer/kolla-ansible/ 301 /kolla-ansible/latest/
|
||||
/developer/kolla-ansible/any-page.html 301 /kolla-ansible/latest/any-page.html
|
||||
/developer/kolla-kubernetes/ 301 /kolla-kubernetes/latest/
|
||||
/developer/kolla-kubernetes/any-page.html 301 /kolla-kubernetes/latest/any-page.html
|
||||
|
||||
@ -131,7 +129,6 @@
|
||||
|
||||
# Redirect any deploy guide project directory back to the current stable index
|
||||
/project-deploy-guide/ 301 /{{RELEASED_SERIES}}/deploy/
|
||||
/project-deploy-guide/openstack-ansible/ 301 /project-deploy-guide/openstack-ansible/{{RELEASED_SERIES}}/
|
||||
/project-deploy-guide/newton/ 301 /newton/deploy/
|
||||
/project-deploy-guide/ocata/ 301 /ocata/deploy/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user