Skip to content

Commit 4d5d249

Browse files
committed
minor docs fixes
1 parent 84b8dfd commit 4d5d249

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/tutorial/brep.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ For example, when in Rhino
6565
compas_rhino.geometry.RhinoBrep
6666
6767
Every backend is expected to implement some alternative constructors
68+
6869
.. code-block::
6970
7071
>>> from compas.geometry import Box
@@ -75,6 +76,7 @@ Every backend is expected to implement some alternative constructors
7576
7677
7778
`Brep` can also be instantiated from an instance of a backend native `Brep`
79+
7880
.. code-block::
7981
8082
>>> import Rhino
@@ -114,7 +116,7 @@ Implementing a new backend
114116

115117
If you wish to create an additional backend to `Brep` in your package, this can be done using the plugin system of COMPAS.
116118

117-
Create a Brep type in your package which inherits from `compas.geometry.Brep` and override the `__new__` dundle as follows:
119+
Create a Brep type in your package which inherits from :class:`compas.geometry.Brep` and override the `__new__` dundle as follows:
118120

119121
.. code-block::
120122
@@ -144,5 +146,5 @@ Now, a call to `compas.geometry.Brep()` will result in an instance of `your.pack
144146
Implementing the `compas.data.Data` interface
145147
---------------------------------------------
146148
A powerful feature of this approach is to be able to serialize a Brep created in one backend and de-serialize it using another.
147-
For that, it is required that `your.package.OccBrep` implements the `compas.data.Data` interface and follows the unified serialization protocol.
149+
For that, it is required that `your.package.OccBrep` implements the :class:`compas.data.Data` interface and follows the unified serialization protocol.
148150

0 commit comments

Comments
 (0)