Output

Output contexts determine the form of converted wiki content. As with input contexts, typical forms will include a single file representing a wiki page or collections of files arranged within a directory hierarchy.

The supported output contexts are described below.

Directory

A directory containing wiki page resources in a hierarchy.

output_context
directory

Each converted wiki page will reside at a path within the hierarchy corresponding to the page name, with top-level pages residing directly within the top-level output directory, and with subpages residing within the directories of their parents.

Page content is stored in index files within each page directory, typically index.html (defined by the index_name metadata property), with the designated root page content appearing in the index file directly inside the top-level output directory.

If page revisions are generated, revision content is stored in distinct files whose names incorporate revision numbers or identifiers (defined by the [Metadata#revision_name|revision_name]] metadata property). The index file for each page will then link to the file corresponding to the current revision.

Moin Directory

A directory containing wiki page resources resembling Moin's data/pages directory.

output_context
moindirectory

Each converted wiki page will be represented by a directory containing a revisions subdirectory containing page revision files, along with a current file containing the revision number or identifier of the current page revision.

Standalone

A standalone wiki page file.

output_context
standalone

A single file containing a single wiki page.