From fbba8038b9fabbdf64af5c5b9c933a8639dc8f0d Mon Sep 17 00:00:00 2001 From: "yongen.loong" Date: Mon, 8 Jul 2024 19:18:02 +0800 Subject: [PATCH] fix: broken links --- docs/index.md | 3 +-- .../node-operators/explore-running-aelf-side-chain/index.md | 2 +- docs/tutorials/operate-a-node/run-a-side-chain/_category_.json | 2 +- docusaurus.config.ts | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/index.md b/docs/index.md index ffe0bf63..def3b300 100644 --- a/docs/index.md +++ b/docs/index.md @@ -53,12 +53,11 @@ aelf is a high-performance, cloud-native, layer-1 blockchain with Mainnet nodes ## 📖 Tutorials -- [Smart Contract](/quick-start/creating-your-first-contract/) Development - [Operate a Node](/tutorials/operate-a-node/) - Run a [Testnet](/tutorials/operate-a-node/run-a-testnet-node/) Node - Run a [Mainnet](/tutorials/operate-a-node/run-a-mainnet-node/) Node - Run aelf on [Cloud](/tutorials/operate-a-node/run-aelf-on-cloud/) - - Run a [Side Chain](/tutorials/run-a-side-chain/) + - Run a [Side Chain](/tutorials/operate-a-node/run-a-side-chain/) diff --git a/docs/quick-start/node-operators/explore-running-aelf-side-chain/index.md b/docs/quick-start/node-operators/explore-running-aelf-side-chain/index.md index da6b91ca..614d3034 100644 --- a/docs/quick-start/node-operators/explore-running-aelf-side-chain/index.md +++ b/docs/quick-start/node-operators/explore-running-aelf-side-chain/index.md @@ -424,4 +424,4 @@ createSideChain().then(() => { -Next, we can move on to [Running a Side Chain](tutorials/operate-a-node/run-a-side-chain). +Next, we can move on to [Running a Side Chain](/tutorials/operate-a-node/run-a-side-chain/). diff --git a/docs/tutorials/operate-a-node/run-a-side-chain/_category_.json b/docs/tutorials/operate-a-node/run-a-side-chain/_category_.json index b12bb1bb..e143049a 100644 --- a/docs/tutorials/operate-a-node/run-a-side-chain/_category_.json +++ b/docs/tutorials/operate-a-node/run-a-side-chain/_category_.json @@ -6,7 +6,7 @@ "link": { "type": "generated-index", "title": "Operate a side chain", - "slug": "tutorials/run-a-side-chain" + "slug": "tutorials/operate-a-node/run-a-side-chain" }, "customProps": { "description": "Operate a side chain" diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 28d95a23..b34a7dad 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -25,7 +25,7 @@ const config: Config = { organizationName: "AElfProject", // Usually your GitHub org/user name. projectName: "aelf-docs", // Usually your repo name. - onBrokenLinks: "warn", + onBrokenLinks: "throw", onBrokenMarkdownLinks: "warn", // Even if you don't use internationalization, you can use this field to set