Scroll to navigation

PELICAN(1) User Commands PELICAN(1)

NAME

pelican - tool to generate a static blog

DESCRIPTION

usage: pelican [-h] [-t THEME] [-o OUTPUT] [-s SETTINGS] [-d] [-v] [-q] [-D]

[--version] [-r] [--print-settings [SETTING_NAME ...]] [--relative-urls] [--cache-path CACHE_PATH] [--ignore-cache] [--fatal errors|warnings] [--logs-dedup-min-level {DEBUG,INFO,WARNING,ERROR}] [-l] [-p PORT] [-b BIND] [-e [OVERRIDES ...]] [path]

A tool to generate a static blog, with restructured text input files.

positional arguments:

Path where to find the content files. (default: None)

options:

show this help message and exit
Path where to find the theme templates. If not specified, it will use the default one included with pelican. (default: None)
Where to output the generated files. If not specified, a directory will be created, named "output" in the current path. (default: None)
The settings of the application, this is automatically set to pelicanconf.py if a file exists with this name. (default: None)
Delete the output directory. (default: None)
Show all messages. (default: None)
Show only critical errors. (default: None)
Show all messages, including debug messages. (default: None)
Print the pelican version and exit.
Relaunch pelican each time a modification occurs on the content files. (default: False)
Print current configuration settings and exit. Append one or more setting name arguments to see the values for specific settings only. (default: None)
Use relative urls in output, useful for site development (default: False)
Directory in which to store cache files. If not specified, defaults to "cache". (default: None)
Ignore content cache from previous runs by not loading cache files. (default: False)
Exit the program with non-zero status if any errors/warnings encountered. (default: )
Only enable log de-duplication for levels equal to or above the specified value (default: WARNING)
Serve content files via HTTP and port 8000. (default: False)
Port to serve HTTP files at. (default: 8000) (default: None)
IP to bind to when serving files via HTTP (default: 127.0.0.1) (default: None)
Specify one or more SETTING=VALUE pairs to override settings. VALUE must be in JSON notation: specify string values as SETTING='"some string"'; booleans as SETTING=true or SETTING=false; None as SETTING=null. (default: {})
November 2023 pelican 4.9.1