mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-18 18:49:23 +00:00
Introduces a new documentation site for CS2-SimpleAdmin using Docusaurus, including developer API references, tutorials, user guides, and module documentation. Removes the CleanModule example and updates FunCommands and ExampleModule. Also updates main plugin and API files to support new documentation and module structure.
32 lines
702 B
Markdown
32 lines
702 B
Markdown
---
|
|
sidebar_position: 5
|
|
---
|
|
|
|
# Deploy your site
|
|
|
|
Docusaurus is a **static-site-generator** (also called **[Jamstack](https://jamstack.org/)**).
|
|
|
|
It builds your site as simple **static HTML, JavaScript and CSS files**.
|
|
|
|
## Build your site
|
|
|
|
Build your site **for production**:
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
The static files are generated in the `build` folder.
|
|
|
|
## Deploy your site
|
|
|
|
Test your production build locally:
|
|
|
|
```bash
|
|
npm run serve
|
|
```
|
|
|
|
The `build` folder is now served at [http://localhost:3000/](http://localhost:3000/).
|
|
|
|
You can now deploy the `build` folder **almost anywhere** easily, **for free** or very small cost (read the **[Deployment Guide](https://docusaurus.io/docs/deployment)**).
|