From e0c0a0d82360ab0577b557401358e91af76a7c93 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 8 Feb 2018 18:36:43 -0500 Subject: [PATCH] use case-insensitive sort for teams on highlights page Change-Id: If6b603b6d94f5ac7dceb5149bb8ac2e238e810a8 Signed-off-by: Doug Hellmann --- 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 0514f63fd0..a8ee2294c5 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 sorted(series_highlights.keys()): + for team in sorted(series_highlights.keys(), key=lambda x: x.lower()): app.info('[highlights] rendering %s highlights for %s' % (team.title(), series))