Skip to content

Commit 9745762

Browse files
authored
Merge pull request CadQuery#1058 from GandalfDG/doc_ref_fixes
Fix broken references in documentation
2 parents e28547e + 02fa078 commit 9745762

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

doc/assy.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@ When creating a Point constraint, the ``param`` argument can be used to specify
451451
between the two centers. This offset does not have a direction associated with it, if you want to
452452
specify an offset in a specific direction then you should use a dummy :class:`~cadquery.Vertex`.
453453

454-
The Point constraint uses the :meth:`~cadquery.occ_impl.Shape.Center` to find the center of the
455-
argument. Hence it will work with all subclasses of :class:`~caquery.occ_impl.Shape`.
454+
The Point constraint uses the :meth:`~cadquery.Shape.Center` to find the center of the
455+
argument. Hence it will work with all subclasses of :class:`~cadquery.Shape`.
456456

457457
.. cadquery::
458458

doc/examples.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
.. _examples:
22

3+
.. currentmodule:: cadquery
4+
35
*********************************
46
CadQuery Examples
57
*********************************

doc/primer.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ For example, this::
166166
Will actually create 4 circles, because ``vertices()`` selects 4 vertices of a rectangular face, and the ``circle()`` method
167167
iterates on each member of the stack.
168168

169-
This is really useful to remember when you author your own plugins. :py:meth:`cadquery.cq.Workplane.each` is useful for this purpose.
169+
This is really useful to remember when you author your own plugins. :py:meth:`cadquery.Workplane.each` is useful for this purpose.
170170

171171
CadQuery API layers
172172
---------------------------
@@ -284,6 +284,8 @@ Below is presented the different ways you can interact with the different API la
284284
Fluent API <=> Direct API
285285
-------------------------
286286

287+
.. currentmodule:: cadquery
288+
287289
Here are all the possibilities you have to get an object from the Direct API (i.e a topological object).
288290

289291
You can end the Fluent API call chain and get the last object on the stack with :py:meth:`Workplane.val` alternatively you can get all

0 commit comments

Comments
 (0)