docs: fix `generate_examples` in update_rendercv_files.py

This commit is contained in:
Sina Atalay 2024-04-30 20:03:19 +03:00
parent 10c482a360
commit e9c508085d
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ def generate_examples():
yaml_file_path = examples_directory_path / "John_Doe_CV.yaml" yaml_file_path = examples_directory_path / "John_Doe_CV.yaml"
# Rename 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 = ( new_yaml_file_path = (
examples_directory_path / f"John_Doe_{proper_theme_name}_CV.yaml" examples_directory_path / f"John_Doe_{proper_theme_name}_CV.yaml"
) )