Skip to content

Opting Out #125

Open
Open
@SergioBenitez

Description

@SergioBenitez

Hello!

I'd like to opt-out from having documentation served on docs.rs for some of my crates. How can I do this?

One idea is that docs.rs would read the documentation link in the Cargo.toml file for a given crate and only serve documentation for the crate if it points to docs.rs. If it doesn't, then visiting docs.rs/{crate} would redirect to the URL in the documentation value.

Another approach is to expand #73 so that package.metadata.docs.rs includes an opt-out key that can be set to true to opt-out.

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