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.json
in the same directory wheredocumentable
will be executed.Provide a custom path to a JSON file with the
--conf
option.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
kind
must be the string format of one element of Kind.The values of
name
specified incategories
have to be the same used in the metadata (see document-format).sort
option 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"
.