summaryrefslogtreecommitdiffstats
path: root/l10n/lb.php
AgeCommit message (Expand)Author
2014-10-27[tx-robot] updated from transifexJenkins for ownCloud
2014-10-22[tx-robot] updated from transifexJenkins for ownCloud
2014-09-20[tx-robot] updated from transifexJenkins for ownCloud
2014-05-04[tx-robot] updated from transifexJenkins for ownCloud
2013-12-28[tx-robot] updated from transifexJenkins for ownCloud
2013-12-21[tx-robot] updated from transifexJenkins for ownCloud
2013-11-06[tx-robot] updated from transifexJenkins for ownCloud
2013-07-20[tx-robot] updated from transifexJenkins for ownCloud
2013-07-09[tx-robot] updated from transifexJenkins for ownCloud
2013-04-16[tx-robot] updated from transifexJenkins for ownCloud
2013-02-12[tx-robot] updated from transifexJenkins for ownCloud
2013-01-28[tx-robot] updated from transifexJenkins for ownCloud
2013-01-27merged the angularjs branchBernhard Posselt
2013-01-27[tx-robot] updated from transifexJenkins for ownCloud
2012-11-03[tx-robot] updated from transifexJenkins for ownCloud
2012-10-31[tx-robot] updated from transifexJenkins for ownCloud
2012-10-30[tx-robot] updated from transifexJenkins for ownCloud
class="na">a, 'b>() -> App<'a, 'b> { SubCommand::with_name("build") .about("Builds a book from its markdown files") .arg_from_usage( "-d, --dest-dir=[dest-dir] 'Output directory for the book{n}\ Relative paths are interpreted relative to the book's root directory.{n}\ If omitted, mdBook uses build.build-dir from book.toml or defaults to `./book`.'", ).arg_from_usage( "[dir] 'Root directory for the book{n}\ (Defaults to the Current Directory when omitted)'", ).arg_from_usage("-o, --open 'Opens the compiled book in a web browser'") } // Build command implementation pub fn execute(args: &ArgMatches) -> Result<()> { let book_dir = get_book_dir(args); let mut book = MDBook::load(&book_dir)?; if let Some(dest_dir) = args.value_of("dest-dir") { book.config.build.build_dir = dest_dir.into(); } book.build()?; if args.is_present("open") { // FIXME: What's the right behaviour if we don't use the HTML renderer? open(book.build_dir_for("html").join("index.html")); } Ok(()) }