package-ecosystems/publication.json

50 lines
1.2 KiB
JSON

{
"metadata": {
"author": "D. Moonfire",
"title": "Exit Planning",
"language": "en",
"theme": "@mfgames-writing/clean-theme",
"outputDirectory": ".",
"outputFilename": "{{ edition.name }}-{{ edition.version }}.{{ edition.ext }}"
},
"editions": {
"epub": {
"format": "@mfgames-writing/epub2-format",
"ext": "epub"
},
"pdf": {
"format": "@mfgames-writing/weasyprint-format",
"images": {
"grayscale": true,
"opaque": true
},
"ext": "pdf"
}
},
"_common": {
"pipeline": [
{
"module": "@mfgames-writing/hyphen-pipeline"
}
]
},
"contents": [
{
"element": "toc",
"linear": false,
"title": "Contents",
"exclude": {
"editions": ["pdf"]
}
},
{
"element": "chapter",
"source": "src/introduction.md",
"pipeline": [
{
"module": "@mfgames-writing/hyphen-pipeline"
}
]
}
]
}