wmlscope: report optional macro arguments in HTML output
This commit is contained in:
parent
8c3ca97287
commit
b39ca0e548
1 changed files with 2 additions and 0 deletions
|
@ -380,6 +380,8 @@ class CrossRefLister(CrossRef):
|
|||
outstr += "<span class='macro-name'>" + header[0] + "</span>"
|
||||
if header[1:]:
|
||||
outstr += " <var class='macro-formals'>"+" ".join(header[1:])+"</var>"
|
||||
if entry.optional_args:
|
||||
outstr += " Optional arguments: <var class='macro-formals'>" + " ".join(entry.optional_args) + "</var>"
|
||||
outstr += "\n</code></dt>\n"
|
||||
outstr += "<dd>\n"
|
||||
if entry.deprecated:
|
||||
|
|
Loading…
Add table
Reference in a new issue