created:2021-05-14
author:Foobär
top:README:Generating a web site
sort:002
title:Example Commands

<ul>
<li><code>sbwg -c</code><br />
Generates/updates the complete web site from the sources in the current working directory into its default output directory.</li>

<li><code>sbwg -b -o /srv/stage</code><br />
Updates the parts of the web site from the current working directory that make up the weblog of the web site into the directory `/srv/stage`</li>

<li><code>sbwg -vv --input "/home/user/my web site" --pages</code><br />
Updates only the static pages from the web site who's sources can be found in the directory `/home/user/my web site/` while displaying the progress of the generation
process.</li>

<li><code>sbwg -p index --output ~</code>< br />
Generate only the index page from the web site who's source is residing in the current working direcory, into the current working directory, resulting in the file
`~/index.html`.</li>
</ul>
