From 564c245bc2582aba6ec44d13ee5c0c49fba96bcd Mon Sep 17 00:00:00 2001 From: "yongen.loong" Date: Tue, 23 Jul 2024 14:41:33 +0800 Subject: [PATCH] fix: broken links --- .../learn/cross-chain/cross-chain-transfer/index.md | 2 +- .../explore-running-aelf-side-chain/index.md | 4 ++-- .../request-side-chain-creation/index.md | 4 ++-- sidebars.ts | 13 ------------- 4 files changed, 5 insertions(+), 18 deletions(-) diff --git a/docs/learn/cross-chain/cross-chain-transfer/index.md b/docs/learn/cross-chain/cross-chain-transfer/index.md index 636359f1..0f5b3f32 100644 --- a/docs/learn/cross-chain/cross-chain-transfer/index.md +++ b/docs/learn/cross-chain/cross-chain-transfer/index.md @@ -34,7 +34,7 @@ Let's say you want to transfer token **FOO** from chain **A** to chain **B**. Be - **Register the token contract address of chain A on chain B** - Create a proposal for the `RegisterCrossChainTokenContractAddress` for the default parliament organization on chain B. Refer to the [Parliament contract documentation](/docs/smart-contract-api/parliament-contract/) for more details. Apart from cross chain verification context, you also need to provide the origin data of `tx_1` and the `Token Contract` address on chain A. + Create a proposal for the `RegisterCrossChainTokenContractAddress` for the default parliament organization on chain B. Refer to the [Parliament contract documentation](/tools/smart-contract-api/parliament-contract/) for more details. Apart from cross chain verification context, you also need to provide the origin data of `tx_1` and the `Token Contract` address on chain A. ```protobuf rpc RegisterCrossChainTokenContractAddress (RegisterCrossChainTokenContractAddressInput) returns (google.protobuf.Empty) {} 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 614d3034..b608f14e 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 @@ -13,9 +13,9 @@ Anyone can request the creation of a side chain in the aelf ecosystem. The propo ### API for Proposing Side Chain Creation -The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/). +The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](/tools/smart-contract-api/cross-chain-contract/). -Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](/docs/smart-contract-api/parliament-contract/) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/). +Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](/tools/smart-contract-api/parliament-contract/) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](/tools/smart-contract-api/cross-chain-contract/). Once the side chain is created, the `SideChainCreatedEvent` containing the chain ID will be fired. diff --git a/docs/tutorials/operate-a-node/run-a-side-chain/request-side-chain-creation/index.md b/docs/tutorials/operate-a-node/run-a-side-chain/request-side-chain-creation/index.md index 17b24d45..9da9ca81 100644 --- a/docs/tutorials/operate-a-node/run-a-side-chain/request-side-chain-creation/index.md +++ b/docs/tutorials/operate-a-node/run-a-side-chain/request-side-chain-creation/index.md @@ -12,9 +12,9 @@ Anyone can request the creation of a side chain in the aelf ecosystem. The propo ### API for Proposing Side Chain Creation -The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/). +The fields in the `SideChainCreationRequest` determine the type of side chain that is created. For more details, follow `RequestSideChainCreation` in the [Crosschain contract documentation](/tools/smart-contract-api/cross-chain-contract/). -Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](/docs/smart-contract-api/parliament-contract/) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](/docs/smart-contract-api/cross-chain-contract/). +Upon creating a new proposal for the side chain, the `ProposalCreated` event containing the proposal ID will be fired. A parliament organization, specified since the chain's launch, will approve this proposal within 24 hours (refer to the [Parliament contract documentation](/tools/smart-contract-api/parliament-contract/) for details). The proposer can release the side chain creation request with the proposal ID once it can be released. Refer to `ReleaseSideChainCreation` in the [Crosschain contract documentation](/tools/smart-contract-api/cross-chain-contract/). Once the side chain is created, the `SideChainCreatedEvent` containing the chain ID will be fired. diff --git a/sidebars.ts b/sidebars.ts index 0cabd31d..603c5b5b 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -46,19 +46,6 @@ const sidebars: SidebarsConfig = { items: [{ type: "autogenerated", dirName: "tutorials" }], }, ], - docs: [ - { - type: "category", - label: "Docs Reference", - - collapsible: false, - link: { - type: "generated-index", - slug: "/docs", - }, - items: [{ type: "autogenerated", dirName: "docs" }], - }, - ], tools: [ { type: "category",