Skip to content

Commit 131ea5f

Browse files
louis-preclaude
andcommitted
Fix broken asset links in brand-guides
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e9465dc commit 131ea5f

13 files changed

Lines changed: 18 additions & 17 deletions

File tree

codegen/validate-links.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ const absoluteUrlPattern = new RegExp(
1919

2020
// Matches markdown links like [text](path) but not images ![text](path),
2121
// absolute URLs, anchors-only, GitBook template tags, or angle-bracket paths.
22+
// The capture group handles escaped parens \( and \) inside the link target.
2223
const relativeLinkPattern =
23-
/(?<!!)\]\((?!https?:\/\/|mailto:|#|{%|<|cursor:|file:)([^)]+)\)/g
24+
/(?<!!)\]\((?!https?:\/\/|mailto:|#|{%|<|cursor:|file:)((?:[^)\\]|\\.)+)\)/g
2425

2526
interface BrokenLink {
2627
file: string
29.7 KB
Loading
7.09 KB
Loading

docs/brand-guides/2n-intercom-systems/get-started-with-2n-intercoms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ echo json_encode($locks);
300300

301301
Next, you can perform the basic action of locking and unlocking the door.
302302

303-
\{% openapi src="../../.gitbook/assets/openapi.json" path="/locks/lock\_door" method="post" %\} [openapi.json](../../.gitbook/assets/openapi.json) \{% endopenapi %\}
303+
\{% openapi src="../.gitbook/assets/openapi.json" path="/locks/lock\_door" method="post" %\} [openapi.json](../.gitbook/assets/openapi.json) \{% endopenapi %\}
304304

305305
#### Unlock a door
306306

docs/brand-guides/assa-abloy-visionline-access-control-system/visionline-acs-setup-instructions/developing-and-launching-your-visionline-mobile-key-app/developing-your-visionline-mobile-key-app/step-9-create-a-production-workspace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Create a Seam production workspace to connect your Visionline account to Seam. Y
1111
1. Log in to [Seam Console](https://console.seam.co/).
1212
2. In the upper-left corner, click the workspace switcher.
1313

14-
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../../.gitbook/assets/workspace-switcher.png)
14+
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../.gitbook/assets/workspace-switcher.png)
1515
3. Click **New Workspace**.
1616
4. In the **Add a Workspace** dialog, type a name for your new workspace and your company name.
1717
5. Disable **Sandbox mode**.
1818

19-
![To create a production workspace, disable sandbox mode.](../../../../../.gitbook/assets/add-production-workspace.png)
19+
![To create a production workspace, disable sandbox mode.](../../../../.gitbook/assets/add-production-workspace.png)
2020
6. Click **Create Workspace**.

docs/brand-guides/assa-abloy-visionline-access-control-system/visionline-acs-setup-instructions/developing-and-launching-your-visionline-mobile-key-app/launching-your-visionline-mobile-key-app/step-8-create-a-production-workspace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ To create a production workspace.
1313
1. Log in to [Seam Console](https://console.seam.co/).
1414
2. In the upper-left corner, click the workspace switcher.
1515

16-
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../../.gitbook/assets/workspace-switcher.png)
16+
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../.gitbook/assets/workspace-switcher.png)
1717
3. Click **New Workspace**.
1818
4. In the **Add a Workspace** dialog, type a name for your new workspace and your company name.
1919
5. Disable **Sandbox mode**.
2020

21-
![To create a production workspace, disable sandbox mode.](../../../../../.gitbook/assets/add-production-workspace.png)
21+
![To create a production workspace, disable sandbox mode.](../../../../.gitbook/assets/add-production-workspace.png)
2222
6. Click **Create Workspace**.

docs/brand-guides/assa-abloy-visionline-access-control-system/visionline-acs-setup-instructions/developing-and-launching-your-visionline-plastic-card-encoding-app/developing-your-visionline-plastic-card-encoding-app-using-a-real-visionline-server/step-7-create-a-production-workspace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Create a Seam production workspace to connect your Visionline account to Seam. Y
1111
1. Log in to [Seam Console](https://console.seam.co/).
1212
2. In the upper-left corner, click the workspace switcher.
1313

14-
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../../.gitbook/assets/workspace-switcher.png)
14+
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../.gitbook/assets/workspace-switcher.png)
1515
3. Click **New Workspace**.
1616
4. In the **Add a Workspace** dialog, type a name for your new workspace and your company name.
1717
5. Disable **Sandbox mode**.
1818

19-
![To create a production workspace, disable sandbox mode.](../../../../../.gitbook/assets/add-production-workspace.png)
19+
![To create a production workspace, disable sandbox mode.](../../../../.gitbook/assets/add-production-workspace.png)
2020
6. Click **Create Workspace**.

docs/brand-guides/assa-abloy-visionline-access-control-system/visionline-acs-setup-instructions/developing-and-launching-your-visionline-plastic-card-encoding-app/developing-your-visionline-plastic-card-encoding-app-using-a-sandbox-workspace/step-1-create-a-sandbox-workspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The first step in developing and testing your Visionline plastic card encoding a
1111
1. Log in to [Seam Console](https://console.seam.co/).
1212
2. In the upper-left corner, click the workspace switcher.
1313

14-
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../../.gitbook/assets/workspace-switcher.png)
14+
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../.gitbook/assets/workspace-switcher.png)
1515
3. Click **New Workspace**.
1616
4. In the **Add a Workspace** dialog, type a name for your new workspace and your company name.
1717
5. Enable **Sandbox mode**.

docs/brand-guides/assa-abloy-visionline-access-control-system/visionline-acs-setup-instructions/developing-and-launching-your-visionline-plastic-card-encoding-app/launching-your-visionline-plastic-card-encoding-app-to-a-live-site/step-4-create-a-production-workspace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ To create a production workspace.
1313
1. Log in to [Seam Console](https://console.seam.co/).
1414
2. In the upper-left corner, click the workspace switcher.
1515

16-
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../../.gitbook/assets/workspace-switcher.png)
16+
![Use the Seam Console workspace switcher to switch between workspaces and create new workspaces.](../../../../.gitbook/assets/workspace-switcher.png)
1717
3. Click **New Workspace**.
1818
4. In the **Add a Workspace** dialog, type a name for your new workspace and your company name.
1919
5. Disable **Sandbox mode**.
2020

21-
![To create a production workspace, disable sandbox mode.](../../../../../.gitbook/assets/add-production-workspace.png)
21+
![To create a production workspace, disable sandbox mode.](../../../../.gitbook/assets/add-production-workspace.png)
2222
6. Click **Create Workspace**.

docs/brand-guides/get-started-with-kwikset-wifi-locks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ puts some_lock.inspect
299299

300300
Next, you can perform the basic action of locking and unlocking the door.
301301

302-
{% openapi src="../.gitbook/assets/openapi (1).json" path="/locks/lock\_door" method="post" %} [openapi (1).json](../.gitbook/assets/openapi%20\(1\).json) {% endopenapi %}
302+
{% openapi src=".gitbook/assets/openapi (1).json" path="/locks/lock\_door" method="post" %} [openapi (1).json](.gitbook/assets/openapi%20\(1\).json) {% endopenapi %}
303303

304304
#### Unlock a door
305305

0 commit comments

Comments
 (0)