Merge "add release notes links"

This commit is contained in:
Jenkins 2015-12-02 15:06:49 +00:00 committed by Gerrit Code Review
commit 37341bd7c6
26 changed files with 49 additions and 2 deletions

View File

@ -1,5 +1,6 @@
--- ---
launchpad: openstack-doc-tools launchpad: openstack-doc-tools
release-notes: http://docs.openstack.org/releasenotes/openstack-doc-tools/
releases: releases:
- version: 0.26 - version: 0.26
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: openstackdocstheme launchpad: openstackdocstheme
release-notes: http://docs.openstack.org/releasenotes/openstackdocstheme
releases: releases:
- version: 1.0.8 - version: 1.0.8
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: aodh launchpad: aodh
release-notes: http://docs.openstack.org/releasenotes/aodh/liberty.html
releases: releases:
- version: 1.0.0 - version: 1.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: ceilometer launchpad: ceilometer
release-notes: http://docs.openstack.org/releasenotes/ceilometer/liberty.html
releases: releases:
- version: 5.0.0 - version: 5.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: cinder launchpad: cinder
release-notes: http://docs.openstack.org/releasenotes/cinder/liberty.html
releases: releases:
- version: 7.0.0 - version: 7.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: glance launchpad: glance
release-notes: http://docs.openstack.org/releasenotes/glance/liberty.html
releases: releases:
- version: 11.0.0 - version: 11.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: horizon launchpad: horizon
release-notes: http://docs.openstack.org/releasenotes/horizon/liberty.html
releases: releases:
- version: 8.0.0 - version: 8.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: ironic launchpad: ironic
release-notes: http://docs.openstack.org/releasenotes/ironic/liberty.html
releases: releases:
- version: 4.0.0 - version: 4.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: keystone launchpad: keystone
release-notes: http://docs.openstack.org/releasenotes/keystone/liberty.html
releases: releases:
- version: 8.0.0 - version: 8.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: neutron launchpad: neutron
release-notes: http://docs.openstack.org/releasenotes/neutron/liberty.html
releases: releases:
- version: 7.0.0 - version: 7.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: nova launchpad: nova
release-notes: http://docs.openstack.org/releasenotes/nova/liberty.html
releases: releases:
- version: 12.0.0 - version: 12.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: sahara launchpad: sahara
release-notes: http://docs.openstack.org/releasenotes/sahara/liberty.html
releases: releases:
- version: 3.0.0 - version: 3.0.0
projects: projects:

View File

@ -1,5 +1,6 @@
--- ---
launchpad: zaqar launchpad: zaqar
release-notes: http://docs.openstack.org/releasenotes/zaqar/liberty.html
releases: releases:
- version: 1.0.0 - version: 1.0.0
projects: projects:

View File

@ -2,5 +2,7 @@
Austin Austin
======== ========
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Austin
.. deliverable:: .. deliverable::
:series: austin :series: austin

View File

@ -2,5 +2,7 @@
Bexar Bexar
======= =======
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Bexar
.. deliverable:: .. deliverable::
:series: bexar :series: bexar

View File

@ -2,5 +2,7 @@
Cactus Cactus
======== ========
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Cactus
.. deliverable:: .. deliverable::
:series: cactus :series: cactus

View File

@ -2,5 +2,7 @@
Diablo Diablo
======== ========
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Diablo
.. deliverable:: .. deliverable::
:series: diablo :series: diablo

View File

@ -2,5 +2,7 @@
Essex Essex
======= =======
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Essex
.. deliverable:: .. deliverable::
:series: essex :series: essex

View File

@ -2,5 +2,7 @@
Folsom Folsom
======== ========
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Folsom
.. deliverable:: .. deliverable::
:series: folsom :series: folsom

View File

@ -2,5 +2,7 @@
Grizzly Grizzly
========= =========
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Grizzly
.. deliverable:: .. deliverable::
:series: grizzly :series: grizzly

View File

@ -2,5 +2,7 @@
Havana Havana
======== ========
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Havana
.. deliverable:: .. deliverable::
:series: havana :series: havana

View File

@ -2,5 +2,7 @@
Icehouse Icehouse
========== ==========
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Icehouse
.. deliverable:: .. deliverable::
:series: icehouse :series: icehouse

View File

@ -4,5 +4,7 @@
Originally Released: 2014-10-16 Originally Released: 2014-10-16
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Juno
.. deliverable:: .. deliverable::
:series: juno :series: juno

View File

@ -4,5 +4,7 @@
Originally Released: 2015-04-30 Originally Released: 2015-04-30
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Kilo
.. deliverable:: .. deliverable::
:series: kilo :series: kilo

View File

@ -4,5 +4,7 @@
Originally Released: 2015-10-15 Originally Released: 2015-10-15
Release Notes: https://wiki.openstack.org/wiki/ReleaseNotes/Liberty
.. deliverable:: .. deliverable::
:series: liberty :series: liberty

View File

@ -164,10 +164,15 @@ class DeliverableDirectiveBase(rst.Directive):
recent_version = deliverable_info.get('releases', {})[-1].get( recent_version = deliverable_info.get('releases', {})[-1].get(
'version', 'unreleased') 'version', 'unreleased')
ref = ':ref:`%s-%s`' % (series, deliverable_name) ref = ':ref:`%s-%s`' % (series, deliverable_name)
most_recent.append((ref, earliest_version, recent_version)) release_notes = deliverable_info.get('release-notes')
if release_notes:
notes_link = '`release notes <%s>`__' % release_notes
else:
notes_link = ''
most_recent.append((ref, earliest_version, recent_version, notes_link))
_list_table( _list_table(
lambda t: result.append(t, source_name), lambda t: result.append(t, source_name),
['Deliverable', 'Earliest Version', 'Most Recent Version'], ['Deliverable', 'Earliest Version', 'Most Recent Version', 'Notes'],
most_recent, most_recent,
title='Release Summary', title='Release Summary',
) )
@ -193,6 +198,11 @@ class DeliverableDirectiveBase(rst.Directive):
app.info('[deliverables] %s' % deliverable_name) app.info('[deliverables] %s' % deliverable_name)
release_notes = deliverable_info.get('release-notes')
if release_notes:
_add('')
_add('Release Notes: %s' % release_notes)
_add('')
_list_table( _list_table(
_add, _add,
['Version', 'Repo', 'Git Commit'], ['Version', 'Repo', 'Git Commit'],