diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-13 01:55:56 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-13 01:55:56 +0200 |
commit | a923eff9a498af7780615a7dfaf6031eacf3510f (patch) | |
tree | 51fe9b468d64bea1af458fc4e8b6d77e46b1e7a9 | |
parent | ba64ea22830dd8e627428d7a0002c4ff70cd408d (diff) |
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.
-rwxr-xr-x | doc/tools/makerst.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py index 056e5ca57f..06b842d8e6 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 + '<class_' + t.lower() + '>`' + return ':ref:`' + t + '<class_' + t + '>`' return t @@ -332,7 +332,7 @@ def make_enum(t): c = "@GlobalScope" e = t if c in class_names: - return ':ref:`' + e + '<enum_' + c.lower() + '_' + e.lower() + '>`' + return ':ref:`' + e + '<enum_' + c + '_' + e + '>`' return t |