ZIm/crates/rustdoc_to_markdown
Marshall Bowers c83d1c23d7
rustdoc_to_markdown: Handle "stabs" in item name entries (#12494)
This PR extends `rustdoc_to_markdown` with support for rustdoc's
"stabs".

These are used in item name lists to indicate that the construct is
behind a feature flag:

<img width="641" alt="Screenshot 2024-05-30 at 1 34 53 PM"
src="https://github.com/zed-industries/zed/assets/1486634/0216f325-dc4e-4302-b6db-149ace31deea">

We now treat these specially in the Markdown output:

<img width="813" alt="Screenshot 2024-05-30 at 1 35 27 PM"
src="https://github.com/zed-industries/zed/assets/1486634/96396305-123d-40b2-af49-7eed71b62971">

Release Notes:

- N/A
2024-05-30 13:46:14 -04:00
..
examples assistant: Add /rustdoc slash command (#12453) 2024-05-29 18:14:29 -04:00
src rustdoc_to_markdown: Handle "stabs" in item name entries (#12494) 2024-05-30 13:46:14 -04:00
Cargo.toml rustdoc_to_markdown: Fix code blocks (#12460) 2024-05-29 19:23:06 -04:00
LICENSE-GPL Add rustdoc_to_markdown crate (#12445) 2024-05-29 16:05:16 -04:00