cookiecutter
cookiecutter copied to clipboard
update global structure ?
I started to use cookiecutter for various things and I didn't realized there was a specific one for extentions. Would you be interested in updating the strucure to more modern Python ?
- use pre-commits
- use github actions
- rely on a single pyproject.toml file
- add config to build documentation (with default pages like landing, contribute, API)
Sure, go for it.
Basically sorted in https://github.com/sphinx-contrib/cookiecutter/pull/25
sorry @daquintero for washing away some of your effort I didn't saw you started working on my issue. In short I moved away from cookicutter as it was not allowing me to update my packages when I was discovering new things about python envirnment e.g. :
- setuptools -> hatchling
- tox -> nox
- flake8 -> ruff
To reflect that I created a copier template for sphinx based extention and saved it here: https://github.com/sphinx-contrib/copier-sphinxcontrib
I also published a skeleton extention here applying as much as possible the instructions of the readme: https://github.com/sphinx-contrib/sphinxcontrib-skeleton
I would be curious to get your feedback on both and see with @stephenfin if it would make sense to archive this repository in favor of the copier template (this is what we did in jupyter for lab plugins)