diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-02-07 18:30:12 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-02-07 18:30:18 +0100 |
commit | 0f11b322b3448b213059de6927a94ce5aab6915e (patch) | |
tree | bca10b09259c3a84b70ec32ac01b352c97c80f19 /doc/tools | |
parent | 1af65aff44c23947e58cfec9468f9c20b8763431 (diff) |
Improve parsing of [method ...] tags
Also improve some code display.
Diffstat (limited to 'doc/tools')
-rw-r--r-- | 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 a31b7134f1..1e2d276fb3 100644 --- a/doc/tools/makerst.py +++ b/doc/tools/makerst.py @@ -166,9 +166,9 @@ def rstize_text(text,cclass): if param.find('.') != -1: (class_param, method_param) = param.split('.') - tag_text = ':ref:`'+class_param+'.'+method_param+'<' + class_param.lower() + '_' + method_param + '>`' + tag_text = ':ref:`'+class_param+'.'+method_param+'<class_' + class_param + '_' + method_param + '>`' else: - tag_text = ':ref:`' + param + '<' + cclass +"_"+ param + '>`' + tag_text = ':ref:`' + param + '<class_' + cclass +"_"+ param + '>`' elif cmd.find('image=') == 0: tag_text = "" #'![](' + cmd[6:] + ')' elif cmd.find('url=') == 0: |