Prefer local CSS to remote
authorXimin Luo <infinity0@debian.org>
Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Tue, 8 Sep 2020 16:38:19 +0000 (17:38 +0100)
Bug: https://github.com/rust-lang/rust/pull/45331

Gbp-Pq: Name u-prefer-local-css.patch

src/bootstrap/doc.rs

index 608cee0a80bfc9f602c8c60c78429f8f522e24ae..57f6dd9603edf45bc046d63260ea475bbf9250c3 100644 (file)
@@ -392,7 +392,7 @@ impl Step for Standalone {
 
             if filename == "not_found.md" {
                 cmd.arg("--markdown-css")
-                   .arg("https://doc.rust-lang.org/rust.css");
+                   .arg("rust.css");
             } else {
                 cmd.arg("--markdown-css").arg("rust.css");
             }