-
Notifications
You must be signed in to change notification settings - Fork 263
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
chore: fixed documentation of configuration options in README #1297
Conversation
|
||
* `channel-type-mappings` can be used to define aliases for custom channel types that can be used wherever a channel type is required (as in `kn channel create --type`). This configuration section defines an array of entries with the following fields: |
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.
@abrennan89 this option is new and missing in the recent doc's PR. Please see also the full example above how this is used.
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.
Please open a doc issue for it an include the details 🙏🏻
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.
will do as soon as this is merged ...
docs/README.md
Outdated
@@ -1,6 +1,6 @@ | |||
# kn | |||
|
|||
`kn` is the Knative command line interface (CLI). | |||
`kn` is the Knative command-line interface (CLI). |
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 just be "command line" please
docs/README.md
Outdated
@@ -12,7 +12,7 @@ You can grab the latest nightly binary executable for: | |||
- [Linux](https://storage.googleapis.com/knative-nightly/client/latest/kn-linux-amd64) | |||
- [Windows](https://storage.googleapis.com/knative-nightly/client/latest/kn-windows-amd64.exe) | |||
|
|||
Put it on your system path, and make sure it's executable. | |||
Please put it on your system path, and make sure it's executable. |
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.
Don't add "please" in technical docs, this is actually called out in the Google developer style guide.
docs/README.md
Outdated
@@ -12,7 +12,7 @@ You can grab the latest nightly binary executable for: | |||
- [Linux](https://storage.googleapis.com/knative-nightly/client/latest/kn-linux-amd64) | |||
- [Windows](https://storage.googleapis.com/knative-nightly/client/latest/kn-windows-amd64.exe) | |||
|
|||
Put it on your system path, and make sure it's executable. | |||
Please put it on your system path, and make sure it's executable. |
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.
Please put it on your system path, and make sure it's executable. | |
Add the binary to the system PATH and ensure that it is executable. |
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.
Started reviewing this then realized it wasn't a docs PR 🤦🏻♀️ 😂
Please open a doc issue for any changes to docs and include the details there.
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.
/approve
/lgtm
/hold to address comments
docs/README.md
Outdated
flag to specify its path. | ||
You can customize your `kn` CLI setup by creating a `config.yaml` configuration file. You can either provide the configuration via a `--config` flag or is picked up from a default location. The default configuration location conforms to the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) and is different for Unix systems and Windows systems. If `XDG_CONFIG_HOME` env var is set, the default config location `kn` looks for is `$XDG_CONFIG_HOME/kn`, otherwise the file is looked up under the home directory of the user at `$HOME/.config/kn/config.yaml`. For Windows systems, the default `kn` configuration location is `%APPDATA%\kn`. | ||
|
||
`kn` does not create a default configuration file, nor does it write into an existing configuration file. |
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 mention there that while we don’t create a default config, we do have defaults for everything in the config?
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.
Clarified it a bit.
/unhold @abrennan89 I addressed all comments, could I get a lgtm if ok ? |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abrennan89, maximilien The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
No description provided.