summaryrefslogtreecommitdiff
path: root/doc/tools
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-10-05 16:26:28 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-10-05 19:13:24 +0200
commit20b56f557cdc21c31f5c8d8c936b085685d9aa6f (patch)
tree989feca97e7e58eae167c2785ffae7ffaaf239ce /doc/tools
parent1e36f5f524d3cdee65c635600b1afc3ce4a8dbb6 (diff)
makerst: Disable making refs for operator methods
As this requires more work to ensure that the refs are valid and unique.
Diffstat (limited to 'doc/tools')
-rwxr-xr-xdoc/tools/makerst.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/tools/makerst.py b/doc/tools/makerst.py
index 105388dd0b..1ec9627c2c 100755
--- a/doc/tools/makerst.py
+++ b/doc/tools/makerst.py
@@ -1053,6 +1053,11 @@ def make_method_signature(
ret_type = method_def.return_type.to_rst(state)
ref_type = "method"
+ # FIXME: Need to add proper support for operator methods, but generating a unique
+ # and valid ref for them is not trivial.
+ if method_def.name.startswith("operator "):
+ make_ref = False
+
out = ""
if make_ref: