From e9c508085d3a65b296ef45561d335ee2c2836637 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Tue, 30 Apr 2024 20:03:19 +0300 Subject: [PATCH] docs: fix `generate_examples` in update_rendercv_files.py --- docs/update_rendercv_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/update_rendercv_files.py b/docs/update_rendercv_files.py index 6bb3a58..2cba193 100644 --- a/docs/update_rendercv_files.py +++ b/docs/update_rendercv_files.py @@ -281,7 +281,7 @@ def generate_examples(): yaml_file_path = examples_directory_path / "John_Doe_CV.yaml" # Rename John_Doe_CV.yaml: - proper_theme_name = theme.replace("_", " ").title() + "Theme" + proper_theme_name = theme.capitalize() + "Theme" new_yaml_file_path = ( examples_directory_path / f"John_Doe_{proper_theme_name}_CV.yaml" )