One of the main goals of The Page Bakery pages is the ability to generate an offline, static HTML version of the site. The generate_static.php
script does this for you. Just call it with an output directory:
php generate_static.php [output-dir]
That's it.
Remember the following things when writing your pages:
pages
configuration in doc_config.php
. Only those pages are processed by
the generator script.