Fix project name/slug underscore/hyphens

This commit is contained in:
object-Object 2023-09-15 01:14:39 -04:00
parent 897f18f6e7
commit e35cc4d92e

View file

@ -15,8 +15,8 @@
"_hexdoc_version": "1.0.dev",
"__project_name": "hexdoc-{{ cookiecutter.modid|lower }}",
"__project_slug": "hexdoc_{{ cookiecutter.modid|lower }}",
"__project_name": "hexdoc-{{ cookiecutter.modid|replace('_', '-')|lower }}",
"__project_slug": "hexdoc_{{ cookiecutter.modid|replace('-', '_')|lower }}",
"__src": "src/{{ cookiecutter.__project_slug }}",
"__export_root": "src/{{ cookiecutter.__project_slug }}/_export"