diff options
| author | shu <nvcsadjkojf@outlook.com> | 2026-09-05 21:00:25 +0800 |
|---|---|---|
| committer | shu <nvcsadjkojf@outlook.com> | 2026-09-05 21:00:25 +0800 |
| commit | 7295f4e7408934a1cabc915256ea476a930c4a65 (patch) | |
| tree | 542816243742c71b2f0b5ea1fd359896538c81ec /_archived/docs/intro.mdx | |
| parent | efb449041e030c8d9ec06a4f4cfbf5554c868a93 (diff) | |
Diffstat (limited to '_archived/docs/intro.mdx')
| -rw-r--r-- | _archived/docs/intro.mdx | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/_archived/docs/intro.mdx b/_archived/docs/intro.mdx new file mode 100644 index 0000000..88f9571 --- /dev/null +++ b/_archived/docs/intro.mdx @@ -0,0 +1,47 @@ +--- +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)**. + +### What you'll need + +- [Node.js](https://nodejs.org/en/download/) version 20.0 or above: + - When installing Node.js, you are recommended to check all checkboxes related to dependencies. + +## Generate a new site + +Generate a new Docusaurus site using the **classic template**. + +The classic template will automatically be added to your project after you run the command: + +```bash +npm init docusaurus@latest my-website classic +``` + +You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. + +The command also installs all necessary dependencies you need to run Docusaurus. + +## Start your site + +Run the development server: + +```bash +cd my-website +npm run start +``` + +The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. + +The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. + +Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. |
