@antora/epub-extension v1.0.0-beta.3
Antora EPUB Extension
The Antora EPUB extension is an Antora extension and exporter for Assembler. It configures and invokes Assembler and provides the converter function and metadata Assembler uses to export content to the EPUB format (specifically EPUB3). This extension is the official extension for exporting content in an Antora site to EPUB.
This extension first delegates to Assembler, passing in the converter metadata, to construct assembly files from pages per component version using the navigation as a model. Assembler then iterates over those assembly files and, using the converter provided by this extension, converts them to EPUB using Asciidoctor EPUB3 (or the specified command). Finally, Assembler adds those EPUBs to the content catalog as exports, which Antora publishes alongside the other files in the site.
Usage
Once this package is installed in the playbook project, register it in the Antora playbook as follows:
antora-playbook.yml
antora:
extensions:
- '@antora/epub-extension'
# ...
You can configure the behavior of the extension using the optional antora-assembler.yml file.
Copyright and License
Copyright (C) 2022-present by OpenDevise Inc. and the individual contributors of this project.
Use of this software is granted under the terms of the Mozilla Public License Version 2.0 (MPL-2.0).