Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate linkcheck for external links #203

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ runnable = false
"/core_concepts/microchains.html" = "/developers/core_concepts/microchains.html"

[output.linkcheck]
follow-web-links = true
exclude = [ 'x\.com', 'crates\.io' ]

[build]
build-dir = "book"
Expand Down
2 changes: 1 addition & 1 deletion src/developers/sdk/composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This section is about calling other applications using _cross-application
calls_.

Such calls happen on the same chain and are made with the
[`ContractRuntime::call_application`](https://docs.rs/linera-sdk/latest/linera_sdk/struct.ContractRuntime.html#call_application)
[`ContractRuntime::call_application`](https://docs.rs/linera-sdk/latest/linera_sdk/contract/type.ContractRuntime.html#call_application)
method:

```rust,ignore
Expand Down
16 changes: 8 additions & 8 deletions src/developers/sdk/messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ may be different.

For your application, you can specify any serializable type as the `Message`
type in your `Contract` implementation. To send a message, use the
[`ContractRuntime`](https://docs.rs/linera-sdk/latest/linera_sdk/struct.ContractRuntime.html)
made available as an argument to the contract's [`Contract::load`] constructor.
The runtime is usually stored inside the contract object, as we did when
[writing the contract binary](./contract.md). We can then call
[`ContractRuntime::prepare_message`](https://docs.rs/linera-sdk/latest/linera_sdk/struct.ContractRuntime.html#prepare_message)
to start preparing a message, and then
[`send_to`](https://docs.rs/linera-sdk/latest/linera_sdk/struct.MessageBuilder.html#send_to)
to send it to a destination chain.
[`ContractRuntime`](https://docs.rs/linera-sdk/latest/linera_sdk/contract/type.ContractRuntime.html)
made available as an argument to the contract's
[`Contract::load`](https://docs.rs/linera-sdk/latest/linera_sdk/trait.Contract.html#tymethod.load)
constructor. The runtime is usually stored inside the contract object, as we did
when [writing the contract binary](./contract.md). We can then call
[`ContractRuntime::prepare_message`](https://docs.rs/linera-sdk/latest/linera_sdk/contract/type.ContractRuntime.html#prepare_message)
to start preparing a message, and then `send_to` to send it to a destination
chain.

```rust,ignore
self.runtime
Expand Down
Loading