mirror of https://github.com/eyhc1/rendercv.git
docs: refactor update_rendercv_files.py
This commit is contained in:
parent
5ae62c3d2d
commit
7c934e0851
|
@ -182,7 +182,6 @@ def generate_entry_figures():
|
||||||
# create a temporary directory:
|
# create a temporary directory:
|
||||||
temporary_directory_path = pathlib.Path(temporary_directory)
|
temporary_directory_path = pathlib.Path(temporary_directory)
|
||||||
for theme in themes:
|
for theme in themes:
|
||||||
for entry_type, entry in entries.items():
|
|
||||||
design_dictionary = {
|
design_dictionary = {
|
||||||
"theme": theme,
|
"theme": theme,
|
||||||
"disable_page_numbering": True,
|
"disable_page_numbering": True,
|
||||||
|
@ -193,6 +192,7 @@ def generate_entry_figures():
|
||||||
del design_dictionary["disable_page_numbering"]
|
del design_dictionary["disable_page_numbering"]
|
||||||
del design_dictionary["disable_last_updated_date"]
|
del design_dictionary["disable_last_updated_date"]
|
||||||
|
|
||||||
|
for entry_type, entry in entries.items():
|
||||||
# Create the data model with only one section and one entry
|
# Create the data model with only one section and one entry
|
||||||
data_model = dm.RenderCVDataModel(
|
data_model = dm.RenderCVDataModel(
|
||||||
**{
|
**{
|
||||||
|
|
Loading…
Reference in New Issue