makerst: Disable making refs for operator methods

As this requires more work to ensure that the refs are valid and unique.
This commit is contained in:
Rémi Verschelde 2021-10-05 16:26:28 +02:00
parent 1e36f5f524
commit 20b56f557c
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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: