-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add step in Installation section in README template #6914
Conversation
@@ -12,6 +12,8 @@ dependencies: | |||
<%= config.name %>: | |||
github: <%= config.github_name %>/<%= config.name %> | |||
``` | |||
|
|||
and run `shards install`. |
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 should be a whole sentence (for example Then run
shards install`).
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 think this is fine because Add this to your application's shard.yml:
, the yaml code and this together is one sentence. "Do this and run this" instead of "Do this. Then run this". So the whole installation is "swifty" and simply described in one sentence.
In the end there isn't really a big difference I think.
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.
It's hard to read that as a whole sentence given it's two paragraphs with a code block element in between.
This documents the
shards install
step in the Installation section of the README template.Because actually the Installation section is without this step incomplete. That's not everything you need to do to install the shard so you can use it.
So now the Installation section for a shard would look like this:
Installation
Add this to your application's
shard.yml
:Then run
shards install
.