Skip to content
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 .config/lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ exclude = [
# Exclude strings which contain templates like {} and {:?}
"%7B%7D",
"%7B:\\?}",
# Example ws:// URLs in Rust doc comments incorrectly parsed as file paths by lychee
"file://.*/ws:/node.*",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

according to claude, lychee is broken for //! doc and it can't parse and exclude the ```bash part

]
4 changes: 2 additions & 2 deletions substrate/client/rpc-api/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ pub trait StateApi<Hash> {
/// [querying substrate storage via rpc][3].
///
/// [1]: https://docs.substrate.io/main-docs/fundamentals/state-transitions-and-storage/
/// [2]: https://www.shawntabrizi.com/blog/substrate/transparent-keys-in-substrate/
/// [3]: https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/
/// [2]: https://www.shawntabrizi.com/blog/transparent-keys-in-substrate/
/// [3]: https://www.shawntabrizi.com/blog/interacting-with-the-substrate-rpc-endpoint/
///
/// ### Maximum payload size
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ use tokio::{sync::Barrier, time::timeout};
#[command(name = "statement-latency-bench")]
#[command(about = "Distributed statement store latency benchmark", long_about = None)]
struct Args {
/// Comma-separated list of RPC WebSocket endpoints (e.g., ws://node1:9944,ws://node2:9944)
/// Comma-separated list of RPC WebSocket endpoints (e.g., `ws://node1:9944,ws://node2:9944`)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was interpreted as file ws:/node... by lychee.

#[arg(long, value_delimiter = ',', required = true)]
rpc_endpoints: Vec<String>,

Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/state-trie-migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ pub mod pallet {
/// - [`frame_support::storage::StorageDoubleMap`]: 96 byte
///
/// For more info see
/// <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
/// <https://www.shawntabrizi.com/blog/interacting-with-the-substrate-rpc-endpoint/>

#[pallet::constant]
#[pallet::no_default]
Expand Down
Loading