Files
rendercv/tests/testdata
D'Alcamo Kael 733f4d2226 add support for profile photo (#193)
* feat: adding "photo" in CurriculumVitae model

* feat: loading "HeaderWithPhoto" template if photo is available

* template[sb2nov]: added HeaderWithPhoto.j2.tex template

* lint: linted files

* Revert "feat: loading "HeaderWithPhoto" template if photo is available"

This reverts commit 6a760519

* template[sb2nov]: merged Header.j2.tex and HeaderWithPhoto.j2.tex after revert 3253d2c1

* template[moderncv]: added photo in template

* fix,template[moderncv]: added check if photo is present

* template[markdown]: added photo support

* feat: adding support to relative path in templates
* relative paths are always relative to cwd

* fix: fixed optional photo in pydantic model

* feat,template[engineeringresumes]: implemented propic

* feat,template[engineeringresumes]: improved template

* feat,template[classic]: implemented template

* docs,template[sb2nov]: added comment

* fix,template: found a workaround for sourcesanspro and graphicx https://github.com/sinaatalay/rendercv/pull/193#issuecomment-2458194352

* fix: using context to manage in a clean way dynamic parameters passing to pydantic models

this is required because the "os.chdir" solution (https://github.com/sinaatalay/rendercv/pull/193#discussion_r1826306847) solved the path resolution for the image but bugged the path construction for paths in rendercv_settings (which should be relative to cwd and not to the path of the input file)

* tests: fixed some tests

* templates: formatted Header.j2.tex for classic, engineeringresumes, sb2nov templates

* tests: fixed test_create_a_latex_file and test_create_a_latex_file_and_copy_theme_files tests

* tests: fixed all tests and examples

* fix: fixed paths for Windows: path in latex should always be in unix style.

* tests: improved test code quality

* tests: fixed test_copy_theme_files_to_output_directory test

* Sina's updates

remove RenderCVContextModel

resolve typing and INPUT_FILE_PATH issue

update Preambles

update templates

rebase tests

fix issues

update headers

* resolve formatting issues

* set `update_testdata` to False

* don't use the profile picture in markdown

* set update_testdata to False

* fix photo issues

* fix moderncv

* fix INPUT_FILE_DIRECTORY

---------

Co-authored-by: kael-k <gh@kael-k.io>
Co-authored-by: Sina Atalay <dev@atalay.biz>
2024-12-24 20:52:33 -05:00
..