sinaatalay / rendercv

A LaTeX CV/Resume Framework
http://docs.rendercv.com
MIT License
1.67k stars 108 forks source link

Getting issue with #30

Closed VinayChaudhari1996 closed 5 months ago

VinayChaudhari1996 commented 5 months ago

Describe the bug I am getting the following issue while using theme: sb2nov image

To Reproduce I ran the following cmd/steps:- 1) rendercv new "Alex"

2) Changed the theme name under design in yaml file image

3) rendercv render Alex_CV.yaml

Screenshots

image

sinaatalay commented 5 months ago

Hello, this is actually not a bug, but the error message could have been clearer. I will fix that in the next release.

Each theme has different options. show_timespan_in is only a valid option for the classic theme. Therefore, when you changed the theme to sb2nov, it complained because sb2nov doesn’t have that option.

Please check the tip about JSON Schema that is given in the user guide. It is very helpful.

VinayChaudhari1996 commented 5 months ago

1) So what will be the quick fix , for sb2nov for now

2) Some ideas :- Can you create a flag for theme name itself while creating a yaml file through cmd ? so yaml file will create accordingly as per theme

Ex:- rendercv new "Alex" --sb2nov

sinaatalay commented 5 months ago

Hello, in the next release, there will be a theme option for the rendercv new command. Thank you for the suggestion!