Major overhaul to the PDF generation pipeline by switching from Playwright-based PDF rendering to a new Typst-based pipeline#5
Merged
EtienneLescot merged 6 commits intomainfrom Feb 24, 2026
Conversation
- Introduced a new Typst CV template (cv.typ) with customizable themes and structured layout. - Added a preprocessing script (preprocess.js) to convert YAML locale files into JSON for the Typst template. - Updated package.json with new build commands for generating PDFs using Typst in different locales (fr, en).
- Replaced the accent bullet glyph with a small filled circle graphic. - Introduced a new `section-heading` function for consistent styling of section titles. - Removed decorative prefixes from section boxes to simplify the layout. - Updated section boxes for profile, skills, experiences, formation, languages, and interests to use the new heading style.
…nch locales style(typst): adjust margins, leading, and spacing for improved layout in CV refactor(typst): streamline project and mission sections in CV for better readability
…eed experiences section
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.
This pull request introduces a major overhaul to the PDF generation pipeline by switching from Playwright-based PDF rendering to a new Typst-based pipeline. It also adds a comprehensive Typst template for generating CV PDFs, updates build scripts and CI workflows, and makes minor improvements to project metadata.
Key changes:
PDF Generation Pipeline Overhaul
build-pdf-typst.js, which generates all CV PDF variants (French/English × dark/light) using Typst, including argument parsing, binary detection, preprocessing, and compilation logic. (build-pdf-typst.js)build.jsto use the Typst pipeline for PDF generation if available, falling back to the legacy Puppeteer method otherwise. (build.js) [1] [2]package.json(e.g.,build:pdf:typst,build:pdf:typst:fr,build:pdf:typst:en). (package.json)CI/CD and Build Process Updates
.github/workflows/build-deploy.yml,.github/workflows/build-pdf-commit.yml) [1] [2]build-all-branches.js, as it is no longer needed. (build-all-branches.js)Typst Template Addition
typst/cv.typ, including theme definitions, layout, and all content sections, designed to closely match the web version's appearance. (typst/cv.typ)Content and Metadata Fixes
https://github.com/...URLs for correctness. (locales/en.yml,locales/fr.yml) [1] [2]References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]