Skip to content

Present docs with local server #2151

@black-puppydog

Description

@black-puppydog

When issuing rustup docs settings like the color scheme don't survive any link clicks (at least in my Firefox) and I think that is because they are being served as file:/// urls.

When compiling e.g. rust-by-example from source, the instructions are to run mdbook serve, which seems to spin up a local minimal server and open that via http:// instead. So I propose to either make this sort of behaviour default or a flag for the docs command.

Sorry if this has been proposed before, I couldn't find an appropriate issue.

P.S. I'm veryvery happy with the rust documentation. Jumping between Rust by Example and "The Book" in a problem-driven way is a lot of fun and gives me a good balance between learning modes. I love it, thanks all! :)

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