diff --git a/doc/tools/make_rst.py b/doc/tools/make_rst.py index 89308b1ee100..33cd02c38d87 100755 --- a/doc/tools/make_rst.py +++ b/doc/tools/make_rst.py @@ -1074,6 +1074,14 @@ def make_rst_class(class_def: ClassDef, state: State, dry_run: bool, output_dir: if constant.text is not None and constant.text.strip() != "": f.write(f"{format_text_block(constant.text.strip(), constant, state)}") + else: + f.write(".. container:: contribute\n\n\t") + f.write( + translate( + "There is currently no description for this constant. Please help us by :ref:`contributing one `!" + ) + + "\n\n" + ) f.write("\n\n")