Skip to content

Commit cc7e1c0

Browse files
ctauchenclaude
andcommitted
docs-2978: warn on broken anchors
Set onBrokenAnchors to 'warn' in docusaurus.config.js. A build found 329 broken anchors, so 'throw' would break the build. This surfaces them as build warnings without blocking. Fixing them and switching to 'throw' is tracked in DOCS-2979. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent e821630 commit cc7e1c0

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: 'warn',
4141
onBrokenLinks: 'throw',
4242
favicon: 'img/calico-logo-2026-badge.png',
4343
markdown: {

0 commit comments

Comments
 (0)