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
release-notes: http://docs.openstack.org/releasenotes/openstack-doc-tools/
releases:
- version: 0.26
projects:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -164,10 +164,15 @@ class DeliverableDirectiveBase(rst.Directive):
recent_version = deliverable_info.get('releases', {})[-1].get(
'version', 'unreleased')
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(
lambda t: result.append(t, source_name),
['Deliverable', 'Earliest Version', 'Most Recent Version'],
['Deliverable', 'Earliest Version', 'Most Recent Version', 'Notes'],
most_recent,
title='Release Summary',
)
@ -193,6 +198,11 @@ class DeliverableDirectiveBase(rst.Directive):
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(
_add,
['Version', 'Repo', 'Git Commit'],