Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impl(generator): better blockquote handling #346

Merged

Commits on Nov 30, 2024

  1. impl(generator): better blockquote handling

    Rust treats any blockquote as a Rust code sample, unless it has the
    `norust` tag. Furthermore, `cargo test` will try to compile these code
    samples. This is all very good, but we generate the documentation
    comments from the Probobuf (or OpenAPI) comments, which may and do
    include blockquotes that are not Rust code.
    
    This change handles a few more blockquote types. We really need to parse
    the Markdown comments to handle all possible cases, but this can handle
    the most urgent cases.
    coryan committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    e65ef0f View commit details
    Browse the repository at this point in the history