Configuration file
How to configure Documentable
Basics
Documentable uses a JSON file to read custom configuration. You have three different options to specify it:
Create a file named
documentable.jsonin the same directory wheredocumentablewill be executed.Provide a custom path to a JSON file with the
--confoption.Do nothing. In that case, the default configuration file will be used.
kinds entry
Array where each of the elements is written as:
The value of
kindmust be the string format of one element of Kind.The values of
namespecified incategorieshave to be the same used in the metadata (see document-format).sortoption is only available forKind::Language, to sort the documents using the categories in one column.
Additional entries
pod-root-path: Base link of the directory containing the documentation. It will be used to enable the edit button at the beginning of every primary page.For instance:
"pod-root-path": "https://github.com/Raku/Documentable/tree/master/docs".