docs: refactor update_rendercv_files.py

This commit is contained in:
Sina Atalay 2024-04-16 14:16:18 +03:00
parent 5ae62c3d2d
commit 7c934e0851
1 changed files with 10 additions and 10 deletions

View File

@ -182,7 +182,6 @@ def generate_entry_figures():
# create a temporary directory:
temporary_directory_path = pathlib.Path(temporary_directory)
for theme in themes:
for entry_type, entry in entries.items():
design_dictionary = {
"theme": theme,
"disable_page_numbering": True,
@ -193,6 +192,7 @@ def generate_entry_figures():
del design_dictionary["disable_page_numbering"]
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
data_model = dm.RenderCVDataModel(
**{