Skip to content

Rules to run rustdoc on multiple crates #1837

Open
@UebelAndre

Description

@UebelAndre

I would like to take multiple crates and build docs for all of them in a similar fashion to Cargo.

With Cargo, I'm able to take the following workspace with packages, foo, bar, and baz, where foo depends on bar and baz is an isolated library and generate all docs in one place.

Screenshot 2023-02-13 at 2 07 17 PM

rustdoc_workspace.zip

├── Cargo.lock
├── Cargo.toml
├── bar
│   ├── Cargo.toml
│   └── src
│       └── lib.rs
├── baz
│   ├── Cargo.toml
│   └── src
│       └── lib.rs
└── foo
    ├── Cargo.toml
    └── src
        ├── lib.rs
        └── main.rs

6 directories, 9 files

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions