Skip to content

Commit

Permalink
rustbook: use a relative @import path to ensure it works offline.
Browse files Browse the repository at this point in the history
The URL previously caused the book to require an internet connection to
get the full styling, this should mean no internet is required.
  • Loading branch information
huonw committed Jan 9, 2015
1 parent 6fc0ac5 commit afe260f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustbook/css.rs
Expand Up @@ -11,7 +11,7 @@
// The rust-book CSS in string form.

pub static STYLE: &'static str = r#"
@import url("//static.rust-lang.org/doc/master/rust.css");
@import url("../rust.css");
body {
max-width:none;
Expand Down

12 comments on commit afe260f

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from steveklabnik
at huonw@afe260f

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging huonw/rust/book-css = afe260f into auto

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

status: {"merge_sha": "bd27b76dece4eff16044682dbfaa3309e2132f31"}

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huonw/rust/book-css = afe260f merged ok, testing candidate = bd27b76

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 10, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from steveklabnik
at huonw@afe260f

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 10, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging huonw/rust/book-css = afe260f into auto

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 10, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

status: {"merge_sha": "391e0106ef46085da4998c841ffb44c115633e45"}

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 10, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huonw/rust/book-css = afe260f merged ok, testing candidate = 391e010

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 10, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 391e010

@bors
Copy link
Contributor

@bors bors commented on afe260f Jan 10, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 391e010

Please sign in to comment.