mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Make syntax highlighting explicit in docs
This commit is contained in:
@@ -39,7 +39,9 @@ class Usecase:
|
||||
:return: The newly created IfcArbitraryClosedProfileDef
|
||||
:rtype: ifcopenshell.entity_instance.entity_instance
|
||||
|
||||
Example::
|
||||
Example:
|
||||
|
||||
.. code:: python
|
||||
|
||||
# A 10mm by 100mm rectangle, such that might be used as a wooden
|
||||
# skirting board or kick plate.
|
||||
|
||||
@@ -34,7 +34,9 @@ class Usecase:
|
||||
:return: The newly created element depending on the specified ifc_class.
|
||||
:rtype: ifcopenshell.entity_instance.entity_instance
|
||||
|
||||
Example::
|
||||
Example:
|
||||
|
||||
.. code:: python
|
||||
|
||||
circle = ifcopenshell.api.run("profile.add_parameterized_profile", model,
|
||||
ifc_class="IfcCircleProfileDef")
|
||||
|
||||
@@ -31,7 +31,9 @@ class Usecase:
|
||||
:return: None
|
||||
:rtype: None
|
||||
|
||||
Example::
|
||||
Example:
|
||||
|
||||
.. code:: python
|
||||
|
||||
circle = ifcopenshell.api.run("profile.add_parameterized_profile", model,
|
||||
ifc_class="IfcCircleProfileDef")
|
||||
|
||||
@@ -26,7 +26,9 @@ class Usecase:
|
||||
:return: None
|
||||
:rtype: None
|
||||
|
||||
Example::
|
||||
Example:
|
||||
|
||||
.. code:: python
|
||||
|
||||
circle = ifcopenshell.api.run("profile.add_parameterized_profile", model,
|
||||
ifc_class="IfcCircleProfileDef")
|
||||
|
||||
Reference in New Issue
Block a user