Mention build rm the directory
This commit is contained in:
parent
c441f5e857
commit
0f0304d7ed
|
@ -21,7 +21,7 @@ zola.
|
||||||
|
|
||||||
## build
|
## build
|
||||||
|
|
||||||
This will build the whole site in the `public` directory.
|
This will build the whole site in the `public` directory after deleting it.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ zola build
|
$ zola build
|
||||||
|
|
|
@ -23,7 +23,7 @@ pub fn build_cli() -> App<'static, 'static> {
|
||||||
.help("Name of the project. Will create a new directory with that name in the current directory")
|
.help("Name of the project. Will create a new directory with that name in the current directory")
|
||||||
),
|
),
|
||||||
SubCommand::with_name("build")
|
SubCommand::with_name("build")
|
||||||
.about("Builds the site")
|
.about("Deletes the output directory if there is one and builds the site")
|
||||||
.args(&[
|
.args(&[
|
||||||
Arg::with_name("base_url")
|
Arg::with_name("base_url")
|
||||||
.short("u")
|
.short("u")
|
||||||
|
|
Loading…
Reference in a new issue