-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Big refactoring around cutter API #15
base: master
Are you sure you want to change the base?
Conversation
Keep going 👍 That's great! |
Keeping working at it... Check doc about generating directories. |
readthedocs project subdomains moved from .org to .io.
Conflicts: README.rst
… WORK IN PROGRESS.
I tried the documentation and I have some remarks:
I would also use the word engine rather than render and not generate a callable but a real engine:
|
Do you mean
Ok.
At the moment, cutters and engines are not the same! They have different goals and different API:
I first tried to make Cutter and Engine use the same API, but it introduces complexity and confusion with loaders. Making them distinct simplified implementation of each. |
…d RenderedDirectory objects.
Done. |
While rendering dynamic directories (i.e. using special Sample use case: in some "Django project" template, include "setup.py" template located in third-party "Python project" template. |
Looks like refactored API is getting better.
Other ideas? Once this pull-request is merged, we could work on further improvements:
|
Looks good |
Not ready to merge yet!
But you may start review with examples in (updated) docs (starting with overview).
Many changes around piecutter's API.