refactor: update schema

This commit is contained in:
Akib
2024-09-01 17:16:35 +00:00
parent 7c78eaf14f
commit f2aa0b84a4

View File

@@ -1687,6 +1687,114 @@
"title": "PublicationEntry",
"type": "object"
},
"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": {
"output_folder_name": {
"default": "rendercv_output",
"description": "The name of the folder where the output files will be saved. The default value is \"rendercv_output\".",
"title": "Output Folder Name",
"oneOf": [
{
"type": "string"
}
]
},
"use_local_latex_command": {
"default": null,
"description": "The command to compile the LaTeX file to a PDF file. The default value is \"pdflatex\".",
"title": "Local LaTeX Command",
"oneOf": [
{
"type": "string"
}
]
},
"pdf_path": {
"default": null,
"description": "The path of the PDF file. If it is not provided, the PDF file will not be generated. The default value is an empty string.",
"title": "PDF Path",
"oneOf": [
{
"type": "string"
}
]
},
"latex_path": {
"default": null,
"description": "The path of the LaTeX file. If it is not provided, the LaTeX file will not be generated. The default value is an empty string.",
"title": "LaTeX Path",
"oneOf": [
{
"type": "string"
}
]
},
"html_path": {
"default": null,
"description": "The path of the HTML file. If it is not provided, the HTML file will not be generated. The default value is an empty string.",
"title": "HTML Path",
"oneOf": [
{
"type": "string"
}
]
},
"png_path": {
"default": null,
"description": "The path of the PNG file. If it is not provided, the PNG file will not be generated. The default value is an empty string.",
"title": "PNG Path",
"oneOf": [
{
"type": "string"
}
]
},
"markdown_path": {
"default": null,
"description": "The path of the Markdown file. If it is not provided, the Markdown file will not be generated. The default value is an empty string.",
"title": "Markdown Path",
"oneOf": [
{
"type": "string"
}
]
},
"no_html": {
"default": false,
"description": "A boolean value to determine whether the HTML file will be generated. The default value is False.",
"title": "Generate HTML Flag",
"oneOf": [
{
"type": "boolean"
}
]
},
"no_markdown": {
"default": false,
"description": "A boolean value to determine whether the Markdown file will be generated. The default value is False.",
"title": "Generate Markdown Flag",
"oneOf": [
{
"type": "boolean"
}
]
},
"no_png": {
"default": false,
"description": "A boolean value to determine whether the PNG file will be generated. The default value is False.",
"title": "Generate PNG Flag",
"oneOf": [
{
"type": "boolean"
}
]
}
},
"title": "RenderCVSettings",
"type": "object"
},
"Sb2novThemeOptions": {
"additionalProperties": false,
"description": "This class is the data model of the theme options for the `sb2nov` theme.",
@@ -2004,57 +2112,25 @@
"title": "Locale Catalog"
},
"rendercv_settings": {
"type": "object",
"allOf": [
{
"$ref": "#/$defs/RenderCVSettings"
}
],
"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
},
"description": "The settings of the RenderCV.",
"output_folder_name": {
"default": "rendercv_output",
"description": "The name of the output folder.",
"title": "Output Folder Name",
"type": "string"
},
"pdf_path": {
"description": "The path of the PDF file.",
"title": "PDF Path",
"type": "string"
},
"latex_path": {
"description": "The path of the LaTeX file.",
"title": "LaTeX Path",
"type": "string"
},
"markdown_path": {
"description": "The path of the Markdown file.",
"title": "Markdown Path",
"type": "string"
},
"html_path": {
"description": "The path of the HTML file.",
"title": "HTML Path",
"type": "string"
},
"png_path": {
"description": "The path of the PNG file.",
"title": "PNG Path",
"type": "string"
},
"no_html": {
"default": false,
"description": "If this option is set to true, then the HTML file will not be generated. The default value is false.",
"title": "No HTML",
"type": "boolean"
},
"no_markdown": {
"default": false,
"description": "If this option is set to true, then the Markdown file will not be generated. The default value is false.",
"title": "No Markdown",
"type": "boolean"
},
"no_png": {
"default": false,
"description": "If this option is set to true, then the PNG file will not be generated. The default value is false.",
"title": "No PNG",
"type": "boolean"
}
"title": "RenderCV Settings"
}
},
"required": [