-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: move a cd step to the start of the init task (#1710)
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
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|