mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
25 lines
480 B
Markdown
25 lines
480 B
Markdown
![]() |
# jekyll
|
||
|
|
||
|
> 一个简单的、支持博客的静态网站生成器。
|
||
|
> 更多信息:<https://jekyllrb.com/docs/usage/>.
|
||
|
|
||
|
- 生成一个将在 http://localhost:4000/ 上运行的开发服务器:
|
||
|
|
||
|
`jekyll serve`
|
||
|
|
||
|
- 启用增量再生成:
|
||
|
|
||
|
`jekyll serve --incremental`
|
||
|
|
||
|
- 启用详细输出:
|
||
|
|
||
|
`jekyll serve --verbose`
|
||
|
|
||
|
- 将当前目录生成到 `./_site` 中:
|
||
|
|
||
|
`jekyll build`
|
||
|
|
||
|
- 清理网站(移除网站输出和 `cache` 目录)而不进行构建:
|
||
|
|
||
|
`jekyll clean`
|