Added hover-text for argument tables.

This commit is contained in:
Garth Minette
2021-01-05 13:59:02 -08:00
parent 574508e500
commit e0614732b6
3 changed files with 3 additions and 29 deletions

View File

@ -576,7 +576,7 @@ class LeafNode(object):
out.append("")
if self.arguments:
out.append("**Arguments:**")
out.append("By Position | What it does")
out.append('<abbr title="These args can be used by position or by name.">By&nbsp;Position</abbr> | What it does')
out.append("---------------- | ------------------------------")
for argname, argdesc in self.arguments:
argname = argname.replace(" / ", "` / `")
@ -588,7 +588,7 @@ class LeafNode(object):
)
out.append("")
if self.named_arguments:
out.append("By&nbsp;Name | What it does")
out.append('<abbr title="These args must be used by name, ie: name=value">By&nbsp;Name</abbr> | What it does')
out.append("-------------- | ------------------------------")
for argname, argdesc in self.named_arguments:
argname = argname.replace(" / ", "` / `")