Skip to content

Commit 2ab17a0

Browse files
committed
test with broken link
1 parent ac1b6a2 commit 2ab17a0

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/deploy-n-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: 📃 Generate docs
3232
if: success()
3333
run: |
34-
invoke docs
34+
invoke docs --check-links
3535
3636
# Get branch/tag/latest name from git
3737
GITHUB_REF_REGEX="tags/v([0-9a-zA-Z\.\-]+)|(pull/[0-9]+)|heads/(.+)"

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
# autosummary options
6060
autosummary_generate = True
6161

62+
# linkcheck options
63+
# linkcheck_ignore = [r'http://localhost:\d+/']
64+
6265
# collect doc versions
6366
package_docs_root = 'https://gramaziokohler.github.io/compas_fab/'
6467

docs/getting_started.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Working in Blender
5858
==================
5959

6060
Once **COMPAS** itself is installed for Blender following the
61-
`documented procedure <https://compas.dev/compas/gettingstarted/cad/blender.html>`_,
61+
`documented procedure <https://compas.dev/compas/latest/gettingstarted/blender.html>`_,
6262
**COMPAS FAB** will automatically be available as well after installing it.
6363

6464

@@ -130,5 +130,5 @@ Next Steps
130130
* :ref:`Working with backends <backends>`
131131
* :ref:`COMPAS FAB Examples <examples>`
132132
* :ref:`COMPAS FAB API Reference <reference>`
133-
* `COMPAS Tutorials <https://compas.dev/compas/tutorial.html>`_
134-
* `COMPAS API Reference <https://compas.dev/compas/api.html>`_
133+
* `COMPAS Tutorials <https://compas.dev/compas/latest/tutorial.html>`_
134+
* `COMPAS API Reference <https://compas.dev/compas/latest/api.html>`_

src/compas_fab/sensors/baumer.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99

1010
class PosCon3D(SerialSensor):
11-
"""Provides an interface for the `Baumer PosCon3D edge measurement sensor
12-
<http://www.baumer.com/us-en/products/distance-measurement/light-section-sensors/poscon-3d-edge-measurement/>`_.
11+
"""Provides an interface for the Baumer PosCon3D edge measurement sensor.
1312
1413
The sensor has different interfaces to retrieve its data. This
1514
class provides access to the serial interface (RS-485). This
@@ -328,8 +327,7 @@ def adjust_to_dark_object(self, is_dark_object):
328327

329328

330329
class PosConCM(SerialSensor):
331-
"""Provides an interface for the `Baumer PosConCM round objects measurement sensor
332-
<http://www.baumer.com/us-en/products/distance-measurement/light-section-sensors/poscon-cm-measurement-of-round-objects/>`_.
330+
"""Provides an interface for the Baumer PosConCM round objects measurement sensor.
333331
334332
The sensor has different interfaces to retrieve its data. This
335333
class provides access to the serial interface (RS-485).

0 commit comments

Comments
 (0)