mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-22 12:23:32 +01:00
Fix for sphinx functions
This commit is contained in:
parent
4ab1b175fc
commit
ba1a2837aa
@ -222,7 +222,7 @@ def do_print_subroutines_rst(sub):
|
|||||||
filename = sub.line.filename
|
filename = sub.line.filename
|
||||||
name = sub.name
|
name = sub.name
|
||||||
file = open("%s%s.rst"%(mandir,sub.name), "w")
|
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)
|
||||||
print(" File : :file:`"+filename+"`", file=file)
|
print(" File : :file:`"+filename+"`", file=file)
|
||||||
print("", file=file)
|
print("", file=file)
|
||||||
|
Loading…
Reference in New Issue
Block a user