wmlscope: do not report 'INTERNAL:' macros in the macro reference
This commit is contained in:
parent
eaa39d653b
commit
00a5beb5ae
1 changed files with 3 additions and 1 deletions
|
@ -337,7 +337,9 @@ class CrossRefLister(CrossRef):
|
|||
def extracthelp(self, pref, fp):
|
||||
"Deliver all macro help comments in HTML form."
|
||||
# Bug: finds only the first definition of each macro in scope.
|
||||
doclist = [x for x in self.xref.keys()]
|
||||
# macros starting with INTERNAL: are only for internal use
|
||||
# and aren't supposed to be reported in the macro reference
|
||||
doclist = [x for x in self.xref.keys() if not x.startswith("INTERNAL:")]
|
||||
doclist.sort(key=lambda element: self.xref[element][0])
|
||||
outstr = ""
|
||||
filename = None
|
||||
|
|
Loading…
Add table
Reference in a new issue