* 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>
* 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>
* fix(locale): correct Mandarin Chinese spelling and schema validation
- Rename locale identifier from "mandarin_chineese" to "mandarin_chinese"
- Update schema.json to reflect corrected spelling in all references
- Rename locale file from mandarin_chineese.yaml to mandarin_chinese.yaml
- Update language mapping in english_locale.py to use correct spelling
- Change CV schema additionalProperties from false to true for flexibility
- Fix typo in locale class name from MandarinChineeseLocale to MandarinChineseLocale
* Update schema
---------
Co-authored-by: sawyerlau <lkhmds@outlook.com>
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>
* Fix smokeshow for PRs
* feat(locale): add Danish locale
Add Danish locale file with translations for month names, abbreviations,
and other locale-specific strings. Danish language code 'da' is supported
as a valid ISO 639-1 code through the LanguageAlpha2 type.
The locale file can be used with the --locale-catalog option or included
inline in CV YAML files.
* fix: moved danish locale to correct location
* Fix minor issues
* Fix Indonesian
---------
Co-authored-by: Sina Atalay <79940989+sinaatalay@users.noreply.github.com>
Co-authored-by: Jakob Guldberg Aaes <jakob1379@gmali.com>
* Rename `data` folder with schema
* Start refactoring data models
* Work on entry models
* Keep working on entries
* Keep working on data models
* Push old data files
* Keep working on data models
* First draft of schema.cv
* Keep working on schema
* Keep working on schema
* Improve schema.models
* Keep working on rendercv.schema
* Work on schema.design
* Keep working on rendercv.schema
* Complete variant_class_generator
* Keep working rendercv.schema
* Keep working on rendercv.schema
* Final touches to rendercv.schema
* Improve json schema descriptions in rendercv.schema
* Start working on rendercv.schema tests
* Keep implementing rendercv.schema tests
* Add more tests for rendercv.schema
* Improve rendercv.schema
* Improve docstrings and comments in rendercv.schema
* Implement better pydantic error handling in `rendercv.schema`
* Improve variant class system
* Fix rendercv.schema tests
* Start working on rendercv.templater
* Update template names
* Switching to new rendercv typst template soon
* Work on new templater
* Rename renderer with renderer_old
* Don't use utils in rendercv.schema
* Complete connections
* Update renderer folder structure
* Work on new renderer
* Work on new renderer
* Date processing on new renderer
* Improve date processing, support multiple emails, phones, and websites
* Improve markdown to Typst
* Complete entry template processing
* Time span computation in new renderer
* Better entry templates
* Setup new templates
* Improve rendercv.schema
* Start adding tests for rendercv.renderer
* New markdown parser!
* Improve markdown to typst conversion
* Finalize markdown parser
* Add new test files for rendercv.renderer
* Fix cv and connections
* Add connections test
* Improve connection tests
* Improve entry templates
* Add model processor tests
* Improve templater
* Rename old folders
* Improve schema
* Add file generation logic to renderer
* Fix naming issues
* Fix schema tests
* Add path type tests
* Add font family and typst dimension type tests
* Rename old tests
* Fix design tests
* Start integration testing of renderer
* Improve entry tempates
* Handle nested highlights properly
* Finalize Typst preamble template
* Start working on new CLI
* Remove old test files
* Implement override dictionary in new schema
* Start working on new CLI
* Better prints on render command
* New structure
* New render printer
* Add all the commands to new CLI
* Work on new command in new cli
* Improve new command
* Add error handler to new cli
* Work on create theme command
* Complete create theme command
* Remove old source files
* Improve exceptions
* Create new docs
* Add writing tests guide
* Fix cli printer and write tests
* Test copy templates
* Add app tests
* Bring back accidentally removed files
* Imporve cli and tests
* Fix path issues
* Improve
* Improve
* Add reference file comparison tests
* Fix path resolver
* Start working on test_pdf_png
* Implement comparison of multiple files (png)
* Start testing typst
* Fix templating issues
* Fix header and entry templates issues
* Implement short second rows
* Fix date issues
* Fix nested bullets and add summary
* Update testdata
* Implement footer
* Update testdata
* Reimagined design and locale schema, first iteration
* Reimagined design and locale second iteration
* Update design and locale schemas
* Adapt templater to the new design and locale
* Fix tests
* Update lib.typ and testdata for the new locale and design
* Implement proper tests with all combinations of entries
* Remove some docstrings
* fix connections logic
* Improve
* Start working on examples
* Update testdata
* Fix long second row issue
* fix templating issues
* Fix lib.typ issues
* Update testdata
* Fix clean_trailing_parts
* Update test cv
* update test cv
* Update theme defaults
* update schema and fix moderncv
* Fix moderncv issues
* Update testdata
* Update testdata and examples
* Fix issues about photo
* Fix typst photo path issues
* improve entry templates from yaml
* add new locale
* Rename writing tests doc
* Update writing tests
* Improve tests
* Add more cli tests
* Increase test coverage
* Rename variant pydantic model generator
* Improve tests
* Update testdata and improve tests
* Format, fix pre-commit errors
* Fix scripts and update entry figures
* Improve tests
* Write docstrings of schema
* Write schema docstrings
* Setup api reference
* Start working on new docs
* Work on docs
* Improve progress panel of render command
* Finalize new docs index
* Complete CLI docs
* Work on YAML input structure page
* Finalize user guide
* Start working on developer guide
* Improve api reference
* Improve developer guide
* Improve developer guide
* Improve developer gide
* Improve developer guide
* Improve developer guide
* Update developer guide
* Improve developer guide
* Improve developer guide
* Improve developer guide
* Developer guide first draft
* update developer guide
* Update examples
* Update testdata
* Handle wrong installation (rendercv instead of rendercv[full])
* Remove unnecessary files
* Write set up vs code page
* Update README.md
* Change docs description
* Compress design options gif
* minor updates
* Polish all the json schema descriptions
* Update testdata and examples
* Remove some emdashed from docs
* Add whatsapp support
* Add TestEscapeTypstCharacters to tests
* Implement custom connections
* Add page break before sections feature
* Revert page break before sections feature
* Rebase to main
* Fix social network tests, update schema
* fix test case test_main_file
* Enhance Typst source preprocessing to eliminate unwanted spacing caused by inline formatting
* make changes to pass hatch run default:format
* remove most warnings from pytest
* fix the all warnings
* fix ruff
* remove noqa comments
* remove duplicate line of code
* run ruff format
* add read_a_yaml_file_with_coordinates function to read YAML files with location info
* refactor: add type annotations to field_info variables for clarity
* run ruff format
* update schema
* Bundle Font Awesome 6 fonts
* hope to skip less tests with font awesome fix
* update schema
* format
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit updates the `rendercv_settings` in the `John_Doe_ClassicTheme_CV.yaml` file to allow disabling the generation of HTML and PNG files. The `no_html` and `no_png` flags are set to `true` in the `render` section of the settings. This change provides more flexibility to users who may not need these file formats in their rendered output.
This commit removes the unused properties in the `rendercv_settings` section of the `John_Doe_ClassicTheme_CV.yaml`, `John_Doe_EngineeringresumesTheme_CV.yaml`, `John_Doe_ModerncvTheme_CV.yaml`, and `John_Doe_Sb2novTheme_CV.yaml` files. The properties `output_folder_name`, `no_html`, `no_markdown`, and `no_png` are no longer needed and have been removed. This cleanup improves the clarity and maintainability of the code.
This commit adds the `no_html` and `no_png` options to the `rendercv_settings` block in the `John_Doe_ClassicTheme_CV.yaml` file. These options allow the user to control whether the HTML and PNG files will be generated during the rendering process. The default values are set to `true` for `no_html` and `false` for `no_png`.