diff --git a/process_links.py b/process_links.py index 830c073692b7..0a6243e5d089 100644 --- a/process_links.py +++ b/process_links.py @@ -79,6 +79,7 @@ def process_docstring(app, what, name, obj, options, lines): lines_out.append( re.sub(rf"\b{class_name}\(", ".. py:method:: __init__(", line) ) + lines_out.append(" :noindex:") lines_out.append("") else: lines_out.append(" " + line)