SummaryWrites the generated content to a specified directory
Short namefile_system
Provided by bundlebuilt-in
API docWebgen::Destination::FileSystem


This destination extension writes the nodes to a file system directory.


When using this destination, the first parameter is the directory under which the nodes should be written. This directory is taken relative to the website directory.

This is the default destination used when creating a new webgen website.


The used destination extension can be specified via the  destination configuration option, so each of the examples below can directly be used in the configuration file.

  1. All nodes are written to the out directory under the website directory (the default configuration):

    destination: [file_system, out]
  2. Writing the nodes to an absolute directory:

    destination: [file_system, /var/www/documentation]