Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle input path with regards to custom css #598

Merged
merged 2 commits into from
Jan 30, 2018

Commits on Jan 28, 2018

  1. Handle input path with regards to custom css

    Before, when someone like the Reference set their extra css as
    "theme/reference.css" in their book.toml, this path would be treated as
    relative to the invocation of mdbook, and not respect the input path. This
    PR modifies these relative paths to do so.
    
    Fixes the build of rust-lang/rust#47753 which
    blocks updating rustc to mdbook 0.1
    steveklabnik committed Jan 28, 2018
    Configuration menu
    Copy the full SHA
    071182b View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2018

  1. don't use file-name

    the style name is theme/reference.css, this results in a Err(StripPrefixError(())), which means that we push only the file_name, losing the theme bit
    steveklabnik committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    36d4277 View commit details
    Browse the repository at this point in the history