Fix for sphinx functions

This commit is contained in:
Anthony Scemama 2024-03-20 16:05:42 +01:00
parent 4ab1b175fc
commit ba1a2837aa
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ def do_print_subroutines_rst(sub):
filename = sub.line.filename
name = sub.name
file = open("%s%s.rst"%(mandir,sub.name), "w")
print(".. c:function:: %s:\n"%(sub.name.lower()), file=file)
print(".. c:macro:: %s:\n"%(sub.name.lower()), file=file)
print("", file=file)
print(" File : :file:`"+filename+"`", file=file)
print("", file=file)