diff options
| author | kennytm <kennytm@gmail.com> | 2018-03-30 01:31:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-30 01:31:12 +0200 |
| commit | eb3e2feb0d2de2b9e54a51216f0c53c7962cfc10 (patch) | |
| tree | fbe24106091c1beee686f4e16c7daea2a6a433ee /src/tools | |
| parent | 3d316a55159ede0c6408826989735559905435fc (diff) | |
| parent | 772a8028ffbb3386d8da8cf5a17517b453eed767 (diff) | |
| download | rust-eb3e2feb0d2de2b9e54a51216f0c53c7962cfc10.tar.gz rust-eb3e2feb0d2de2b9e54a51216f0c53c7962cfc10.zip | |
Rollup merge of #49445 - GuillaumeGomez:light-theme, r=QuietMisdreavus
Rename main theme into light theme r? @QuietMisdreavus
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/error_index_generator/main.rs | 4 | ||||
| -rw-r--r-- | src/tools/rustdoc-themes/main.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/error_index_generator/main.rs b/src/tools/error_index_generator/main.rs index cdeb6015672..ade7ae0a4ae 100644 --- a/src/tools/error_index_generator/main.rs +++ b/src/tools/error_index_generator/main.rs @@ -61,8 +61,8 @@ impl Formatter for HTMLFormatter { <head> <title>Rust Compiler Error Index</title> <meta charset="utf-8"> -<!-- Include rust.css after main.css so its rules take priority. --> -<link rel="stylesheet" type="text/css" href="main.css"/> +<!-- Include rust.css after light.css so its rules take priority. --> +<link rel="stylesheet" type="text/css" href="light.css"/> <link rel="stylesheet" type="text/css" href="rust.css"/> <style> .error-undescribed {{ diff --git a/src/tools/rustdoc-themes/main.rs b/src/tools/rustdoc-themes/main.rs index 4028cb4e8b6..c8fb65e9a2a 100644 --- a/src/tools/rustdoc-themes/main.rs +++ b/src/tools/rustdoc-themes/main.rs @@ -13,7 +13,7 @@ use std::fs::read_dir; use std::path::Path; use std::process::{Command, exit}; -const FILES_TO_IGNORE: &[&str] = &["main.css"]; +const FILES_TO_IGNORE: &[&str] = &["light.css"]; fn get_folders<P: AsRef<Path>>(folder_path: P) -> Vec<String> { let mut ret = Vec::with_capacity(10); |
