HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

jekyll — A simple, blog-aware, static site generator. More information: <https://jekyllrb.com/docs/usage/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
simplecommandstaticawarecliblogsitejekyll

Problem

How to use the jekyll command: A simple, blog-aware, static site generator. More information: <https://jekyllrb.com/docs/usage/>.

Solution

jekyll — A simple, blog-aware, static site generator. More information: <https://jekyllrb.com/docs/usage/>.

Generate a development server that will run at <http://localhost:4000/>:
jekyll serve


Enable incremental regeneration:
jekyll serve --incremental


Enable verbose output:
jekyll serve --verbose


Generate the current directory into ./_site:
jekyll build


Clean the site (removes site output and cache directory) without building:
jekyll clean

Code Snippets

Generate a development server that will run at <http://localhost:4000/>

jekyll serve

Enable incremental regeneration

jekyll serve --incremental

Enable verbose output

jekyll serve --verbose

Generate the current directory into `./_site`

jekyll build

Clean the site (removes site output and `cache` directory) without building

jekyll clean

Context

tldr-pages: common/jekyll

Revisions (0)

No revisions yet.