-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rework README and move dev instructions to contributing #481
Rework README and move dev instructions to contributing #481
Conversation
Move all developer instructions out from README and rework/update the instructions. Disable markdownlint rule MD033 globally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea but see my concerns on DRYness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good 👍 - I've left some nitpicks that you can take or leave
``` | ||
|
||
You can also [install cookiecutter]. | ||
Do this if you don't use [uv], or if you're likely to want to use cookiecutter again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This says "you can do this if you don't use uv", but then the command below uses uv
. Perhaps just link to https://cookiecutter.readthedocs.io/en/stable/README.html#installation instead of offering extra commands?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do link to there. Line above ☝️
And I thought "Here's the way we install it" indicated that there are other ways.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could change
[install cookiecutter]
to
[install cookiecutter] with pipx or pip
to make it clearer that this is distinct from the uv
installation instructions and maybe also change
Here's the way we install it:
to
To install cookiecutter using uv run
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about just removing the whole thing and directing the user to install cookiecutter following cookiecutter's instructions?
Then it becomes a bit simpler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Co-authored-by: David Stansby <[email protected]>
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much clearer to me overall, thanks @samcunliffe! I agree with @paddyroddy's suggestions to remove example run through of cookiecutter and resulting project directory tree as seem like these will just be a pain to keep up to date without adding much value for users. Have also added some suggested changes around @dstansby's comments on installing cookiecutter.
``` | ||
|
||
You can also [install cookiecutter]. | ||
Do this if you don't use [uv], or if you're likely to want to use cookiecutter again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could change
[install cookiecutter]
to
[install cookiecutter] with pipx or pip
to make it clearer that this is distinct from the uv
installation instructions and maybe also change
Here's the way we install it:
to
To install cookiecutter using uv run
Co-authored-by: David Stansby <[email protected]>
Direct to cookiecutter's instructions.
@@ -1,2 +1,4 @@ | |||
--- | |||
MD013: false | |||
# Markdown linting rules to ignore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels like you've done this to trigger me...
Given that you can do other things besides ignoring in this file. I think we should remove this comment.
# Markdown linting rules to ignore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But everything in here is a rule to ignore.
you can do other things
We're not doing other things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But we might?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we would add another comment above the block of other things?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels unnecessary, but okay
I've attempted to simplify the user-facing quick-start instructions. Not a huge fan of enumerated instructions and the optional (but cool) one-liner it doesn't really fit in 1. 2. 3....
Also it's a bit overkill to have a venv/conda environment just for cookiecutter itself. The cookiecutter docs recommend
pipx install
. I claim that we want to encourageuvx
because it's fast and cool 😎 .I've spent a bit of effort trying to be clear but comments on clarity etc are very welcome.
I also moved and merged the dev instructions into CONTRIBUTING so README is just user-facing. And CONTRIBUTING is just dev.
This addresses
And two comments
uv
andpixi
. #464 (comment)uv
and add it to the website. #419 (comment)