diff --git a/doc/source/_exts/ptl.jinja b/doc/source/_exts/ptl.jinja index 2142f07a..8aa55b79 100644 --- a/doc/source/_exts/ptl.jinja +++ b/doc/source/_exts/ptl.jinja @@ -4,7 +4,7 @@ * `{{ project.replace('_', ' ') }} `_ {% for candidate in candidates[project] %} - * `{{ candidate.split('/')[-1][:-4].replace('_', ' ') }} `_ + * `{{ candidate.split('/')[-1][:-4].replace('_', ' ').title() }} `_ {% endfor %} {% endif %}{% endfor %} diff --git a/doc/source/_exts/tc.jinja b/doc/source/_exts/tc.jinja index 9e2b441c..3a95d476 100644 --- a/doc/source/_exts/tc.jinja +++ b/doc/source/_exts/tc.jinja @@ -2,5 +2,5 @@ ====================== {% for candidate in candidates['TC'] %} - * `{{ candidate.split('/')[-1][:-4].replace('_', ' ') }} `_ + * `{{ candidate.split('/')[-1][:-4].replace('_', ' ').title() }} `_ {% endfor %} diff --git a/tools/render-wiki-list.py b/tools/render-wiki-list.py index 3ed4620a..ec500b00 100755 --- a/tools/render-wiki-list.py +++ b/tools/render-wiki-list.py @@ -22,6 +22,7 @@ def main(argv): print "* %s" % project.replace('_', ' ') for candidate in candidates_list['candidates'][project]: candidate_name = candidate.split('/')[-1][:-4].replace('_', ' ') + candidate_name = candidate_name.title() print "** [%s/%s %s]" % (GIT_BASE, candidate.replace(' ', '%20'), candidate_name)