Skip to content

Commit 7d54478

Browse files
committed
---
yaml --- r: 236585 b: refs/heads/tmp c: c8f5f6f h: refs/heads/master i: 236583: 71e60d7 v: v3
1 parent cbd44d8 commit 7d54478

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: d2e13e822a73e0ea46ae9e21afdd3155fc997f6d
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: 5ac899c8c274619895b7595245862cfa5b9c5dd9
28+
refs/heads/tmp: c8f5f6f70f81a53d708af06b3b96902590e6322c
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/src/rustbook/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fn write_toc(book: &Book, current_page: &BookItem, out: &mut Write) -> io::Resul
8282
}
8383

8484
fn render(book: &Book, tgt: &Path) -> CliResult<()> {
85-
let tmp = try!(TempDir::new("rust-book"));
85+
let tmp = try!(TempDir::new("rustbook"));
8686

8787
for (_section, item) in book.iter() {
8888
let out_path = match item.path.parent() {
@@ -144,7 +144,7 @@ fn render(book: &Book, tgt: &Path) -> CliResult<()> {
144144
format!("--html-before-content={}", prelude.display()),
145145
format!("--html-after-content={}", postlude.display()),
146146
format!("--markdown-playground-url=https://play.rust-lang.org"),
147-
format!("--markdown-css={}", item.path_to_root.join("rust-book.css").display()),
147+
format!("--markdown-css={}", item.path_to_root.join("rustbook.css").display()),
148148
"--markdown-no-toc".to_string(),
149149
];
150150
let output_result = rustdoc::main_args(rustdoc_args);
@@ -199,10 +199,10 @@ impl Subcommand for Build {
199199
let css = include_bytes!("static/rustbook.css");
200200
let js = include_bytes!("static/rustbook.js");
201201

202-
let mut css_file = try!(File::create(tgt.join("rust-book.css")));
202+
let mut css_file = try!(File::create(tgt.join("rustbook.css")));
203203
try!(css_file.write_all(css));
204204

205-
let mut js_file = try!(File::create(tgt.join("rust-book.js")));
205+
let mut js_file = try!(File::create(tgt.join("rustbook.js")));
206206
try!(js_file.write_all(js));
207207

208208

branches/tmp/src/rustbook/help.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl Subcommand for Help {
3636
}
3737

3838
pub fn usage() {
39-
println!("Usage: rust-book <command> [<args>]");
39+
println!("Usage: rustbook <command> [<args>]");
4040
println!("");
4141
println!("The <command> must be one of:");
4242
println!(" help Print this message.");

branches/tmp/src/rustbook/javascript.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
// The rust-book JavaScript in string form.
1212

1313
pub static JAVASCRIPT: &'static str = r#"
14-
<script type="text/javascript" src="rust-book.js"></script>
14+
<script type="text/javascript" src="rustbook.js"></script>
1515
<script type="text/javascript" src="playpen.js"></script>
1616
"#;

branches/tmp/src/rustbook/subcommand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! Common API for all rust-book subcommands.
11+
//! Common API for all rustbook subcommands.
1212
1313
use error::CliResult;
1414
use error::CommandResult;

0 commit comments

Comments
 (0)