Skip to content

Commit 6457b38

Browse files
authored
Merge pull request #2973 from LucasPickering/patch-1
Fix link for parse_input() in preprocessors.md
2 parents 6747338 + 9eb6fe0 commit 6457b38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guide/src/for_developers/preprocessors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ By pulling in `mdbook-preprocessor` as a library, preprocessors can have access
4949
existing infrastructure for dealing with books.
5050

5151
For example, a custom preprocessor could use the
52-
[`CmdPreprocessor::parse_input()`] function to deserialize the JSON written to
52+
[`parse_input()`] function to deserialize the JSON written to
5353
`stdin`. Then each chapter of the `Book` can be mutated in-place via
5454
[`Book::for_each_mut()`], and then written to `stdout` with the `serde_json`
5555
crate.
@@ -101,7 +101,7 @@ if __name__ == '__main__':
101101
[pc]: https://crates.io/crates/pulldown-cmark
102102
[pctc]: https://crates.io/crates/pulldown-cmark-to-cmark
103103
[an example no-op preprocessor]: https://github.com/rust-lang/mdBook/blob/master/examples/nop-preprocessor.rs
104-
[`CmdPreprocessor::parse_input()`]: https://docs.rs/mdbook-preprocessor/latest/mdbook_preprocessor/trait.Preprocessor.html#method.parse_input
104+
[`parse_input()`]: https://docs.rs/mdbook-preprocessor/latest/mdbook_preprocessor/fn.parse_input.html
105105
[`Book::for_each_mut()`]: https://docs.rs/mdbook-preprocessor/latest/mdbook_preprocessor/book/struct.Book.html#method.for_each_mut
106106
[`PreprocessorContext`]: https://docs.rs/mdbook-preprocessor/latest/mdbook_preprocessor/struct.PreprocessorContext.html
107107
[`Book`]: https://docs.rs/mdbook-preprocessor/latest/mdbook_preprocessor/book/struct.Book.html

0 commit comments

Comments
 (0)