zesterer / chumsky

Write expressive, high-performance parsers with ease.
https://crates.io/crates/chumsky
MIT License
3.51k stars 147 forks source link

docs.rs links to GH files appear broken #638

Open inferiorhumanorgans opened 3 months ago

inferiorhumanorgans commented 3 months ago

For the alpha7 pages at least:

e.g. On this section:

https://docs.rs/chumsky/1.0.0-alpha.7/chumsky/index.html#example-brainfuck-parser

The link to brainfuck.rs is: https://github.com/zesterer/chumsky/blob/VERGEN_IDEMPOTENT_OUTPUT/examples/brainfuck.rs

inferiorhumanorgans commented 3 months ago

Quick addendum, this seems confusing:

https://docs.rs/chumsky/1.0.0-alpha.7/chumsky/trait.Parser.html#method.ignore_with_ctx

"If you don’t need the context in the output, use Parser::then_with_ctx."

https://docs.rs/chumsky/1.0.0-alpha.7/chumsky/trait.Parser.html#method.then_with_ctx

"If you don’t need the context in the output, prefer Parser::ignore_with_ctx."