Skip to content

Commit c72c66c

Browse files
committed
Fix variant URL routing for SDK Reference product
Per the Fern variant model (see server-sdks.yml), page slugs must be relative to the product slug and must include the tab segment so the URL resolves as /docs/<product>/<tab>/<variant>/<page>. Our slugs were including the product prefix (/sdk-reference/...), which Fern was prepending /sdk-reference/ to anyway, producing the doubled path /sdk-reference/sdk-reference/typescript/... and leaving the intended variant URLs (/sdk-reference/reference/<lang>) as 404s. Regenerated with base_slug: /reference/<lang> so each page now emits slug: /reference/<lang>/<page> and resolves at the right Fern URL. Also adds explicit slug: dotnet and slug: cpp to the .NET and C++ variants so Fern's title-derived auto-slugs don't produce paths with problematic characters (`.net`, `c++`).
1 parent e23a40b commit c72c66c

14,620 files changed

Lines changed: 29092 additions & 29090 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

fern/products/sdk-reference/cpp/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"source_repo": "https://github.com/signalwire/signalwire-cpp",
66
"format": "mdx",
77
"platform": "fern",
8-
"base_slug": "/sdk-reference/cpp",
8+
"base_slug": "/reference/cpp",
99
"item_count": 1678
1010
}

fern/products/sdk-reference/cpp/c-tool-context/index.mdx

Lines changed: 1 addition & 1 deletion

fern/products/sdk-reference/cpp/httplib/index.mdx

Lines changed: 1 addition & 1 deletion
Lines changed: 4 additions & 4 deletions

fern/products/sdk-reference/cpp/signalwire/100125301063314044140006005130377163361074200160/index.mdx

Lines changed: 1 addition & 1 deletion

fern/products/sdk-reference/cpp/signalwire/add-skill-directory.mdx

Lines changed: 1 addition & 1 deletion

fern/products/sdk-reference/cpp/signalwire/agent/111042007043342110064074110231167034052176102071/index.mdx

Lines changed: 1 addition & 1 deletion

fern/products/sdk-reference/cpp/signalwire/agent/agent-base/add-answer-verb.mdx

Lines changed: 1 addition & 1 deletion

fern/products/sdk-reference/cpp/signalwire/agent/agent-base/add-context.mdx

Lines changed: 1 addition & 1 deletion

fern/products/sdk-reference/cpp/signalwire/agent/agent-base/add-function-include.mdx

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)