254f86d8fe
提交
36 lines
678 B
Markdown
36 lines
678 B
Markdown
---
|
||
sidebar_position: 1
|
||
---
|
||
|
||
# Code Docs 介绍
|
||
|
||
欢迎来到这里 , **Docusaurus in less than 1 minutes**.
|
||
|
||
## Getting Started
|
||
|
||
Get started by **creating a new site**.
|
||
|
||
Or **try Docusaurus immediately** with **[new.docusaurus.io](https://new.docusaurus.io)**.
|
||
|
||
## 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/getting-started.md` and edit some lines: the site **reloads automatically** and display your changes.
|