10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-10-30 10:48:15 +01:00

Fix for sphinx functions

This commit is contained in:
Anthony Scemama 2024-03-20 16:05:42 +01:00
parent 4ab1b175fc
commit ba1a2837aa

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)