From 7c393831f298a5c7b4c613bc8ec3afaaf78315e4 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Fri, 2 Feb 2018 12:09:54 -0600 Subject: [PATCH] Sort team names in highlight output Teams were being added in the order they were processed, which could result in a jumbled list in the generated highlights page. This sorts the teams by name to have some logical ordering to the results to make it easier to locate specific team notes in the output. Change-Id: I91fef6e5e5aed71f285ba96d5458ad56568d1335 --- openstack_releases/sphinxext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_releases/sphinxext.py b/openstack_releases/sphinxext.py index 7ab663948d..0514f63fd0 100644 --- a/openstack_releases/sphinxext.py +++ b/openstack_releases/sphinxext.py @@ -425,7 +425,7 @@ class HighlightsDirective(rst.Directive): series_highlights = self._get_deliverable_highlights(series) source_name = '<{}>'.format(__name__) - for team in series_highlights.keys(): + for team in sorted(series_highlights.keys()): app.info('[highlights] rendering %s highlights for %s' % (team.title(), series))