neko/webpage
Miroslav Šedivý 0b543445a4 add v2 docs.
2025-02-08 15:04:31 +01:00
..
docs move docs to new website. 2025-02-02 17:08:58 +01:00
src add v2 docs. 2025-02-08 15:04:31 +01:00
static add v2 docs. 2025-02-08 15:04:31 +01:00
versioned_docs/version-v2 add v2 docs. 2025-02-08 15:04:31 +01:00
versioned_sidebars add v2 docs. 2025-02-08 15:04:31 +01:00
.gitignore WIP add docusaurus webpage. 2025-02-01 19:10:47 +01:00
CNAME WIP add docusaurus webpage. 2025-02-01 19:10:47 +01:00
docusaurus.config.ts add v2 docs. 2025-02-08 15:04:31 +01:00
package-lock.json WIP add docusaurus webpage. 2025-02-01 19:10:47 +01:00
package.json WIP add docusaurus webpage. 2025-02-01 19:10:47 +01:00
README.md WIP add docusaurus webpage. 2025-02-01 19:10:47 +01:00
sidebars.ts WIP add docusaurus webpage. 2025-02-01 19:10:47 +01:00
tsconfig.json WIP add docusaurus webpage. 2025-02-01 19:10:47 +01:00
versions.json add v2 docs. 2025-02-08 15:04:31 +01:00

Website

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

Installation

$ npm run install

Local Development

$ npm run start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true npm run deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> npm run 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.