mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-06-24 03:33:17 +02:00
Added hover-text for argument tables.
This commit is contained in:
@ -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 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 Name | What it does")
|
||||
out.append('<abbr title="These args must be used by name, ie: name=value">By Name</abbr> | What it does')
|
||||
out.append("-------------- | ------------------------------")
|
||||
for argname, argdesc in self.named_arguments:
|
||||
argname = argname.replace(" / ", "` / `")
|
||||
|
Reference in New Issue
Block a user