Skip to content

Commit 2fa6c94

Browse files
ctauchenclaude
andcommitted
docs-2978: fail the build on broken anchors
Set onBrokenAnchors to 'throw' in docusaurus.config.js so a broken #anchor fails the build instead of being ignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent e821630 commit 2fa6c94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default async function createAsyncConfig() {
3737
tagline: 'Unified network security and observability for Kubernetes',
3838
url: 'https://docs.tigera.io',
3939
baseUrl: '/',
40-
onBrokenAnchors: 'ignore',
40+
onBrokenAnchors: 'throw',
4141
onBrokenLinks: 'throw',
4242
favicon: 'img/calico-logo-2026-badge.png',
4343
markdown: {

0 commit comments

Comments
 (0)