Skip to content

Commit 637508c

Browse files
Link specifically to the #protocol section in typst documentation
1 parent 109ee7b commit 637508c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//! # Protocol
2121
//!
2222
//! The specification of the protocol can be found in the typst documentation:
23-
//! <https://typst.app/docs/reference/foundations/plugin/>
23+
//! <https://typst.app/docs/reference/foundations/plugin/#protocol>
2424
2525
use proc_macro::TokenStream;
2626
use quote::{format_ident, quote, ToTokens};
@@ -69,7 +69,7 @@ pub fn initiate_protocol(stream: TokenStream) -> TokenStream {
6969
).into()
7070
}
7171

72-
/// Wrap the function to be used with the [protocol](https://typst.app/docs/reference/foundations/plugin/).
72+
/// Wrap the function to be used with the [protocol](https://typst.app/docs/reference/foundations/plugin/#protocol).
7373
///
7474
/// # Arguments
7575
///

0 commit comments

Comments
 (0)