diff --git a/docs/indexer/build/graphql.md b/docs/indexer/build/graphql.md index ca3310048c2..0dcebe805d7 100644 --- a/docs/indexer/build/graphql.md +++ b/docs/indexer/build/graphql.md @@ -148,7 +148,7 @@ type StarterEntity @entity { In addition, when using GraphQL query Playground, these doc strings will automatically show up in the schema documentation panel. This makes it easier for developers to understand your API while exploring it, and can even serve as a form of live, interactive documentation for your API. -![image](../.vuepress/public/assets/img/build/schema_docstring.png) +![image](/assets/img/build/schema_docstring.png) ## Indexing diff --git a/docs/indexer/build/multi-chain.md b/docs/indexer/build/multi-chain.md index 419be337ce7..e8a27c1b40b 100644 --- a/docs/indexer/build/multi-chain.md +++ b/docs/indexer/build/multi-chain.md @@ -104,7 +104,7 @@ subquery-node-newchain: Use `subql publish` command to publish all the projects listed in the `subquery-multichain.yaml` manifest to a single IPFS directory. -![image](../.vuepress/public/assets/img/build/multi_chain_publish.png) +![image](/assets/img/build/multi_chain_publish.png) ### See the Example Project @@ -127,7 +127,7 @@ You can get the network through the global `chainId` value. This is the same val ```ts // We prefix the ID with the network name to prevent ID collisions across networks const transfer = new Transfer( - `${network}-${event.block.block.header.number.toNumber()}-${event.idx}`, + `${network}-${event.block.block.header.number.toNumber()}-${event.idx}` ); ``` @@ -162,7 +162,7 @@ export async function handleKusamaEvent(e: SubstrateEvent): Promise { async function handleEvent( event: SubstrateEvent, - network: "polkadot" | "kusama", + network: "polkadot" | "kusama" ): Promise { // Do something with shared logic } diff --git a/docs/indexer/build/testing.md b/docs/indexer/build/testing.md index 0ebe55233a2..0acc217ddfc 100644 --- a/docs/indexer/build/testing.md +++ b/docs/indexer/build/testing.md @@ -120,7 +120,7 @@ subqlTest( field3: BigInt(2303515439), }), ], // expected entities - "handleEvent", //handler name + "handleEvent" //handler name ); ``` @@ -145,15 +145,15 @@ npm run-script test An example of a passing test: -![image](../.vuepress/public/assets/img/build/tf-pass-test.png) +![image](/assets/img/build/tf-pass-test.png) An example of a failing test: -![image](../.vuepress/public/assets/img/build/tf-fail-test.png) +![image](/assets/img/build/tf-fail-test.png) The output will include a summary of the total tests run, passing tests, and failing tests. If any tests fail, a detailed summary of the failed tests will also be displayed: -![image](../.vuepress/public/assets/img/build/tf-fail-summary.png) +![image](/assets/img/build/tf-fail-summary.png) ### Example Project