ssite1
Ssite
Overview
usage: ssite [-h] [--version]
-
{check,dump,dump_meta,build,serve,show,new,edit,site,meta,shell} ...
Static site generator.
positional arguments:
- {check,dump,dump_meta,build,serve,show,new,edit,site,meta,shell}
-
sub-command help
-
check dump dump_meta build serve show new edit site meta Edit metadata for a file shell
options:
-
-h, --help -
show this help message and exit
-
--version, -V -
show program's version number and exit
Check subcommand
usage: ssite check [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
-
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft]
Project
positional arguments:
- project
-
project directory or .py configuration file (default: the current directory)
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--contentCONTENT-
content directory location. Overrides settings.CONTENT
--archetypesARCHETYPES-
archetypes directory location. Override settings.ARCHETYPES
-oOUTPUT,--outputOUTPUT-
output directory location. Override settings.OUTPUT
--draft-
do not ignore pages with date in the future
Dump subcommand
usage: ssite dump [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
-
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] (
--fstree|--nodes|--changes|--reference-documentation[destdir])
positional arguments:
- project
-
project directory or .py configuration file (default: the current directory)
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--contentCONTENT-
content directory location. Overrides settings.CONTENT
--archetypesARCHETYPES-
archetypes directory location. Override settings.ARCHETYPES
-oOUTPUT,--outputOUTPUT-
output directory location. Override settings.OUTPUT
--draft-
do not ignore pages with date in the future
--fstree-
dump information about the scanned directory trees
--nodes-
dump information about the built site layout
--changes-
dump information about pages that changed
--reference-documentation[destdir]-
regenerate reference documentation
Dump_meta subcommand
usage: ssite dump_meta [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
- [--archetypes ARCHETYPES] [-o OUTPUT] [--draft]
-
[-f FORMAT] [-p PAGES [PAGES ...]]
positional arguments:
- project
-
project directory or .py configuration file (default: the current directory)
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--contentCONTENT-
content directory location. Overrides settings.CONTENT
--archetypesARCHETYPES-
archetypes directory location. Override settings.ARCHETYPES
-oOUTPUT,--outputOUTPUT-
output directory location. Override settings.OUTPUT
--draft-
do not ignore pages with date in the future
-fFORMAT,--formatFORMAT-
format to use for output
-pPAGES [PAGES ...],--pagesPAGES [PAGES ...]-
globs or regexps matching pages to show
Build subcommand
usage: ssite build [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
-
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [--type TYPE] [--path PATH] [--fail-fast] [-f]
positional arguments:
- project
-
project directory or .py configuration file (default: the current directory)
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--contentCONTENT-
content directory location. Overrides settings.CONTENT
--archetypesARCHETYPES-
archetypes directory location. Override settings.ARCHETYPES
-oOUTPUT,--outputOUTPUT-
output directory location. Override settings.OUTPUT
--draft-
do not ignore pages with date in the future
--typeTYPE-
render only pages of this type
--pathPATH-
render only pages under this path
--fail-fast-
fail the first time a page gives an error in rendering
-f,--full-
always do a full rebuild
Serve subcommand
usage: ssite serve [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
-
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [--port PORT] [--host HOST]
positional arguments:
- project
-
project directory or .py configuration file (default: the current directory)
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--contentCONTENT-
content directory location. Overrides settings.CONTENT
--archetypesARCHETYPES-
archetypes directory location. Override settings.ARCHETYPES
-oOUTPUT,--outputOUTPUT-
output directory location. Override settings.OUTPUT
--draft-
do not ignore pages with date in the future
--portPORT,-pPORT-
port to use (default: 8000)
--hostHOST-
host to bind to (default: localhost)
Show subcommand
usage: ssite show [-h] [-v] [--debug] [--theme THEME] [--draft] [--no-start]
-
[--port PORT] [--host HOST]
positional arguments:
- project
-
project directory or .py configuration file (default: the current directory)
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--contentCONTENT-
content directory location. Overrides settings.CONTENT
--archetypesARCHETYPES-
archetypes directory location. Override settings.ARCHETYPES
-oOUTPUT,--outputOUTPUT-
output directory location. Override settings.OUTPUT
--draft-
do not ignore pages with date in the future
-aARCHETYPE,--archetypeARCHETYPE-
page archetype
-tTITLE,--titleTITLE-
page title
-n,--noedit-
do not run an editor, only output the file name of the new post
--overwrite-
if a post already exists, overwrite it instead of reusing it
Edit subcommand
usage: ssite edit [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
-
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [-n] [project] [match ...]
positional arguments:
- project
-
project directory or .py configuration file (default: the current directory)
- match
-
keywords used to look for the page to edit
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--contentCONTENT-
content directory location. Overrides settings.CONTENT
--archetypesARCHETYPES-
archetypes directory location. Override settings.ARCHETYPES
-oOUTPUT,--outputOUTPUT-
output directory location. Override settings.OUTPUT
--draft-
do not ignore pages with date in the future
-n,--noedit-
do not run an editor, only output the file name of the new post
Site subcommand
usage: ssite site [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
-
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [--cmd ...]
positional arguments:
- project
-
project directory or .py configuration file (default: the current directory)
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--contentCONTENT-
content directory location. Overrides settings.CONTENT
--archetypesARCHETYPES-
archetypes directory location. Override settings.ARCHETYPES
-oOUTPUT,--outputOUTPUT-
output directory location. Override settings.OUTPUT
--draft-
do not ignore pages with date in the future
--cmd...-
site-specific command (try 'help')
Meta subcommand
usage: ssite meta [-h] [-v] [--debug] file
positional arguments:
- file
-
edit the metadata of this file
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
Shell subcommand
usage: ssite shell [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
-
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft]
positional arguments:
- project
-
project directory or .py configuration file (default: the current directory)
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--contentCONTENT-
content directory location. Overrides settings.CONTENT
--archetypesARCHETYPES-
archetypes directory location. Override settings.ARCHETYPES
-oOUTPUT,--outputOUTPUT-
output directory location. Override settings.OUTPUT
--draft-
do not ignore pages with date in the future
Dir
positional arguments:
- dir
-
directory to show (default: the current directory)
options:
-h,--help-
show this help message and exit
-v,--verbose-
verbose output
--debug-
debugging output
--themeTHEME-
theme directory location. Overrides settings.THEME
--draft-
do not ignore pages with date in the future
--no-start,-n-
do not start a browser automatically, print the URL instead
--portPORT,-pPORT-
port to use (default: randomly allocated)
--hostHOST-
host to bind to (default: localhost)
New subcommand
usage: ssite new [-h] [-v] [--debug] [--theme THEME] [--content CONTENT]
-
[--archetypes ARCHETYPES] [-o OUTPUT] [--draft] [-a ARCHETYPE] [-t TITLE] [-n] [--overwrite]
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 10 (Buster)
- Debian 9 (Stretch)
--version since Debian 13 (Trixie);
-V since Debian 13 (Trixie).