Skip to content

Integrating rustdoc and mdbook content #320

@bbros-dev

Description

@bbros-dev

Integrating rustdoc and mdbook.....

Currently the include directive does not work for rustdoc comments. There is an open issue in mdbook rust-lang/mdBook#1356. there is an open issue in cargo rust-lang/cargo#739.

This is how safer_ffi goes about things:

https://github.com/getditto/safer_ffi/blob/5d19ae7/scripts/build_docs.sh

This is how materialize do it:

https://github.com/MaterializeInc/materialize/blob/main/bin/doc
https://github.com/MaterializeInc/materialize/blob/main/misc/doc/crates.jq

What does Goose want to do?

Perhaps its worth waiting for rust-lang/rust#78837

At which point we can share markdown files, by doing this in the source files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions