Bump black (26.3.1), ruff (0.15.7), ty (0.0.24), prek (0.3.6), typer
(0.24.1), and codespell (v2.4.2). Add ty:ignore comments and type
annotations to satisfy stricter checks in ty 0.0.24. Make skill zip
generation reproducible with a fixed timestamp.
When using CLI overrides like `--design.theme "moderncv"` with a separate
design file, `update_value_by_location` crashed with `KeyError: 'design'`
because intermediate dictionary keys were not auto-created during traversal.
Now missing intermediate keys are initialized as empty dicts, allowing
overrides to work regardless of whether the target section exists in the
main YAML.
process_summary() unconditionally wrapped summary text in Markdown admonition
syntax (!!! summary), which only works as a block-level construct on its own
line. When users placed SUMMARY inline in a template (e.g., "**COMPANY**,
SUMMARY"), the admonition syntax broke rendering.
Now render_entry_templates() checks if SUMMARY appears on its own line in
the template. If standalone, admonition wrapping is applied for the special
#summary[] Typst formatting. If inline, the raw summary text is used directly.
When users specified design or locale overlay file paths in their YAML via
settings.render_command.design or settings.render_command.locale, these were
parsed but never actually loaded as overlays. Only CLI flags (--design,
--locale) triggered overlay loading.
Now cli_command_render resolves these paths from the YAML (via the existing
collect_input_file_paths helper) before building arguments, so overlay files
referenced in settings are loaded the same way as CLI-provided ones.
The FontFamily JSON schema used a strict enum that rejected custom and system
fonts like Georgia. Changed from SkipJsonSchema[str] to plain str in the union
type, so the generated schema uses anyOf with both the known font enum (for
editor autocomplete) and a generic string type (for arbitrary fonts).
On NixOS and other immutable distributions, package files in the store are
read-only. shutil.copytree preserves source permissions, so copied template
files remain read-only. This causes PermissionError when create-theme tries
to write __init__.py into the copied directory.
Added make_tree_writable() that adds user-write permission to all files and
directories after copying. Called automatically by copy_templates().
When multi-line template fields (like main_column) contained markdown emphasis
markers on adjacent lines, the Python markdown library treated single-newline-
separated lines as one paragraph, causing markers to interact across lines and
produce garbled Typst output with mismatched brackets.
The fix processes each line of input independently in markdown_to_typst() while
preserving multi-line admonition blocks. This prevents emphasis markers on one
line from interfering with markers on adjacent lines.
Ink: elegant academic theme with EB Garamond and purple palette.
Opal: modern minimalist with Lato and teal accents.
Ember: editorial theme with mixed Gentium Book Plus/Ubuntu fonts,
crimson accents, diamond bullets, and justified-with-no-hyphenation.
Updates README theme grid from 2x3 to 3x3 to showcase all 9 themes.
The skill file lived in the main repo, which meant `npx skills add`
had to clone the entire RenderCV codebase and exposed internal dev
skills. A dedicated lightweight repo solves both problems.
- Create rendercv/rendercv-skill repo as a read-only distribution channel
- Add it as a submodule at .claude/skills/rendercv-skill/
- Update generation script and tests to write to the submodule path
- Add submodules: true to test workflow checkout steps
- Update docs, README, and install commands to use rendercv/rendercv-skill
- Add --recursive clone instruction to developer guide
- Delete the old skills/ directory at repo root
- Add SKILL.md for AI agents: YAML schema reference, entry type field
tables, design samples per theme, CLI reference, and important patterns
(YAML quoting, phone validation, bullet characters)
- Add Jinja2 template and generate.py that auto-generates SKILL.md and
docs/llms.txt from live Pydantic models and sample generators
- Add promptfoo eval suite (15 tests across 4 files): cv_generation,
pdf_parsing, design, and cli_workflow
- Add deterministic grader that validates LLM output through RenderCV's
own pydantic pipeline (not jsonschema)
Move `rendercv-typst/` into `src/rendercv/renderer/rendercv_typst/` so that
`lib.typ` and `typst.toml` ship with every pip install. This eliminates the
runtime dependency on Typst Universe, allowing releases without waiting for
external PR reviews. The wheel excludes non-essential files (examples, template,
README, etc.) via `[tool.uv.build-backend]` wheel-exclude.
Add four new section title styles: `centered_without_line`,
`centered_with_partial_line` (baseline), `centered_with_centered_partial_line`
(middle-aligned), and `centered_with_full_line`. These allow section headings
to be centered with various line decorations, complementing the existing
left-aligned options.
When a placeholder like DEGREE was missing from an education entry, the
locale phrase "DEGREE in AREA" left the connector word "in" behind,
producing output like "Princeton University, in Computer Science". This
affected all locales with connector words (en, em, di, at, etc.).
The fix adds a general-purpose `remove_connectors_of_missing_placeholders`
step inside `remove_not_provided_placeholders` that strips bare connector
words from separators between placeholders when either side is missing.
This works for any template, not just locale phrases — for example,
"JOB_TITLE at COMPANY" now correctly drops "at" when COMPANY is absent.
* cv section: add title field in order to customize the title of produced documents
* Sync branch with origin/main
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Implement
* Use NAME - CV as pdf_title
---------
Co-authored-by: Sina Atalay <79940989+sinaatalay@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* feat: Add Arabic locale support and update Typst preamble template.
* feat: add rtl support for the Full.html template
* fix: change "'s CV" hardcoded word in the html/md outputs and make it changeable to support different languages.
* test: add tests for RTL support
* test: add tests for RTL support
* Improve implementation
* Update testdata
* Fix merge issues
* Simplify
* Add test and use type hints with type adapters
* Fix `just check` errors
---------
Co-authored-by: Khalid <khalid.pro.968@gmail.com>
Co-authored-by: Sina Atalay <79940989+sinaatalay@users.noreply.github.com>
* Add `design.entries.degree_width` field #649
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Bump rendercv typst version to 0.2.0
* Update testdata
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add --output-folder option to specify base output directory
This addresses issue #551 by adding support for customizing the output
folder for all generated files.
Changes:
- Add `output_folder` field to RenderCommand model
- Add `--output-folder` / `-o` CLI option
- When output_folder is set, it replaces the default `rendercv_output`
folder in all output paths
- Support OUTPUT_FOLDER placeholder for advanced path customization
- Add comprehensive test coverage
Usage examples:
# Simple: output all files to build/en/
rendercv render cv.yaml --output-folder build/en/
# Advanced: use OUTPUT_FOLDER placeholder for custom paths
rendercv render cv.yaml --output-folder dist/ \
--pdf-path OUTPUT_FOLDER/final/resume.pdf
Closes#551🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: address linting errors and Windows compatibility
- Fix PIE810: use tuple in startswith() call
- Fix ruff format issues
- Make tests cross-platform compatible for Windows
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: split compound assertions per PT018 rule
* Improve and update examples and schema
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Sina Atalay <79940989+sinaatalay@users.noreply.github.com>
* feat: watch mode now monitors included config files
Watch mode (--watch/-w) now monitors changes to included configuration
files specified via --design, --locale-catalog, and --settings options.
Previously, watch mode only monitored the main input file. Now when
using separate config files for design/locale/settings, changes to
any of these files will trigger a re-render.
Fixes#552
* Improve implementation
* Update testdata
* Fix pre-commit errors
* Update testdata
---------
Co-authored-by: Sina Atalay <79940989+sinaatalay@users.noreply.github.com>
- Add DAY placeholders to single date formatting
- Add tests for DAY placeholders
- Apply ruff formatting
- fix: expose DAY placeholders in top note and footer templates
- fix: apply ruff formatting for DAY placeholders
- refactor: extract build_date_placeholders, add DAY/DAY_IN_TWO_DIGITS support
Co-authored-by: Sina Atalay <79940989+sinaatalay@users.noreply.github.com>
* feat(locale): Added Norwegian (Bokmål and Nynorsk) locale
Added the two official writing standards for Norwegian:
Norwegian Bokmål and Norwegian Nynorsk.
Updated `english_locale-py` with the ISO 639-1 codes of 'nb' and 'nn'.
* Fix Nynorsk typo, regenerate schema, and add trailing newlines
- Fix Nynorsk "present" translation: "noverande" → "nåverande"
- Regenerate schema.json via update_schema.py instead of manual edits
- Add missing trailing newlines to both YAML files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Sina Atalay <79940989+sinaatalay@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* test: 🧪 design file applies with settings file
* fix: preserve design/locale paths when using --settings flag
* test: 🧪 skipping render commands works
* fix: ensure render_command settings are initialized in build_rendercv_dictionary
* fix: prefix unused variable with underscore to satisfy ruff RUF059