Skip to content

Commit

Permalink
docs: move a cd step to the start of the init task (#1710)
Browse files Browse the repository at this point in the history
The `cd` step seems like the first step of "Install the Docusaurus init command," instead of the last step of "Create a GitHub repository and local clone."
  • Loading branch information
italicize authored and yangshun committed Jul 26, 2019
1 parent 5f5cdb4 commit ab7e358
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/tutorial-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ git clone [email protected]:USERNAME/docusaurus-tutorial.git # SSH
git clone https://github.com/USERNAME/docusaurus-tutorial.git # HTTPS
```

7. `cd` to the directory for the local clone.
## Install the Docusaurus init command

Docusaurus comes with a command line tool to help you scaffold a Docusaurus site with some example templates. Let's install the installer!

1. `cd` to the directory of your local repository.

```sh
cd docusaurus-tutorial
```

## Install the Docusaurus init command

Docusaurus comes with a command line tool to help you scaffold a Docusaurus site with some example templates. Let's install the installer!

1. Run the following command:
2. Run the following command:

```sh
npm install --global docusaurus-init
Expand Down

0 comments on commit ab7e358

Please sign in to comment.