mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 17:07:08 +02:00
move "cd to the repository" to "Scaffold the Site" (#1713)
The folder isn't important for the command `npm install --global docusaurus-init`. However, it is important to run `docusaurus-init` in the repository folder. The pull request moves the step to **[Scaffold the Site](https://docusaurus.io/docs/en/next/tutorial-create-new-site#scaffold-the-site).**
This commit is contained in:
parent
25899bfb30
commit
9da4cc9640
1 changed files with 1 additions and 7 deletions
|
@ -76,13 +76,7 @@ git clone https://github.com/USERNAME/docusaurus-tutorial.git # HTTPS
|
|||
|
||||
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
|
||||
```
|
||||
|
||||
2. Run the following command:
|
||||
Run the following command:
|
||||
|
||||
```sh
|
||||
npm install --global docusaurus-init
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue