-
Notifications
You must be signed in to change notification settings - Fork 142
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
(CAT-434) Update README.md #568
Conversation
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.
Excellent re-write. Very clear.
Previous to this commit, our PDK-template documentation would be fairly intimadating and confusing, often jumpin from basic introductions to advanced concepts, while expecting the reader to have an understanding of concepts they may not be familiar with. This commit aims to rework the README to ensure that its more readable and user-friendly.
a0b0fd9
to
2abb361
Compare
|
||
## Basic Usage | ||
|
||
Templates like this one can be used in conjunction with the PDK. As default the PDK itself uses the templates within this repository to render files for use within a module. Templates can be passed to the PDK as a flag for several of the commands. | ||
By default PDK uses the templates within this repository to render files for use within a module. To use a third-party template, pass its URL using the `–-template-url` flag as shown in the following example: |
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.
Should we note that the PDK will look for a branch called main
unless specified? The error provided if that branch doesn't exist isn't clear that the branch couldn't be found, e.g.
pdk (FATAL): Unable to find a valid template at https://github.com/org/repo.git#main
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 feel like it should be expected that the command would default to main. But I guess a wee note won't hurt. Specially if there is people out there still using master in their naming conventions.
2abb361
to
7d2255a
Compare
Previous to this commit, our PDK-template documentation would be fairly intimadating and confusing, often jumpin from basic introductions to advanced concepts, while expecting the reader to have an understanding of concepts they may not be familiar with.
This commit aims to rework the README to ensure that its more readable and user-friendly.