Repository navigation
Conversation
Refs #13 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #13 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #13 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #13 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 1 of 3 for #13. Spec:
docs/superpowers/specs/2026-10-20-html-book-design.html; plan:docs/superpowers/plans/2026-10-20-html-book.html(tasks 1-3).What changed
project.py:outputs:inscriptorium.yamlbecomesProject.outputs: list[Output]. Each output has a name and a format (pdforhtml); a pdf takesfile,page,vars, an html output takesdir,vars,cover,image-max-width,js,css. An unknown key, a key of the other format, or an unknown format raisesProjectErrornaming the output and the key. Nooutputs:means onepdfoutput writingbook.pdf, so existing projects are unchanged.prepare(..., page=)andrender_pdf(..., page=)merge a page block (size, margin) over the theme's for one render.A5joins the named sizes.scriptorium render X.yamlbuilds every output and prints one line each;--only NAME(repeatable) picks;-ois refused when more than one output is selected.--format {pdf,html}is for single files. HTML outputs exit 2 with "not available yet" until part 2.Measured
tests/test_outputs.py: 14 new tests, all seen failing first. Locallytest_outputs,test_book,test_furniture,test_galleypass; CI runs the rest.pdfinforeports 419.528 x 595.276 pts for the A5 output and A4 for the other.🤖 Generated with Claude Code