Skip to content

Additional CSS Should create directories #585

Closed
@Havvy

Description

@Havvy
Contributor

This seems to be a regression from 0.0.28, but when I put in the config that additional-css = ["theme/reference.css"], it complains:

[havvy@ref:~/workspace/rust/reference]$ ~/.cargo/bin/mdbook build
2018-01-25 20:21:28 [INFO] (mdbook::book): Book building has started
2018-01-25 20:21:28 [INFO] (mdbook::book): Running the html backend
2018-01-25 20:21:28 [ERROR] (mdbook::utils): Error: Rendering failed
2018-01-25 20:21:28 [ERROR] (mdbook::utils):    Caused By: Unable to copy across additional CSS and JS
2018-01-25 20:21:28 [ERROR] (mdbook::utils):    Caused By: Unable to copy theme/reference.css to /home/havvy/workspace/rust/reference/book/theme/reference.css
2018-01-25 20:21:28 [ERROR] (mdbook::utils):    Caused By: No such file or directory (os error 2)

I would expect mdbook to actually make the theme directory specified and then put reference.css into it.

Activity

steveklabnik

steveklabnik commented on Jan 26, 2018

@steveklabnik
Member

@Michael-F-Bryan is there a way we could get a point release with this change in it?

Michael-F-Bryan

Michael-F-Bryan commented on Jan 27, 2018

@Michael-F-Bryan
Contributor

Sure thing, I'll make another release when #590 is merged.

Michael-F-Bryan

Michael-F-Bryan commented on Jan 27, 2018

@Michael-F-Bryan
Contributor
steveklabnik

steveklabnik commented on Jan 27, 2018

@steveklabnik
Member

Thank you! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @steveklabnik@Havvy@Michael-F-Bryan

      Issue actions

        Additional CSS Should create directories · Issue #585 · rust-lang/mdBook