paul@211 | 1 | = Input = |
paul@211 | 2 | |
paul@254 | 3 | Input contexts determine how content provided for processing should be |
paul@254 | 4 | interpreted. Typically, wiki content will either be provided as a single file |
paul@254 | 5 | containing a single wiki page or as collections of such files arranged within a |
paul@254 | 6 | directory hierarchy. |
paul@211 | 7 | |
paul@254 | 8 | The supported input contexts are described below. |
paul@254 | 9 | |
paul@254 | 10 | == Directory == |
paul@254 | 11 | |
paul@254 | 12 | A directory containing wiki page files. |
paul@211 | 13 | |
paul@258 | 14 | [[Metadata#input_context|input_context]]:: `directory` |
paul@254 | 15 | |
paul@254 | 16 | Each file contains a different wiki page with its filename indicating the page |
paul@254 | 17 | name, and with any configured `input_separator` being used in filenames to |
paul@254 | 18 | construct hierarchical page relationships. |
paul@254 | 19 | |
paul@303 | 20 | == Moin Directory == |
paul@303 | 21 | |
paul@303 | 22 | A directory containing wiki page files stored in a MoinMoin arrangement. |
paul@303 | 23 | |
paul@303 | 24 | [[Metadata#input_context|input_context]]:: `moindirectory` |
paul@303 | 25 | |
paul@303 | 26 | Each directory within the root directory contains data for a different wiki |
paul@303 | 27 | page, with the directory name providing the page name (in an encoded form). |
paul@303 | 28 | Within the directory for each page, a `current` file provides the current |
paul@303 | 29 | revision number, and a `revisions` directory contains one or more numbered |
paul@303 | 30 | files each providing the content of the appropriate revision. Currently, only |
paul@303 | 31 | the current revision is accessed. |
paul@303 | 32 | |
paul@254 | 33 | == Standalone == |
paul@254 | 34 | |
paul@254 | 35 | A standalone wiki page file. |
paul@254 | 36 | |
paul@258 | 37 | [[Metadata#input_context|input_context]]:: `standalone` |
paul@254 | 38 | |
paul@254 | 39 | A single file containing a single wiki page. |