diff --git a/examples/John_Doe_ClassicTheme_CV.pdf b/examples/John_Doe_ClassicTheme_CV.pdf index 0ce0eae0..78d88007 100644 Binary files a/examples/John_Doe_ClassicTheme_CV.pdf and b/examples/John_Doe_ClassicTheme_CV.pdf differ diff --git a/examples/John_Doe_ClassicTheme_CV.yaml b/examples/John_Doe_ClassicTheme_CV.yaml index 3898c774..cdd7f32b 100644 --- a/examples/John_Doe_ClassicTheme_CV.yaml +++ b/examples/John_Doe_ClassicTheme_CV.yaml @@ -141,7 +141,3 @@ design: bottom: 0.3 cm horizontal_between_connections: 0.5 cm show_timespan_in: [] - -rendercv_settings: - render: - \ No newline at end of file diff --git a/examples/John_Doe_EngineeringresumesTheme_CV.pdf b/examples/John_Doe_EngineeringresumesTheme_CV.pdf index f71b011e..30607eef 100644 Binary files a/examples/John_Doe_EngineeringresumesTheme_CV.pdf and b/examples/John_Doe_EngineeringresumesTheme_CV.pdf differ diff --git a/examples/John_Doe_EngineeringresumesTheme_CV.yaml b/examples/John_Doe_EngineeringresumesTheme_CV.yaml index bbb19ac7..ef7aa852 100644 --- a/examples/John_Doe_EngineeringresumesTheme_CV.yaml +++ b/examples/John_Doe_EngineeringresumesTheme_CV.yaml @@ -139,8 +139,3 @@ design: vertical_between_name_and_connections: 5 pt bottom: 5 pt horizontal_between_connections: 10 pt -rendercv_settings: - output_folder_name: rendercv_output - no_html: false - no_markdown: false - no_png: false diff --git a/examples/John_Doe_ModerncvTheme_CV.pdf b/examples/John_Doe_ModerncvTheme_CV.pdf index 7815edee..bf42b9e2 100644 Binary files a/examples/John_Doe_ModerncvTheme_CV.pdf and b/examples/John_Doe_ModerncvTheme_CV.pdf differ diff --git a/examples/John_Doe_ModerncvTheme_CV.yaml b/examples/John_Doe_ModerncvTheme_CV.yaml index 9467af83..5768d7f3 100644 --- a/examples/John_Doe_ModerncvTheme_CV.yaml +++ b/examples/John_Doe_ModerncvTheme_CV.yaml @@ -112,8 +112,3 @@ design: content_scale: 0.75 show_only_years: false disable_page_numbers: false -rendercv_settings: - output_folder_name: rendercv_output - no_html: false - no_markdown: false - no_png: false diff --git a/examples/John_Doe_Sb2novTheme_CV.pdf b/examples/John_Doe_Sb2novTheme_CV.pdf index d8500941..5e2c65a9 100644 Binary files a/examples/John_Doe_Sb2novTheme_CV.pdf and b/examples/John_Doe_Sb2novTheme_CV.pdf differ diff --git a/examples/John_Doe_Sb2novTheme_CV.yaml b/examples/John_Doe_Sb2novTheme_CV.yaml index 468be202..67430060 100644 --- a/examples/John_Doe_Sb2novTheme_CV.yaml +++ b/examples/John_Doe_Sb2novTheme_CV.yaml @@ -139,8 +139,3 @@ design: vertical_between_name_and_connections: 0.3 cm bottom: 0.3 cm horizontal_between_connections: 0.5 cm -rendercv_settings: - output_folder_name: rendercv_output - no_html: false - no_markdown: false - no_png: false diff --git a/schema.json b/schema.json index b547d3c8..840a37e6 100644 --- a/schema.json +++ b/schema.json @@ -1690,6 +1690,24 @@ "RenderCVSettings": { "additionalProperties": false, "description": "This class is the data model of the rendercv settings. The values of each field\nupdates the `rendercv_settings` dictionary.", + "properties": { + "render": { + "default": null, + "description": "The options to render the output files.", + "title": "Render Options", + "oneOf": [ + { + "$ref": "#/$defs/RenderOptions" + } + ] + } + }, + "title": "RenderCVSettings", + "type": "object" + }, + "RenderOptions": { + "additionalProperties": false, + "description": "This class is the data model of the render options. The values of each field\nupdates the `rendercv_settings.render` dictionary.", "properties": { "output_folder_name": { "default": "rendercv_output", @@ -1792,7 +1810,7 @@ ] } }, - "title": "RenderCVSettings", + "title": "RenderOptions", "type": "object" }, "Sb2novThemeOptions": { @@ -2112,23 +2130,15 @@ "title": "Locale Catalog" }, "rendercv_settings": { - "allOf": [ + "anyOf": [ { "$ref": "#/$defs/RenderCVSettings" + }, + { + "type": "null" } ], - "default": { - "output_folder_name": "rendercv_output", - "use_local_latex_command": null, - "pdf_path": null, - "latex_path": null, - "html_path": null, - "png_path": null, - "markdown_path": null, - "no_html": false, - "no_markdown": false, - "no_png": false - }, + "default": null, "description": "The settings of the RenderCV.", "title": "RenderCV Settings" }