From 4b160f921352f6fb42bdd41baab271e1e298c975 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 14 Jun 2018 21:52:10 +0000 Subject: [PATCH] Include PTL E-mail address in rendered team pages Display each current PTL's tracked E-mail address next to their name and IRC nick. We've been tracking PTL contact E-mail addresses in the governance repository for many cycles, but not presenting them on the rendered https://governance.openstack.org/tc/projects/.html team detail pages. The addresses themselves are far from secret and are already "published" in the YAML version of our projects list, so there's little to be gained by obscuring them from/in the HTML version. Change-Id: I55d0ea058f645e8ba91cfc186eee00488ddbedcb Story: #2001923 Task: #14450 --- doc/source/_exts/teams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/_exts/teams.py b/doc/source/_exts/teams.py index 69b5e4088..b35b5f68e 100644 --- a/doc/source/_exts/teams.py +++ b/doc/source/_exts/teams.py @@ -40,8 +40,8 @@ def _team_to_rst(name, info): yield '=' * len(title) yield '' yield ':Home Page: ' + info.get('url', '') - ptl = info.get('ptl', {'name': '', 'irc': ''}) - yield ':PTL: %(name)s (``%(irc)s``)' % ptl + ptl = info.get('ptl', {'name': '', 'irc': '', 'email': ''}) + yield ':PTL: %(name)s (``%(irc)s``) <%(email)s>' % ptl irc_channel = info.get('irc-channel') if irc_channel: yield ':IRC Channel: `#%s <%s%s>`__' % (