Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ const config: Config = {
baseUrl: '/',
trailingSlash: true,

onBrokenLinks: 'warn',
onBrokenAnchors: 'warn',
// Fail the build (and the PR check) on a dead internal link or #anchor instead of warning:
// with 'warn' a broken /sdk/... link reached production unnoticed. Old URLs that must keep working
// belong in the client-redirects list below, not in content.
onBrokenLinks: 'throw',
onBrokenAnchors: 'throw',

markdown: {
format: 'detect',
Expand Down
Loading