This is an automated email from the ASF dual-hosted git repository.

Yilialinn pushed a commit to branch fix/doc-broken-links-navigation
in repository https://gitbox.apache.org/repos/asf/apisix-website.git

commit 00c5bcbcf6e3473c8ac00f14f269475fa1e2f6b6
Author: Yilia Lin <[email protected]>
AuthorDate: Wed May 13 15:22:56 2026 +0800

    fix: change onBrokenLinks from 'log' to 'warn' to prevent build failures
    
    The doc workspace build was failing because navbar links pointing to
    website workspace paths (/, /blog, /learning-center, etc.) were being
    treated as errors when onBrokenLinks was set to 'log'.
    
    Changing to 'warn' allows the build to complete while still alerting
    developers to actual broken documentation links.
    
    This fixes the doc build failures seen in CI runs starting from
    May 13, 2026.
---
 doc/docusaurus.config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/docusaurus.config.js b/doc/docusaurus.config.js
index 80324e4e15d..04533970b0f 100644
--- a/doc/docusaurus.config.js
+++ b/doc/docusaurus.config.js
@@ -55,7 +55,7 @@ module.exports = {
       },
     },
   },
-  onBrokenLinks: 'log',
+  onBrokenLinks: 'warn',
   onBrokenMarkdownLinks: 'warn',
   noIndex: false,
   presets: [

Reply via email to