mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 02:08:55 +02:00
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."
This commit is contained in:
parent
5f5cdb4aa8
commit
ab7e3589d0
1 changed files with 6 additions and 6 deletions
|
@ -72,17 +72,17 @@ git clone git@github.com:USERNAME/docusaurus-tutorial.git # SSH
|
||||||
git clone https://github.com/USERNAME/docusaurus-tutorial.git # HTTPS
|
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
|
```sh
|
||||||
cd docusaurus-tutorial
|
cd docusaurus-tutorial
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install the Docusaurus init command
|
2. Run the following 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:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install --global docusaurus-init
|
npm install --global docusaurus-init
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue