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.
A directory containing wiki page resources in a hierarchy.
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.
A directory containing wiki page resources resembling Moin's data/pages directory.
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.
A standalone wiki page file.
A single file containing a single wiki page.