From a923eff9a498af7780615a7dfaf6031eacf3510f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 13 Sep 2018 01:55:56 +0200 Subject: [PATCH] Doc: Use PascalCase names in hyperlinks We were not consistently applying .lower() every time we construct an hyperlink, so there would be case mismatch. It works fine to keep the natural case for those links. --- doc/tools/makerst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py index 056e5ca57f0..06b842d8e6c 100755 --- a/doc/tools/makerst.py +++ b/doc/tools/makerst.py @@ -312,7 +312,7 @@ def rstize_text(text, cclass): def make_type(t): global class_names if t in class_names: - return ':ref:`' + t + '`' + return ':ref:`' + t + '`' return t @@ -332,7 +332,7 @@ def make_enum(t): c = "@GlobalScope" e = t if c in class_names: - return ':ref:`' + e + '`' + return ':ref:`' + e + '`' return t