allegro/publication.yaml

36 lines
812 B
YAML

metadata:
title: "Allegro"
author: "D. Moonfire"
language: en
theme: "@fedran/writing-theme"
outputDirectory: .
outputFilename: "{{ edition.name }}-{{ edition.version }}.{{ edition.editionName }}"
editions:
epub:
format: "@mfgames-writing/epub2"
pdf:
format: "@mfgames-writing/weasyprint"
images:
grayscale: true
opaque: true
contents:
- element: toc
linear: false
title: Contents
exclude:
editions: [pdf]
- element: chapter
number: 1
directory: chapters
source: /^chapter-\d+.md$/
start: true
page: 1
pipeline: &pipelines
- module: "@mfgames-writing/hyphen"