Skip to content

Incorrect behavior with mdbook serve compared to published version. #2588

Closed
@andriyDev

Description

@andriyDev

Using mdbook serve locally (following the instructions in the README) is quite different from the version on https://google.github.io/comprehensive-rust.

  1. There's no theme or search button.
  2. Clicking on a lesson (e.g., Control Flow Basics > break and continue) does not "expand" the appropriate section in the side bar.
  3. Links don't "reset" correctly. For example, viewing Control Flow Basics > break and continue, then clicking Tuples and Arrays in the sidebar results in a Document not found page (it is trying to access localhost:3000/control-flow-basics/tuples-and-arrays.html).

This was on Chrome. I also tried it on Firefox (with no extensions) to the same end result. I am serving from a Linux laptop.

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