mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 08:57:03 +02:00
* feat: add getting started doc at classic inital templates * fix: improve the contents of getting started page * fix: fix slug routing * fix: rename gettingStarted to getting-started and re-adjust the content * feat: add markdown-features docs * feat: add a page on how to create a simple document * feat: add a page on how to create pages * feat: add create a post doc * feat: add thank you page with whats next * fix: reduce the content of the init templates * update the init template Co-authored-by: Lisa Chandra <52909743+lisa761@users.noreply.github.com> Co-authored-by: Javid <singularity.javid@gmail.com> Co-authored-by: slorber <lorber.sebastien@gmail.com>
28 lines
596 B
Markdown
28 lines
596 B
Markdown
---
|
|
title: Getting Started
|
|
slug: /
|
|
---
|
|
|
|
## Step 1: Generate a new Docusaurus site
|
|
|
|
If you haven't already, generate a new Docusaurus site using the classic template:
|
|
|
|
```shell
|
|
npx @docusaurus/init@latest init my-website classic
|
|
```
|
|
|
|
## Step 2: Start your Docusaurus site
|
|
|
|
Run the development server in the newly created `my-website` folder:
|
|
|
|
```shell
|
|
cd my-website
|
|
|
|
npx docusaurus start
|
|
```
|
|
|
|
Open `docs/getting-started.md` and edit some lines. The site reloads automatically and display your changes.
|
|
|
|
## That's it!
|
|
|
|
Congratulations! You've successfully run and modified your Docusaurus project.
|