Skip to content

Commit

Permalink
Merge pull request #135 from netlify/docs-site-tweaks
Browse files Browse the repository at this point in the history
Some docs tweaks
  • Loading branch information
bcomnes authored Oct 8, 2018
2 parents 76c57ea + 4660cf0 commit 2176c63
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 49 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

Welcome to the Netlify CLI! The new 2.0 version (now in beta) was rebuilt from the ground up to help improve the site building experience.

- See our [Getting Started Guide](https://www.netlify.com/docs/cli/) for a comprehensive introduction to the CLI.
- See the [CLI website](http://cli.netlify.com/) for online access to CLI help text.

## Table of Contents

<!-- AUTO-GENERATED-CONTENT:START (TOC:collapse=true&collapseText=Click to expand) -->
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
environment:
matrix:
# node.js
- nodejs_version: '8'
- nodejs_version: '10'
# - nodejs_version: '8'

cache:
- '%APPDATA%\npm-cache'
Expand Down
5 changes: 5 additions & 0 deletions docs/commands/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ Create a new deploy from the contents of a folder

Deploys from the build settings found in the netlify.toml file, or settings from the api.

The following environment variables can be used to override configuration file lookups and prompts:

- NETLIFY_AUTH_TOKEN - an access token to use when authenticating commands. KEEP THIS VALUE PRIVATE
- NETLIFY_SITE_ID - force the cli to think the cwd is linked to this site id. This can be made public.


**Usage**

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ title: Contributing to the Netlify CLI

If you'd like to contribute to the CLI please checkout the repo!

[CLI repo](https://github.com/netlify/cli/blob/master/CONTRIBUTING.md)
[CONTRIBUTING.md](https://github.com/netlify/cli/blob/master/CONTRIBUTING.md)
43 changes: 0 additions & 43 deletions docs/getting-started.md

This file was deleted.

7 changes: 3 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ description: Netlify Command line interface (CLI) documentation

# Netlify CLI

Welcome to the Netlify CLI!
Welcome to the Netlify CLI! This site provides online access to all help strings in the Netlify CLI. For a more in-depth guide, please see our [Getting Started](https://www.netlify.com/docs/cli/) guide on our main docs site.

The new Netlify CLI was designed from the ground up to help improve the site building experience.

- [Getting Started](/getting-started)
- [Getting Started](https://www.netlify.com/docs/cli/)
- [Commands](/commands)
- [Contributing](/contributing)
- [Github](https://github.com/netlify/cli/)
5 changes: 5 additions & 0 deletions src/commands/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ class DeployCommand extends Command {
DeployCommand.description = `${renderShortDesc(`Create a new deploy from the contents of a folder`)}
Deploys from the build settings found in the netlify.toml file, or settings from the api.
The following environment variables can be used to override configuration file lookups and prompts:
- NETLIFY_AUTH_TOKEN - an access token to use when authenticating commands. KEEP THIS VALUE PRIVATE
- NETLIFY_SITE_ID - force the cli to think the cwd is linked to this site id. This can be made public.
`

DeployCommand.examples = [
Expand Down

0 comments on commit 2176c63

Please sign in to comment.