124 lines
3.2 KiB
JSON
124 lines
3.2 KiB
JSON
|
{
|
||
|
"metadata": {
|
||
|
"title": "{{edition.fedran.source.title}}",
|
||
|
"author": "D. Moonfire",
|
||
|
"language": "en",
|
||
|
"theme": "@fedran/writing-theme",
|
||
|
"outputDirectory": ".",
|
||
|
"outputFilename": "dmoonfire-{{edition.fedran.source.title_slug}}-{{edition.name}}-{{edition.version}}.{{edition.ext}}",
|
||
|
"markdown": {
|
||
|
"extensions": [
|
||
|
{
|
||
|
"package": "markdown-it-multimd-table",
|
||
|
"options": {
|
||
|
"headerless": true
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"style": {
|
||
|
"css": "td { width: 6em; } td[colspan=\"2\"] { width: 12em; }"
|
||
|
}
|
||
|
},
|
||
|
"includes": [
|
||
|
{
|
||
|
"json": "./fedran.json",
|
||
|
"merge": "metadata.fedran"
|
||
|
}
|
||
|
],
|
||
|
"editions": {
|
||
|
"epub": {
|
||
|
"format": "@mfgames-writing/epub2-format",
|
||
|
"ext": "epub"
|
||
|
},
|
||
|
"pdf": {
|
||
|
"format": "@mfgames-writing/weasyprint-format",
|
||
|
"isbn": "",
|
||
|
"images": {
|
||
|
"grayscale": true,
|
||
|
"opaque": true
|
||
|
},
|
||
|
"ext": "pdf"
|
||
|
},
|
||
|
"docx": {
|
||
|
"format": "@mfgames-writing/docx-format",
|
||
|
"ext": "docx"
|
||
|
}
|
||
|
},
|
||
|
"contents": [
|
||
|
{
|
||
|
"element": "cover",
|
||
|
"source": "build/fedran-covers/pov/covers/0100-00-sand-and-blood.jpg",
|
||
|
"linear": false,
|
||
|
"exclude": {
|
||
|
"editions": ["pdf"],
|
||
|
"toc": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"element": "bastard",
|
||
|
"source": "matter/title.html",
|
||
|
"linear": false,
|
||
|
"exclude": {
|
||
|
"editions": ["epub", "html"],
|
||
|
"toc": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"element": "title",
|
||
|
"source": "matter/title.html",
|
||
|
"linear": false,
|
||
|
"exclude": {
|
||
|
"toc": true
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"element": "legal",
|
||
|
"source": "matter/legal.md",
|
||
|
"liquid": true,
|
||
|
"linear": false
|
||
|
},
|
||
|
{
|
||
|
"element": "toc",
|
||
|
"linear": false,
|
||
|
"title": "Contents",
|
||
|
"exclude": {
|
||
|
"editions": ["pdf"]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"element": "chapter",
|
||
|
"number": 1,
|
||
|
"directory": "chapters",
|
||
|
"source": "/^chapter-\\d+.(markdown|md)$/",
|
||
|
"start": true,
|
||
|
"page": 1,
|
||
|
"pipeline": [
|
||
|
{
|
||
|
"module": "@mfgames-writing/guillemet"
|
||
|
},
|
||
|
{
|
||
|
"module": "@fedran/writing-hyphen"
|
||
|
},
|
||
|
{
|
||
|
"module": "@mfgames-writing/hyphen-pipeline",
|
||
|
"exclude": ["`.*?`", "<code>.*?</code>"]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"element": "appendix",
|
||
|
"source": "matter/about.md"
|
||
|
},
|
||
|
{
|
||
|
"element": "appendix",
|
||
|
"source": "matter/fedran.md"
|
||
|
},
|
||
|
{
|
||
|
"element": "appendix",
|
||
|
"id": "license",
|
||
|
"source": "matter/license.md"
|
||
|
}
|
||
|
]
|
||
|
}
|