опциональная генерация примеров

This commit is contained in:
2024-12-10 17:59:11 +03:00
parent 6e7ebd4027
commit d4f3383358
3 changed files with 5 additions and 13 deletions

View File

@@ -6,6 +6,7 @@ from jinja2 import Environment, FileSystemLoader
def generate_context(libname):
return {
'len': len,
'project_name': libname,
'project_name_code': libname.replace(' ', '_').lower(),
'project_name_cmake': libname.replace(' ', '-').lower(),