Commit Graph

14 Commits

Author SHA1 Message Date
Dunya Kirkali
bedaa8e5a2 Fix diagram rendering in Nix builds 2026-08-08 22:52:15 +02:00
Dunya Kirkali
0f64b1133e Add Nix flake for reproducible dev and CI/CD
- flake.nix pins the full toolchain (asciidoctor + pdf/epub3/diagram/
  mathematical, plantuml, graphviz, jre, vale, epubcheck) via bundlerEnv
- Gemfile/Gemfile.lock/gemset.nix lock the Ruby gems; work around the
  vendored mtex2MML cmake_minimum_required incompatibility
- 'nix build' produces book.pdf + book.epub; 'nix develop' gives a shell
  where all existing make targets work
- CI/CD workflows now install Nix and build/lint/validate through the flake
- devcontainer uses Nix; add .envrc for direnv; document in README

Co-authored-by: Shelley <shelley@exe.dev>
2026-08-08 22:27:23 +02:00
Dunya Kirkali
59ff4fc3a3 Add epubcheck target for local EPUB validation (#9)
Backported from em_book's CI. Adds a 'make epubcheck' target that builds
the EPUB (via its dependency) and validates it with EPUBCheck, so authors
can catch EPUB issues locally before publishing.

- New epubcheck target depending on the EPUB path
- Document it in the README
- Add .PHONY declarations

Co-authored-by: Dunya Kirkali <exedev@writting.exe.xyz>
Co-authored-by: Shelley <shelley@exe.dev>
2026-08-08 22:05:23 +02:00
Dunya Kirkali
1890774875 Enable vale for prose linting (#3)
* Enable vale in CI

* Add vale config

* Tweak vale

* Update config

* Update .gitignore

* Switch back

* Rename CI

* Add badges

* Tidy up CI

* Change image

* Configure vale

* Delint

* Update README
2024-09-28 22:58:25 +02:00
Dunya Kirkali
4e8f6cde08 Move book.adoc to root 2024-09-06 19:47:31 +02:00
Dunya Kirkali
64fbe7fe90 Improve example
Correct README

Improve example

Correct README
2024-07-07 23:19:39 +02:00
Dunya Kirkali
60199a357d Update README 2024-07-07 18:31:08 +02:00
Dunya Kirkali
c65c4eeeb8 Update README 2024-07-07 18:29:39 +02:00
Dunya Kirkali
3671774224 Update README 2024-07-07 18:12:00 +02:00
Dunya Kirkali
2df67ddcc5 Improve README 2024-07-03 23:29:25 +02:00
Dunya Kirkali
ad823cf21d Improve README 2024-07-03 23:26:55 +02:00
Dunya Kirkali
767b3d2b1c Improve README 2024-07-03 23:25:56 +02:00
Dunya Kirkali
1d6bb0ec90 Update README 2024-07-03 23:23:38 +02:00
Dunya Kirkali
b210045d6b Initial commit 2024-06-15 10:42:26 +02:00