Colin Dean
f7f5545bdc
Enables setting base-url to / for relative URLs in serve mode ( #1853 )
...
Having to change the base URL to whatever ngrok URL was provisioned for
me was frustrating. This patch enables setting it to `/`, which will
then make the `get_url()` function simply return `/`.
2022-05-10 22:04:40 +02:00
Gijs Burghoorn
eceb1bd79d
Added prompt for when zola build output-dir mentions an existing directory. ( #1558 )
...
* Next version
* Added ask prompt for output-dir flag
Added `ask_bool` prompt for `--output-dir` for when the output directory
targeted already exists in the file system.
[Issue: #1378 ]
* Updated the documentation for #1378
* Added missing "sure" in prompt text
* Added timeout to prompt + dirname
* Fixed complication errors
Co-authored-by: Vincent Prouillet <balthek@gmail.com>
2021-09-04 08:10:02 +02:00
Gijs Burghoorn
365b15ccc2
Added sidenote on serving to local devices
...
[Issue #1556 ]
2021-07-21 22:18:37 +02:00
Vincent Prouillet
b89fc2c274
Merge branch 'master' into next
2021-07-18 13:53:27 +02:00
Avinash Sonawane
8ee6df030f
Docs: Mention that the output directory will be deleted before build ( #1472 )
...
and serve
2021-05-23 13:53:25 +02:00
Avinash Sonawane
0596b9944c
Docs: Remove --watch-only flag ( #1468 )
2021-05-21 21:58:13 +02:00
Vincent Prouillet
84fb2f30f3
Mention WSL2 filesystem
...
From #1440
2021-05-05 19:35:59 +02:00
Vincent Prouillet
2d1c954322
Merge pull request #1038 from getzola/next
...
Next version
2020-09-04 23:42:30 +02:00
Spencer Burris
428b5942c7
Fix documentation typos ( #1157 )
2020-09-04 22:53:31 +02:00
Vincent Prouillet
7666043b16
Merge branch 'master' into next
2020-08-17 21:39:29 +02:00
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
René Ribaud
274a5be6f5
Fix title level of check command ( #1125 )
2020-08-12 22:46:07 +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
ethereal
94445ae745
Add --root global argument. Fixes #899 . ( #932 )
2020-02-02 17:48:43 -08:00
Vincent Prouillet
1a6edbcf63
Fix some doc changes
2020-02-02 17:48:42 -08:00
photong
51d4b6bd6a
Simple clean up of documentation. ( #849 )
...
* Update installation.md
* Update cli-usage.md
* Update installation.md
* Update directory-structure.md
* Update configuration.md
* Update overview.md
* Update section.md
* Update page.md
* Update section.md
* Update configuration.md
* Update page.md
* Update section.md
* Update page.md
* Update shortcodes.md
* Update linking.md
* Update table-of-contents.md
* Update syntax-highlighting.md
* Update taxonomies.md
* Update search.md
* Update sass.md
* Update index.md
* Update multilingual.md
* Update overview.md
* Update pages-sections.md
* Update pagination.md
* Update taxonomies.md
* Update rss.md
* Update sitemap.md
* Update robots.md
* Update 404.md
* Update archive.md
* Update overview.md
* Update installing-and-using-themes.md
* Update creating-a-theme.md
* Update netlify.md
* Update github-pages.md
* Update gitlab-pages.md
* Update index.md
* Update page.md
* Update section.md
* Updates.
2020-02-02 17:48:42 -08:00
Vincent Prouillet
b396a1bc20
Add --drafts flag + rustfmt
2019-08-24 22:23:08 +02:00
Vincent Prouillet
f0c48b8a14
Add some more text to zola init
...
Closes #773
2019-08-13 20:16:09 +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
Jakub Turski
79dfe92bbf
Update cli-usage.md ( #729 )
...
* Update cli-usage.md
* clarify that it's only the links from markdown files that are being checked;
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
cae9223ebd
Mention that serve deletes the public dir as well
2019-01-07 19:24:08 +01:00
Vincent Prouillet
0f0304d7ed
Mention build rm the directory
2019-01-05 11:04:12 +01:00
Robert Masen
43cac703a3
add --watch-only to docs
2018-11-01 17:36:47 -05:00
Vincent Prouillet
c05f7c8362
Merge branch 'master' into next
2018-10-31 08:41:20 +01:00
Vincent Prouillet
0101e5cb12
Update docs to refer to zola
2018-10-18 23:11:36 +02:00
Elias Roa
dd13f30a41
Minor documentation typo fixes
2018-10-10 15:21:58 -06:00
Greizgh
b8233af2c4
Allow to disable colors through env vars
...
- unless forced, only use colors in tty
- support CLICOLOR and NO_COLOR vars
- switch to termcolor crate to handle output coloring
2018-09-24 19:19:34 +02:00
Vincent Prouillet
4f418a11b4
Fix live reload of section content
2018-08-05 10:30:01 +02:00
Vincent Prouillet
2eacb8247b
Fix config CLI option
...
Closes #254
2018-03-16 19:11:12 +01:00
Vincent Prouillet
f7cacba3f0
Update deps and changelog
2018-02-02 17:35:03 +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
bdcad38310
Finishing up site ( #131 )
...
* Finishing up site
* Make site a bit responsive
* Fix menu responsiveness
* Remove Fira Sans and revamp a bit text
* Update list of syntax and change output of syntax
* Add Rust mention
* Some doc tweaks
* Correct capitalization for GitHub
Correct capitalization for GitHub
* Some CSS tweaks
* More css tweaks + favicon
* Add link to my site
2017-10-19 13:48:50 +02:00
Vincent Prouillet
73797efe90
Add a base-url flag to the build command
2017-10-05 10:56:13 +09:00
Vincent Prouillet
c348648b02
Some design work on docs
2017-10-04 00:21:18 +09:00
Vincent Prouillet
dee1dbe667
Working on site
...
And some tweaks as I write the docs
2017-09-29 15:37:58 +09:00
Vincent Prouillet
bad1378485
WIP docs
2017-09-12 16:13:26 +09:00