Skip to content

Error when generating Markdown document #4

@facundo-villa

Description

@facundo-villa

Hi!
I love this crate. I'd been looking for something like this for a while. But I'm hitting an error when trying to generate MD files from my crates' json docs.

Error: invalid type: map, expected a string at line 1 column 6631

Location:
    ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustdoc-md-0.1.0/src/main.rs:24:23

This is the rust-doc json file from which I'm trying to generate the markdown. I tried other crates but they all failed with similar errors.
This is the command I used to generate the json files: RUSTDOCFLAGS="-Z unstable-options --output-format json" cargo doc --no-deps
I'm on Cargo cargo 1.91.0-nightly (a6c58d430 2025-08-26)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions