mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-06 16:36:39 +02:00
Docs gen fixes.
This commit is contained in:
@@ -415,7 +415,8 @@ class LeafNode(object):
|
|||||||
out.append(" " + line)
|
out.append(" " + line)
|
||||||
out.append("")
|
out.append("")
|
||||||
san_name = re.sub(r"[^A-Za-z0-9_]", "", self.name)
|
san_name = re.sub(r"[^A-Za-z0-9_]", "", self.name)
|
||||||
imgfile = "{0}{1}.{2}".format(
|
imgfile = "{}{}{}.{}".format(
|
||||||
|
"f_" if self.leaftype == "Function" else "",
|
||||||
san_name,
|
san_name,
|
||||||
("_%d" % exnum) if exnum > 1 else "",
|
("_%d" % exnum) if exnum > 1 else "",
|
||||||
"gif" if "Spin" in extype else "png"
|
"gif" if "Spin" in extype else "png"
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
if [[ $# > 0 ]]; then
|
if [[ $# > 0 ]]; then
|
||||||
PREVIEW_LIBS="$@"
|
PREVIEW_LIBS="$@"
|
||||||
else
|
else
|
||||||
PREVIEW_LIBS="compat attachments math arrays vectors matrices coords geometry triangulation quaternions hull constants transforms primitives shapes masks paths beziers walls metric_screws threading involute_gears sliders joiners linear_bearings nema_steppers wiring phillips_drive torx_drive polyhedra debug"
|
PREVIEW_LIBS="compat attachments math arrays vectors matrices coords geometry triangulation quaternions hull constants transforms primitives shapes masks shapes2d paths beziers walls metric_screws threading involute_gears sliders joiners linear_bearings nema_steppers wiring phillips_drive torx_drive polyhedra debug"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dir="$(basename $PWD)"
|
dir="$(basename $PWD)"
|
||||||
|
Reference in New Issue
Block a user