Skip to content

cnosdb/official-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

11082bf · Mar 6, 2024

History

28 Commits
Jan 5, 2024
Nov 30, 2023
Jan 12, 2024
Nov 30, 2023
Mar 6, 2024
Mar 5, 2024
Jan 12, 2024
Nov 1, 2023
Nov 6, 2023
Nov 1, 2023
Jan 19, 2024
Jan 23, 2024
Jan 23, 2024
Dec 1, 2023
Dec 1, 2023

Repository files navigation

Website

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

Installation

$ yarn

Local Development

$ yarn 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

$ yarn 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 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.


由于需要自定义一些布局,所以使用了 swizzling, 使用了其 ejecting 的方式,即把主题原生的组件替换成自己定义的组件。