From 03a6d2c0a7909f682a7fb07f264fdca476ad5ace Mon Sep 17 00:00:00 2001 From: p1003 Date: Tue, 16 Sep 2025 16:14:59 +0200 Subject: [PATCH 1/4] fix anchors --- docs/explanation/agent-internals.mdx | 4 ++-- docs/tutorials/agents.mdx | 2 +- versioned_docs/version-0.21.0/explanation/agent-internals.mdx | 4 ++-- versioned_docs/version-0.21.0/tutorials/agents.mdx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/explanation/agent-internals.mdx b/docs/explanation/agent-internals.mdx index ca0bd50..68e6a7f 100644 --- a/docs/explanation/agent-internals.mdx +++ b/docs/explanation/agent-internals.mdx @@ -71,8 +71,8 @@ Once connected, an agent will receive chunks of audio as [`AgentRequest.TrackDat ### Step 4. Disconnecting from the Room -An agent disconnects from the room by closing the WebSocket connection created in [Step 2](#step-2.-connecting-to-the-room). -It may reconnect using the same token it provided in [Step 2](#step-2.-connecting-to-the-room). +An agent disconnects from the room by closing the WebSocket connection created in [Step 2](#step-2-connecting-to-the-room). +It may reconnect using the same token it provided in [Step 2](#step-2-connecting-to-the-room). ## Peer subscriptions diff --git a/docs/tutorials/agents.mdx b/docs/tutorials/agents.mdx index 8c03460..813a68d 100644 --- a/docs/tutorials/agents.mdx +++ b/docs/tutorials/agents.mdx @@ -183,7 +183,7 @@ If you are using the server SDKs, then creating an agent and defining its behavi -If you are using Fishjam's REST API directly, then check out this [Agent Internals section](../explanation/agent-internals#rest-api). +If you are using Fishjam's REST API directly, then check out this [Agent Internals section](../explanation/agent-internals#step-1-creating-an-agent-in-fishjam). ## Pricing diff --git a/versioned_docs/version-0.21.0/explanation/agent-internals.mdx b/versioned_docs/version-0.21.0/explanation/agent-internals.mdx index ca0bd50..68e6a7f 100644 --- a/versioned_docs/version-0.21.0/explanation/agent-internals.mdx +++ b/versioned_docs/version-0.21.0/explanation/agent-internals.mdx @@ -71,8 +71,8 @@ Once connected, an agent will receive chunks of audio as [`AgentRequest.TrackDat ### Step 4. Disconnecting from the Room -An agent disconnects from the room by closing the WebSocket connection created in [Step 2](#step-2.-connecting-to-the-room). -It may reconnect using the same token it provided in [Step 2](#step-2.-connecting-to-the-room). +An agent disconnects from the room by closing the WebSocket connection created in [Step 2](#step-2-connecting-to-the-room). +It may reconnect using the same token it provided in [Step 2](#step-2-connecting-to-the-room). ## Peer subscriptions diff --git a/versioned_docs/version-0.21.0/tutorials/agents.mdx b/versioned_docs/version-0.21.0/tutorials/agents.mdx index 8c03460..813a68d 100644 --- a/versioned_docs/version-0.21.0/tutorials/agents.mdx +++ b/versioned_docs/version-0.21.0/tutorials/agents.mdx @@ -183,7 +183,7 @@ If you are using the server SDKs, then creating an agent and defining its behavi -If you are using Fishjam's REST API directly, then check out this [Agent Internals section](../explanation/agent-internals#rest-api). +If you are using Fishjam's REST API directly, then check out this [Agent Internals section](../explanation/agent-internals#step-1-creating-an-agent-in-fishjam). ## Pricing From 370cf6b75f483787c0cc93892ef28e642c57017f Mon Sep 17 00:00:00 2001 From: p1003 Date: Wed, 17 Sep 2025 11:17:03 +0200 Subject: [PATCH 2/4] Test onBrokenAnchors: throw --- docs/explanation/agent-internals.mdx | 2 +- docusaurus.config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/explanation/agent-internals.mdx b/docs/explanation/agent-internals.mdx index 68e6a7f..232b9e2 100644 --- a/docs/explanation/agent-internals.mdx +++ b/docs/explanation/agent-internals.mdx @@ -71,7 +71,7 @@ Once connected, an agent will receive chunks of audio as [`AgentRequest.TrackDat ### Step 4. Disconnecting from the Room -An agent disconnects from the room by closing the WebSocket connection created in [Step 2](#step-2-connecting-to-the-room). +An agent disconnects from the room by closing the WebSocket connection created in [Step 2](#step-2.-connecting-to-the-room). It may reconnect using the same token it provided in [Step 2](#step-2-connecting-to-the-room). ## Peer subscriptions diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 9f50650..d87fc16 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -135,6 +135,7 @@ const config: Config = { onBrokenLinks: "throw", onBrokenMarkdownLinks: "warn", + onBrokenAnchors: "throw", // Even if you don't use internationalization, you can use this field to set // useful metadata like html lang. For example, if your site is Chinese, you From 78f3336451c156fac65ee18fbdbeea4aa8fa6ed1 Mon Sep 17 00:00:00 2001 From: p1003 Date: Wed, 17 Sep 2025 11:27:33 +0200 Subject: [PATCH 3/4] CI fails -> test passed --- docs/explanation/agent-internals.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/explanation/agent-internals.mdx b/docs/explanation/agent-internals.mdx index 232b9e2..68e6a7f 100644 --- a/docs/explanation/agent-internals.mdx +++ b/docs/explanation/agent-internals.mdx @@ -71,7 +71,7 @@ Once connected, an agent will receive chunks of audio as [`AgentRequest.TrackDat ### Step 4. Disconnecting from the Room -An agent disconnects from the room by closing the WebSocket connection created in [Step 2](#step-2.-connecting-to-the-room). +An agent disconnects from the room by closing the WebSocket connection created in [Step 2](#step-2-connecting-to-the-room). It may reconnect using the same token it provided in [Step 2](#step-2-connecting-to-the-room). ## Peer subscriptions From f38435309b6d73b5cabdafa785c7ebede973cd7b Mon Sep 17 00:00:00 2001 From: p1003 Date: Wed, 17 Sep 2025 11:31:12 +0200 Subject: [PATCH 4/4] throw onBrokenMarkdownLinks and onDuplicateRoutes --- docusaurus.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index d87fc16..27ad247 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -134,8 +134,9 @@ const config: Config = { projectName: "documentation", onBrokenLinks: "throw", - onBrokenMarkdownLinks: "warn", + onBrokenMarkdownLinks: "throw", onBrokenAnchors: "throw", + onDuplicateRoutes: "throw", // Even if you don't use internationalization, you can use this field to set // useful metadata like html lang. For example, if your site is Chinese, you