mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Make syntax highlighting explicit in docs
This commit is contained in:
@@ -43,7 +43,9 @@ class Usecase:
|
||||
whole still contains any other parts.
|
||||
:rtype: ifcopenshell.entity_instance.entity_instance, None
|
||||
|
||||
Example::
|
||||
Example:
|
||||
|
||||
.. code:: python
|
||||
|
||||
element = ifcopenshell.api.run("root.create_entity", model, ifc_class="IfcSite")
|
||||
subelement1 = ifcopenshell.api.run("root.create_entity", model, ifc_class="IfcBuilding")
|
||||
|
||||
Reference in New Issue
Block a user