Scroll to navigation

JEKYLL(1) User Commands JEKYLL(1)

NAME

jekyll - blog-aware, static site generator

USAGE

jekyll command [options...]

COMMANDS

Build the site from its sources and put the results into the destination directory.
Remove the destination directory.
It requires the jekyll-docs plugin to be installed.
Search site and print specific any deprecation or configuration issues.
Show the help message, optionally for a given subcommand.
This command allows one to import blog content from various resources as markdown files into the Jekyll ./_post/ and ./_drafts/ structure. It requires the jekyll-import plugin to be installed.
Creates a new Jekyll site scaffold in PATH.
Creates a new Jekyll theme scaffold
Serve the site locally.

Plugins like jekyll-compose can provide more commands then documented here.

OPTIONS

There are some general flags to control Jekyll's behavior. The commands can be controlled further with additional options which are described in their respecitive manual pages.

Source directory (defaults to ./). This can also be set in _config.yml via the source: option.
Destination directory (defaults to ./_site). This can also be set in _config.yml via the destination: option.
Plugins directory (defaults to ./_plugins).
Safe mode (defaults to false). This disables custom plugins, and ignores links. This can also be set in _config.yml via the safe: option.
Layouts directory (defaults to ./_layouts).
Generate a Liquid rendering profile.
Show the help output.
Print the name and version
Show the full backtrace when an error occurs.

FILES

_config.yml
The main configuration is done by default in the file _config.yml. This file can control both Jekyll's behavior (see OPTIONS) and site/theme configuration variables. If the configuration shall be split or a non-default file shall be used one can use the --config switch to define all configuration files.

See <https://jekyllrb.com/docs/configuration/options/> and <https://jekyllrb.com/docs/configuration/default/>.

ENVIRONMENT

This environment variable defaults to development and can be checked during build via conditional statements to influence the output for example. It usually only affects the build and serve commands. The other well known value is production, but really any value can be assigned.

See <https://jekyllrb.com/docs/configuration/environments/>.

SEE ALSO

jekyll-b(1), jekyll-build(1), jekyll-clean(1), jekyll-docs(1), jekyll-doctor(1), jekyll-help(1), jekyll-hyde(1), jekyll-import(1), jekyll-new(1), jekyll-new-theme(1), jekyll-s(1), jekyll-serve(1), jekyll-server(1),

There is extensive documentation at <https://jekyllrb.com/docs/>.

AUTHOR

This manual page was originally written by Youhei SASAKI <uwabami@gfd-dennou.org>, for the Debian GNU/Linux system (but may be used by others). It was later updated by Daniel Leidert <dleidert@debian.org>

2020-10-30 Jekyll 3.9