This commit is contained in:
Massimo Fabbro
2025-11-22 08:50:50 +01:00
committed by Massimo Fabbro
parent 87283874a1
commit 27d0b04db5
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ class Unit(bonsai.core.tool.Unit):
return f"{feet}'"
# If feet is 0, just show inches
elif feet == 0:
return f"{inches:.4g}\""
return f'{inches:.4g}"'
# Show both feet and inches
else:
return f"{feet}'{inches:.4g}\""
+6 -1
View File
@@ -104,7 +104,12 @@ autoapi_dirs = [
# These are auto-generated based on the IFC schema, so exclude them
# Temporarily ignore bsdd files until they are packaged properly in the wheel.
autoapi_ignore = ["*ifcopenshell/express/rules*", "*bsdd/bsdd_json.py", "*bsdd/type_hints.py", "*bsdd/yml_to_classes.py"]
autoapi_ignore = [
"*ifcopenshell/express/rules*",
"*bsdd/bsdd_json.py",
"*bsdd/type_hints.py",
"*bsdd/yml_to_classes.py",
]
# Custom autoapi templates to make it easier to read our docs
autoapi_template_dir = "_autoapi_templates"