From afe260ff4b9968300a4c64a4fd1ce903ddec0619 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sat, 10 Jan 2015 00:54:18 +1100 Subject: [PATCH] rustbook: use a relative @import path to ensure it works offline. The URL previously caused the book to require an internet connection to get the full styling, this should mean no internet is required. --- src/rustbook/css.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rustbook/css.rs b/src/rustbook/css.rs index 8eb66e71d3a..92433589155 100644 --- a/src/rustbook/css.rs +++ b/src/rustbook/css.rs @@ -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;