Skip to content

Commit

Permalink
fix: update broken context links
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjemmmic committed Dec 4, 2024
1 parent 0f47a69 commit 82adaab
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions pages/developers/blueprint-contexts/evm-provider-context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The `EvmProviderContext` trait provides access to an EVM provider:
First, define your context struct that implements the `EvmProviderContext` trait:

<GithubFileReaderDisplay
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/01_basic.rs"
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/basic.rs"
fromLine={4}
toLine={9}
title="EVM Provider Context Definition"
Expand All @@ -37,7 +37,7 @@ First, define your context struct that implements the `EvmProviderContext` trait
You can then use this context to access EVM provider parameters:

<GithubFileReaderDisplay
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/01_basic.rs"
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/basic.rs"
fromLine={18}
toLine={18}
title="Accessing EVM Provider Parameters"
Expand Down
4 changes: 2 additions & 2 deletions pages/developers/blueprint-contexts/keystore-context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The `KeystoreContext` trait provides access to a `GenericKeystore` that implemen
First, define your context struct that implements the `KeystoreContext` trait:

<GithubFileReaderDisplay
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/01_basic.rs"
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/basic.rs"
fromLine={4}
toLine={9}
title="Keystore Context Definition"
Expand All @@ -43,7 +43,7 @@ First, define your context struct that implements the `KeystoreContext` trait:
You can then use this context to access the keystore and perform key operations:

<GithubFileReaderDisplay
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/01_basic.rs"
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/basic.rs"
fromLine={17}
toLine={17}
title="Accessing Keystore Functionality"
Expand Down
4 changes: 2 additions & 2 deletions pages/developers/blueprint-contexts/service-context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The `ServiceContext` trait provides access to service-related functionality that
First, define your context struct that implements the `ServiceContext` trait:

<GithubFileReaderDisplay
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/01_basic.rs"
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/basic.rs"
fromLine={4}
toLine={9}
title="Service Context Definition"
Expand All @@ -42,7 +42,7 @@ First, define your context struct that implements the `ServiceContext` trait:
You can then use this context to access service operator data and metadata:

<GithubFileReaderDisplay
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/01_basic.rs"
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/basic.rs"
fromLine={20}
toLine={20}
title="Accessing Service Information"
Expand Down
4 changes: 2 additions & 2 deletions pages/developers/blueprint-contexts/tangle-client-context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The `TangleClientContext` trait provides access to a Subxt client that enables:
First, define your context struct that implements the `TangleClientContext` trait:

<GithubFileReaderDisplay
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/01_basic.rs"
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/basic.rs"
fromLine={4}
toLine={9}
title="Tangle Client Context Definition"
Expand All @@ -42,7 +42,7 @@ First, define your context struct that implements the `TangleClientContext` trai
You can then use this context to access the Subxt client and interact with Tangle:

<GithubFileReaderDisplay
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/01_basic.rs"
url="https://github.com/tangle-network/gadget/blob/main/macros/context-derive/tests/ui/basic.rs"
fromLine={19}
toLine={19}
title="Accessing Subxt Client Functionality"
Expand Down
2 changes: 1 addition & 1 deletion pages/developers/blueprint-macros/context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ The Gadget SDK provides several built-in Context Extensions that offer common fu
3. `TangleClientContext`: Provides access to the Tangle Client (Subxt), used for interacting with the Tangle network.
4. `ServicesContext`: Allows access to the current Service instance properties, useful for service-specific operations.

for more documentation about the built-in extensions, please refer to the [API Documentation](https://docs.rs/gadget-sdk/latest/gadget_sdk/ctx/index.html).
for more documentation about the built-in extensions, please refer to the [API Documentation](https://docs.rs/gadget-sdk/latest/gadget_sdk/contexts/index.html).

These extensions can be easily added to your Context using derive macros, as shown in the following example.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ First, define the contract interface using the `sol!` and `load_abi!` macros. Th

### 2. Job Definition with Event Handler

Use the [`#[job]`](./blueprint-macros/jobs.mdx) macro to define a function that will handle specific events. Include the `event_listener` attribute to specify the event details:
Use the [`#[job]`](/developers/blueprint-macros/jobs) macro to define a function that will handle specific events. Include the `event_listener` attribute to specify the event details:

<GithubFileReaderDisplay
url="https://github.com/tangle-network/gadget/blob/main/blueprints/incredible-squaring-eigenlayer/src/jobs/initialize_task.rs"
Expand Down
4 changes: 2 additions & 2 deletions pages/operators/node-basics/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

## Where can I get help?

Our documentation at [https://docs.tangle.tools](/) has the most up-to-date information, and you can ask questions at our Discord, the best place to get assistance with your node or other questions about the project. See http://tangle.tools/community for links to Discord and more.
Our documentation at [https://docs.tangle.tools](/) has the most up-to-date information, and you can ask questions at our Discord, the best place to get assistance with your node or other questions about the project.

## How do I stay up to date?

All upgrades and important technical information are announced on Discord and Twitter, in the #tangle-network channel. See http://tangle.tools/community for links to Discord and more.
All upgrades and important technical information are announced on Discord and Twitter, in the #tangle-network channel.

## What are the hardware requirements?

Expand Down

0 comments on commit 82adaab

Please sign in to comment.