Commit Graph

536 Commits

Author SHA1 Message Date
Sina Atalay c42e524c19 escape LaTeX characters 2023-10-27 21:31:55 +02:00
Sina Atalay bb4c3c94f8 improve error messages 2023-10-27 21:09:52 +02:00
Sina Atalay 76a2de4d6e improve TinyTeX call 2023-10-27 21:09:05 +02:00
Sina Atalay a21af89f08 improve validation messages 2023-10-27 21:08:29 +02:00
Sina Atalay 3df105b943 add Orcid support 2023-10-23 18:26:57 +02:00
Sina Atalay 571260f2dd update some validation errors 2023-10-23 17:41:57 +02:00
Sina Atalay 63dd801a83 improve logger 2023-10-22 17:02:25 +02:00
Sina Atalay 85dce4109c update startup YAML file 2023-10-22 16:39:29 +02:00
Sina Atalay da6d3135d1 check input file extension before running 2023-10-22 16:39:02 +02:00
Sina Atalay fc03edb285 fix custom link_text bug 2023-10-22 16:38:48 +02:00
Sina Atalay 5187c6d4a0 fix docstring errors 2023-10-22 16:38:35 +02:00
Sina Atalay c5cdb6041e Update vendor/README.md 2023-10-21 22:25:29 +02:00
Sina Atalay bae73ddda8 fix CLI 2023-10-21 16:51:43 +02:00
Sina Atalay ea87935e03 improve logging 2023-10-21 16:45:35 +02:00
Sina Atalay 4e48bc0c44 add new words to dictionary 2023-10-21 16:44:39 +02:00
Sina Atalay 51e7851a29 fix Ruff errors 2023-10-20 22:14:18 +02:00
Sina Atalay bf85d31e90 refactor 2023-10-20 22:09:52 +02:00
Sina Atalay 64089f2703 fix colors in windows terminal 2023-10-20 20:58:36 +02:00
Sina Atalay 0e52756d17 fix typos 2023-10-20 20:34:59 +02:00
Sina Atalay 7ef7a60aef update docstrings 2023-10-20 20:29:44 +02:00
Sina Atalay c73412d82d fix tests 2023-10-20 20:07:19 +02:00
Sina Atalay 842a749f08 fix entry point 2023-10-20 19:50:50 +02:00
Sina Atalay 12c7288d68 refactor 2023-10-20 19:45:08 +02:00
Sina Atalay f51642fb6f create a template for input files 2023-10-20 19:34:54 +02:00
Sina Atalay aa399e2a71 add word "markdown" to dictionary 2023-10-20 19:34:42 +02:00
Sina Atalay d6b0d16151 fix encoding problem 2023-10-20 19:34:24 +02:00
Sina Atalay 7377d6491b user typer for CLI 2023-10-20 19:34:06 +02:00
Sina Atalay f94db9bf53 remove sys.tracebacklimit=-1 2023-10-20 19:32:26 +02:00
Sina Atalay 965df59775 upload an example 2023-10-19 20:53:49 +02:00
Sina Atalay 0b95eb68da generate JSON schema 2023-10-19 20:02:14 +02:00
Sina Atalay 8a2045c7a1 imporve section_order validation 2023-10-18 20:05:40 +02:00
Sina Atalay 0ec1ef1ee2 make run_rendercv.py work 2023-10-18 20:00:41 +02:00
Sina Atalay 8285fe7c79 move entry function to __main__.py 2023-10-18 19:33:19 +02:00
Sina Atalay 965e9e4a34 fix macos tests 2023-10-16 20:02:51 +02:00
Sina Atalay a2781383f9 use sys.platform instead of os.name 2023-10-15 19:40:10 +02:00
Sina Atalay 9a632115ca fix link_text bug 2023-10-15 18:52:55 +02:00
Sina Atalay ca2a2719f6 refactor 2023-10-15 18:45:14 +02:00
Sina Atalay 5562685768 avoid using __file__ 2023-10-15 18:34:58 +02:00
Sina Atalay ab503f9c79 upload macos tinytex binaries 2023-10-15 18:34:37 +02:00
Sina Atalay 146d22f4b6 make the project ready for release 2023-10-14 23:59:57 +02:00
Sina Atalay 6d57b0942d prepare the code base for multiple themes 2023-10-14 20:40:39 +02:00
Sina Atalay ad45a94e86 refactor template 2023-10-14 20:39:55 +02:00
Sina Atalay 217c2cf4ec add page_size support 2023-10-14 18:32:22 +02:00
Sina Atalay 31449a5872 update rendering.py for new template structure 2023-10-14 18:32:10 +02:00
Sina Atalay 58835d553a update template folder structure 2023-10-14 18:31:43 +02:00
Sina Atalay ec530c9eb1 add summary field to the data model 2023-10-14 17:53:28 +02:00
Sina Atalay d33932ff36 fix entry macros 2023-10-14 17:53:02 +02:00
Sina Atalay 1c531e6f76 ignore type warnings 2023-10-13 22:42:16 +02:00
Sina Atalay fde1401588 check if the selected theme exists 2023-10-13 22:42:03 +02:00
Sina Atalay be686ebcfc double check if pdf is generated 2023-10-13 22:41:54 +02:00
Sina Atalay cd029ed88e solve type problems 2023-10-13 22:32:15 +02:00
Sina Atalay a05635a6d3 fix section order bug 2023-10-13 22:30:36 +02:00
Sina Atalay 3ef0915fc2 fix windows tests 2023-10-12 19:42:15 +02:00
Sina Atalay db99805085 improve runtimeerror message 2023-10-12 19:01:31 +02:00
Sina Atalay 70e8bac661 fix stdout argument of subprocess.run 2023-10-12 18:55:08 +02:00
Sina Atalay 21c95ad0ea try to print error message 2023-10-12 18:47:11 +02:00
Sina Atalay 5d7b473c9b check if the executable exists before running TinyTeX 2023-10-12 18:26:52 +02:00
Sina Atalay 06cf9d1198 check if latex binary runs 2023-10-12 18:18:20 +02:00
Sina Atalay 4ec486ef6a debug run_latex 2023-10-12 18:10:40 +02:00
Sina Atalay 22bba9cebe improve run_latex tests 2023-10-12 18:08:00 +02:00
Sina Atalay e37630e890 debug run_latex tests 2023-10-11 18:01:36 +02:00
Sina Atalay 992e72ba93 debug windows tests 2023-10-11 17:54:41 +02:00
Sina Atalay 71e05ad26a improve run_latex test 2023-10-09 21:07:48 +02:00
Sina Atalay 595212cd97 update run_latex test 2023-10-09 20:58:51 +02:00
Sina Atalay 7e175fee1e don't use latexmk 2023-10-09 20:18:35 +02:00
Sina Atalay e3cb9deffd try to run latex on ubuntu 2023-10-09 20:06:07 +02:00
Sina Atalay e5efd21b0a avod using bare excepts 2023-10-09 19:57:23 +02:00
Sina Atalay b83054336e try to add linux support 2023-10-08 19:15:42 +02:00
Sina Atalay 9d4e714157 start setting up the entry point 2023-10-08 19:02:25 +02:00
Sina Atalay 0d052d2afe update rendering module 2023-10-08 19:01:45 +02:00
Sina Atalay fa6717fd4f update tests 2023-10-08 18:17:17 +02:00
Sina Atalay f90357e68e add rendering.py tests 2023-10-08 18:16:54 +02:00
Sina Atalay fab94208f2 initialize logger differently 2023-10-08 18:16:08 +02:00
Sina Atalay 4ddd8581d9 reposition last updated text 2023-10-08 16:13:47 +02:00
Sina Atalay 468dafa19d add a serif font 2023-10-08 16:13:32 +02:00
Sina Atalay 8790097351 add custom fonts support 2023-10-08 15:41:20 +02:00
Sina Atalay ae629f4ec3 push TinyTeX 2023-10-07 23:19:49 +02:00
Sina Atalay 575bc06c50 add fonts 2023-10-07 23:18:05 +02:00
Sina Atalay de65b89153 fix tests 2023-10-07 21:18:54 +02:00
Sina Atalay 2302ca6c4c add a test for custom sections 2023-10-07 21:16:41 +02:00
Sina Atalay bb07677312 test data_model's Connection class 2023-10-07 20:51:33 +02:00
Sina Atalay ae2a21aa1a add tests for PublicationEntry class 2023-10-07 20:15:24 +02:00
Sina Atalay 726e03fa05 add DOI validator 2023-10-07 20:08:10 +02:00
Sina Atalay d08a30f800 remove __main__.py 2023-10-07 20:07:57 +02:00
Sina Atalay 72048b6d33 create tests for data_model's EducationEntry class 2023-10-07 19:14:56 +02:00
Sina Atalay b1f2777b2b add data_model's Event class tests 2023-10-07 18:54:16 +02:00
Sina Atalay 9607f15751 compute last updated date on python side 2023-10-07 17:59:53 +02:00
Sina Atalay d1b05979de fix highlights bug 2023-10-07 17:59:37 +02:00
Sina Atalay 7e47e0bd94 add location to the heading 2023-10-07 17:59:13 +02:00
Sina Atalay f2a8e152c6 add tests 2023-10-02 19:02:28 +02:00
Sina Atalay b56fb1d31f add last updated date to the header 2023-10-01 22:21:07 +02:00
Sina Atalay a0c8cb254b improve publications section 2023-10-01 21:43:28 +02:00
Sina Atalay 0107906480 show timespan in experience entries 2023-10-01 21:22:42 +02:00
Sina Atalay 920cf379cf add Publications section 2023-09-18 20:22:44 +02:00
Sina Atalay cdcd418301 improve section_order input 2023-09-18 19:09:39 +02:00
Sina Atalay 792cfb1f05 improve date validation 2023-09-18 19:00:53 +02:00
Sina Atalay c9cefcf748 generate urls in python side 2023-09-16 21:31:53 +02:00
Sina Atalay 9abd3c9de1 improve templates 2023-09-16 21:17:26 +02:00
Sina Atalay a43ef83e98 prepare data_model.py for JSON schema 2023-09-16 21:17:01 +02:00
Sina Atalay cec955d5e8 update docs 2023-09-13 20:02:27 +02:00
Sina Atalay 9748912f21 fix documentation 2023-09-13 19:10:21 +02:00
Sina Atalay 2f22ffd9fa finish rendering.py 2023-09-12 19:41:56 +02:00
Sina Atalay 2b571a9892 add new data validations 2023-09-12 19:41:43 +02:00
Sina Atalay fc366a7fd0 change templates' folder structure 2023-09-12 19:41:09 +02:00
Sina Atalay 1dab52d229 create rendering module 2023-09-10 21:56:54 +02:00
Sina Atalay 35876ad39f start documenting 2023-09-10 21:54:36 +02:00
Sina Atalay 8eebb129a4 deploy gh-pages 2023-09-10 19:36:13 +02:00
Sina Atalay c1f95af8a6 document check_spelling 2023-09-09 20:59:39 +02:00
Sina Atalay f107f972fb configure mkdocs 2023-09-09 20:43:41 +02:00
Sina Atalay e0ae4a60d0 make time span optional 2023-09-09 20:30:54 +02:00
Sina Atalay 6c7e425af2 improve components' structure 2023-09-09 19:23:41 +02:00
Sina Atalay 5a5b6e687f add Skills section 2023-09-09 19:02:20 +02:00
Sina Atalay 5a470a7ddf generalize the data model 2023-09-09 19:02:06 +02:00
Sina Atalay 2493d2fb15 add is_markdown filter to jinja 2023-09-09 19:01:46 +02:00
Sina Atalay 547cffefe6 add new dependencies to requirements.txt 2023-09-09 17:36:19 +02:00
Sina Atalay 6c5daad750 remove old files 2023-09-09 17:28:56 +02:00
Sina Atalay d464dc4c42 simplify folder structure 2023-09-09 17:25:28 +02:00
Sina Atalay 93e39686d3 add markdown_to_latex filter to jinja 2023-09-07 22:09:56 +02:00
Sina Atalay 3d4828660f fix TinyTeX.render() bug 2023-09-07 20:50:24 +02:00
Sina Atalay 4dcea39c08 add date parser 2023-09-07 20:50:03 +02:00
Sina Atalay ce0c438e03 add logging 2023-09-07 20:49:45 +02:00
Sina Atalay 2f737c9a69 rename dates_and_locations to date_and_location_strings 2023-09-07 20:47:52 +02:00
Sina Atalay c7ddedca21 improve template components 2023-09-06 21:16:14 +02:00
Sina Atalay e81f1b800a update data model 2023-09-06 21:15:58 +02:00
Sina Atalay 100f93a925 add Source Sans 3 font 2023-09-06 21:15:48 +02:00
Sina Atalay 81de558738 template geometry 2023-09-04 19:32:03 +02:00
Sina Atalay 7c5440a300 improve data model 2023-09-04 19:31:11 +02:00
Sina Atalay 1070259e5b trim blocks in templates 2023-09-03 19:40:02 +02:00
Sina Atalay 4f1a9b8808 refactor data model 2023-09-03 19:39:37 +02:00
Sina Atalay 590ff69d84 improve template 2023-09-03 19:39:13 +02:00
Sina Atalay c13781d2be create components for the template 2023-09-03 19:37:37 +02:00
Sina Atalay 70da19dc9b add render function to tinytex 2023-09-03 17:17:30 +02:00
Sina Atalay 74cf3fc602 update folder structure of templates 2023-09-03 17:16:36 +02:00
Sina Atalay 9ddbb5306f upload TinyTeX binaries 2023-09-01 21:56:05 +02:00
Sina Atalay ac1bf47cbf create a minimal working example 2023-08-20 20:48:11 +02:00
Sina Atalay c240fe90b8 create the initial project structure 2023-08-20 20:04:31 +02:00