Skip to content

Improve documentation (0.8) #237

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

Merged
merged 4 commits into from
Jun 29, 2016
Merged

Improve documentation (0.8) #237

merged 4 commits into from
Jun 29, 2016

Conversation

screamerbg
Copy link
Contributor

Add mbed CLI configuration section to README

* `toolchain` - Defines default toolchain for `compile` and `test` can be set through `mbed toolchain`. Default: none.
* `ARM_PATH`, `GCC_ARM_PATH`, `IAR_PATH` - defines default path to ARM Compiler, GCC ARM and IAR Workbench toolchains. Default: none.
* `protocol` - Defines the default protocol used for importing/cloning of programs and libraries. Possible values are `https`, `http` and `ssh`. Use `ssh` if you have generated and registered SSH keys (Public Key Authentication) with a service like GitHub, GitLab, Bitbucket, etc. Read more about SSH keys [here](https://help.github.com/articles/generating-an-ssh-key/) Default: `https`.
* `depth` - Defines *clone* depth for importing/cloning and applies only to *Git* repositories. Note that while this option may improve cloning speed, it may also prevent you from correctly checking out a dependency tree when the reference revision hash older than the clone depth. Google `shallow clone` if you'd like to know more about using shallow clones. Default: none.
Copy link
Contributor

@bridadan bridadan Jun 29, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit pick 1:

it may also prevent you from correctly checking out a dependency tree when the reference revision hash older than the clone depth

Add "is" here:

it may also prevent you from correctly checking out a dependency tree when the reference revision hash is older than the clone depth

Nit pick 2: Let's not tell them to "Google" shallow clone. Instead maybe we should link them directly to the git clone documentation page here: https://git-scm.com/docs/git-clone

@bridadan
Copy link
Contributor

Added a few notes.

+1 for docs!

@sg-
Copy link
Contributor

sg- commented Jun 29, 2016

LGTM 👍

@sg- sg- merged commit f9c7864 into ARMmbed:master Jun 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants