Documentation generation formatting fix.

This commit is contained in:
Garth Minette 2021-02-02 03:38:10 -08:00
parent 708069479c
commit 3166e49292
2 changed files with 5 additions and 5 deletions

View file

@ -583,7 +583,7 @@ class LeafNode(object):
argname = " / ".join("`{}`".format(x.strip()) for x in argname.replace("|","/").split("/")) argname = " / ".join("`{}`".format(x.strip()) for x in argname.replace("|","/").split("/"))
out.append( out.append(
"{0:15s} | {1}".format( "{0:15s} | {1}".format(
"`{0}`".format(argname), mkdn_esc(argname),
mkdn_esc(argdesc) mkdn_esc(argdesc)
) )
) )
@ -595,7 +595,7 @@ class LeafNode(object):
argname = " / ".join("`{}`".format(x.strip()) for x in argname.replace("|","/").split("/")) argname = " / ".join("`{}`".format(x.strip()) for x in argname.replace("|","/").split("/"))
out.append( out.append(
"{0:15s} | {1}".format( "{0:15s} | {1}".format(
"`{0}`".format(argname), mkdn_esc(argname),
mkdn_esc(argdesc) mkdn_esc(argdesc)
) )
) )
@ -609,10 +609,10 @@ class LeafNode(object):
out.append("Anchor Name | Description") out.append("Anchor Name | Description")
out.append("--------------- | ------------------------------") out.append("--------------- | ------------------------------")
for anchorname, anchordesc in self.anchors: for anchorname, anchordesc in self.anchors:
anchorname = anchorname.replace(" / ", "` / `") anchorname = " / ".join("`{}`".format(x.strip()) for x in anchorname.replace("|","/").split("/"))
out.append( out.append(
"{0:15s} | {1}".format( "{0:15s} | {1}".format(
"`{0}`".format(anchorname), mkdn_esc(anchorname),
mkdn_esc(anchordesc) mkdn_esc(anchordesc)
) )
) )

View file

@ -6,7 +6,7 @@
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,558]; BOSL_VERSION = [2,0,559];
// Section: BOSL Library Version Functions // Section: BOSL Library Version Functions