Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.36 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.36 KB

superduper Documentation Website

This documentation website is built using Docusaurus 3.0, a modern static website generator.

Installation

As Docusaurus 3.0 lacks support for search functionality, we utilize Docusaurus 2.4 plugins. When installing, include the --legacy-peer-deps keyword to handle legacy peer dependencies.

npm install --legacy-peer-deps

Local Development

To initiate a local development server and open a browser window, execute the following command. Most changes are reflected live without requiring a server restart.

npm run start

Local Development with Search Feature

Since we employ local searching features, you need to build first and then serve it to see the result, as it builds its index during runtime.

npm run search

It will do both and show you a result. You have to run it again, if you want to see more changes.

Build

Generate static content into the build directory using the following command. The output can be served using any static content hosting service.

npm run build

Deployment

Using SSH:

USE_SSH=true npm run deploy

Without SSH:

GIT_USER=<Your GitHub username> npm run deploy

If you use GitHub Pages for hosting, this command conveniently builds the website and pushes it to the gh-pages branch.