README.md in rpub-0.1.0 vs README.md in rpub-0.2.0
- old
+ new
@@ -55,18 +55,10 @@
title: My new book
version: 0.1.0
This file is written in [YAML](http://yaml.org) and sets basic properties of your book project.
-To make sure the book you generated is _valid_ -- meaning it is likely that most
-readers out there will be able to read it -- you can use the special `validate`
-command:
-
- $ rpub validate
-
-rPub will report any errors it finds. No output means everything is alright.
-
Since regenerating your ePub file and opening it in a suitable reader
application is cumbersome, rPub can generate a simple preview document for you:
$ rpub preview
@@ -137,14 +129,20 @@
You can also provide custom layouts or styles to use when invoking the `compile`
or `preview` commands, using the `-l` or `-s` options:
$ rpub compile -l /tmp/my-layout.html
+If you like the default layout or styles, but want to adapt them, you can copy
+those files into your project using the `generate` subcommand:
+
+ $ rpub generate
+
### Command reference
* `rpub compile` -- generate .epub file
* `rpub package` -- create zip file with compiled book and other listed files
* `rpub preview` -- generate preview HTML file
+* `rpub generate` -- copy default layout.html, styles.css and config.yml
* `rpub help` -- get help on subcommands
* `rpub clean` -- remove generated files
### Examples