Vincent Prouillet
278cc82fc7
Change zola serve to load HTML from memory instead of disk ( #1114 )
...
* Change zola serve to load HTML from memory instead of disk
* Be smart about assets copying
* Be a tiny bit smarter on template changes
* Add zola serve --fast
2020-08-16 18:39:04 +02:00
Per Lundberg
530f918955
Add --force/-f flag to init, for creation in non-empty dir ( #1065 )
2020-06-18 21:15:46 +02:00
Tymoteusz Wiśniewski
974ae167a8
Make path to config.toml independent from root dir ( #1023 )
...
fixes #1022
2020-05-23 11:55:45 +02:00
ethereal
94445ae745
Add --root global argument. Fixes #899 . ( #932 )
2020-02-02 17:48:43 -08:00
Sam Ford
e804f907b2
Use Rust 2018 edition ( #885 )
2020-02-02 17:48:43 -08:00
Vincent Prouillet
b396a1bc20
Add --drafts flag + rustfmt
2019-08-24 22:23:08 +02:00
southerntofu
13b395b536
zola init works inside existing directories ( closes #406 ) ( #777 )
...
* zola init works without argument (defaults to current directory)
* zola init works with existing folders (no non-hidden files permitted)
* Update zola init documentation
* [docs] Optional argument is on a separate line for clarity
* Add tests for init subcommand's respect of existing folders
2019-08-13 19:56:57 +02:00
Tim Visée
90dad05c67
Add --open flag to serve command, to open URL in default browser ( #739 )
...
* Add --open flag to serve command, to open URL in default browser
* Mention serve --open flag in CLI documentation
2019-07-12 22:54:18 +02:00
Marcus Klaas de Vries
0d964204c3
Check command global ( #683 )
...
* Add check subcommand
* Add some brief documentation for the check subcommand
* Start working on parallel link checks
* Check all external links in Site
* Return *all* dead links in site
2019-05-27 14:05:07 +02:00
Vincent Prouillet
debe0633bc
Revert "Allow default base-path command line option to be set for building and serving"
...
This reverts commit 1815155c1d
.
2019-04-20 12:50:34 +02:00
Blake Smith
1815155c1d
Allow default base-path command line option to be set for building and serving
2019-03-23 20:25:56 -05:00
Vincent Prouillet
0f0304d7ed
Mention build rm the directory
2019-01-05 11:04:12 +01:00
Robert Masen
b7c3d7199d
add --watch-only flag
2018-11-01 17:20:35 -05:00
Vincent Prouillet
f84ae7c93b
Rename all occurrences of gutenberg to zola in code
2018-10-18 22:50:06 +02:00
Vincent Prouillet
2eacb8247b
Fix config CLI option
...
Closes #254
2018-03-16 19:11:12 +01:00
Andrew Zah
f5ced05926
Separate interface and base url for gutenberg serve ( #223 )
...
Separate interface and base_url for serve
You can now have a different base_url and listening interface.
The `gutenberg serve` cmd now accepts `-u`/`--base-url`, but it defaults to `127.0.0.1`.
2018-02-02 17:18:07 +01:00
Vincent Prouillet
14edd2b875
Add output-dir option to build & serve
...
From #191
2017-12-29 19:26:17 +01:00
Vincent Prouillet
e06611f46f
Forgot to let base-url take a value >_>
2017-10-17 11:47:30 +02:00
Vincent Prouillet
d2177df838
Stop using clap macro
2017-10-16 22:48:59 +02:00
Vincent Prouillet
73797efe90
Add a base-url flag to the build command
2017-10-05 10:56:13 +09:00
Vincent Prouillet
de5d711771
Use flags for port/interface in serve cmd
2017-09-27 21:51:10 +09:00
Vincent Prouillet
23e4b911e7
Improve gutenberg init
...
Fix #104
2017-07-27 18:28:06 +09:00
Vincent Prouillet
2ea77f3883
Generate completions for all shells
2017-07-15 13:24:31 +09:00