From 3d998a91b113ae6600718874fb7cf9e77b92a947 Mon Sep 17 00:00:00 2001 From: teasiu Date: Sun, 12 Apr 2026 11:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 2dabcd8..631c6ba 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -12,9 +12,13 @@ const config = { url: 'https://doc.ecoo.top', baseUrl: '/', onBrokenLinks: 'throw', - onBrokenMarkdownLinks: 'warn', +// onBrokenMarkdownLinks: 'warn', favicon: 'img/favicon.ico', - + markdown: { + hooks: { + onBrokenMarkdownLinks: 'warn', + }, + }, // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. organizationName: 'teasiu', // Usually your GitHub org/user name. @@ -43,6 +47,7 @@ const config = { }, blog: { showReadingTime: true, + onUntruncatedBlogPosts: 'ignore', // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: ({ docPath }) => {