mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-23 13:07:57 +02:00
* Create shared folder & update init logic Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * Restore needed links Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * Prevent copying symlinks Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * Reuse some FB files Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * Minor tweak Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * Minor refactors Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * Fix bootstrap url Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * Add path alias Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * Handle facebook template more gracefully Signed-off-by: Josh-Cena <sidachen2003@gmail.com> * minor refactor: extract getTypeScriptBaseTemplate Co-authored-by: slorber <lorber.sebastien@gmail.com>
35 lines
651 B
Markdown
35 lines
651 B
Markdown
---
|
|
sidebar_position: 1
|
|
---
|
|
|
|
# Tutorial Intro
|
|
|
|
Let's discover **Docusaurus in less than 5 minutes**.
|
|
|
|
## Getting Started
|
|
|
|
Get started by **creating a new site**.
|
|
|
|
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
|
|
|
|
## Generate a new site
|
|
|
|
Generate a new Docusaurus site using the **classic template**:
|
|
|
|
```shell
|
|
npx @docusaurus/init@latest init my-website classic
|
|
```
|
|
|
|
## Start your site
|
|
|
|
Run the development server:
|
|
|
|
```shell
|
|
cd my-website
|
|
|
|
npx docusaurus start
|
|
```
|
|
|
|
Your site starts at `http://localhost:3000`.
|
|
|
|
Open `docs/intro.md` and edit some lines: the site **reloads automatically** and display your changes.
|