Merge pull request #365 from revarbat/revarbat_dev

Added hover-text for argument tables.
This commit is contained in:
Revar Desmera 2021-01-05 14:01:36 -08:00 committed by GitHub
commit 3712de6c58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 29 deletions

View file

@ -1,26 +0,0 @@
Cpi PI
hypot3 norm([x,y,z])
distance norm(p2-p1)
cdr slice(list, 1, -1)
wrap_range select()
vector2d_angle vector_angle()
vector3d_angle vector_angle()
rotate_points3d_around_axis rotate_points3d(pts, v=ang, axis=u, cp=cp)
cube2pt cuboid(p1, p2)
span_cube cuboid(p1, p2)
offsetcube cuboid(..., align)
chamfcube cuboid(..., chamfer, edges, trimcorners)
rrect cuboid(..., fillet, edges)
rcube cuboid(..., fillet)
trapezoid prismoid()
pyramid cyl(..., r2=0, $fn=N)
prism cyl(..., $fn=N)
chamferred_cylinder cyl(..., chamfer)
chamf_cyl cyl(..., chamfer)
filleted_cylinder cyl(..., fillet)
rcylinder cyl(..., fillet)
thinning_brace thinning_triangle(..., diagonly=true)
translate_copies place_copies()
line_of spread(p1, p2)
grid_of grid3d()

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(" / ", "` / `")

View file

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