mirror of
https://github.com/dunyakirkali/letterpress.git
synced 2025-01-22 19:38:30 +00:00
Gutenberg the 💩 out of it!
.devcontainer | ||
.github | ||
backgrounds | ||
figures | ||
source | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
metadata.yaml | ||
README.md |
letterpress
Gutenberg the 💩 out of it!
Tools
This Project makes use of the following tools:
Batteries included
Everything you need to get started is included in the package
- Devcontainers: Allows you to build your book locally
- GitHub Workflows: Allows you to build your book on GitHub CI
Bring your own
- Content
- Images
Commands
Generate
In order to generate the PDF and the EPUB versions of the book you can just run:
make
If you just need to generate the PDF:
make output/your_book_slug.pdf
If you just need to generate the EPUB:
make output/your_book_slug.epub
Count
make count
Clean
In order to remove the generated files you can run:
make clean
Structure
The entry point of the book is book.adoc.
The book.adoc consists of 3 sections:
- The front matter
- The body
- The back matter
The body is where should be placing the main content of your book.