This commit is contained in:
Luke committed 2023-06-04 15:15:21 +02:00
1 parent 3cebaf7fa5
commit b5eba8423f
229 files changed
+6238 -10690

No files matched your search

+12 -30
View File
@@ -1,41 +1,23 @@
# Website
# Nextra Docs Template
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.
This is a template for creating documentation with [Nextra](https://nextra.site).
### Installation
[**Live Demo →**](https://nextra-docs-template.vercel.app)
```
$ yarn
```
[![](.github/screenshot.png)](https://nextra-docs-template.vercel.app)
### Local Development
## Quick Start
```
$ yarn start
```
Click the button to clone this repository and deploy it on Vercel:
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
[![](https://vercel.com/button)](https://vercel.com/new/clone?s=https%3A%2F%2Fgithub.com%2Fshuding%2Fnextra-docs-template&showOptionalTeamCreation=false)
### Build
## Local Development
```
$ yarn build
```
First, run `pnpm i` to install the dependencies.
This command generates static content into the `build` directory and can be served using any static contents hosting service.
Then, run `pnpm dev` to start the development server and visit localhost:3000.
### Deployment
## License
Using SSH:
```
$ USE_SSH=true yarn deploy
```
Not using SSH:
```
$ GIT_USER=<Your GitHub username> yarn deploy
```
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
This project is licensed under the MIT License.