The JSON Collection Configuration file is defined as follows:
{
"name" : "Title of the collection",
"id" : "Used as the base file name of the final document",
"comment" : "Comment on the collection configuration",
"readingOrder" : [{
"url" : "URL of the first chapter"
"respec" : "whether the document must be pre-processed by ReSpec [boolean]",
"config" : {
"publishDate : "[iso date format]",
"specStatus : "...",
"addSectionLinks : "[boolean]",
"maxTocLevel : "[number]"
}
},{
...
}]
}
For the meaning of the configuration options, see the ReSpec manual. The "name", "id", "readingOrder", and "url" fields are required, all others are optional. The value of "comment" is ignored by the module.
The JSON collection configuration file is checked against the JSON schema in the get_book_configuration function.
Collection Configuration
The JSON Collection Configuration file is defined as follows:
For the meaning of the configuration options, see the ReSpec manual. The "name", "id", "readingOrder", and "url" fields are required, all others are optional. The value of "comment" is ignored by the module.
The JSON collection configuration file is checked against the JSON schema in the get_book_configuration function.
See also some example collection configurations files.