Apache Answer official website.

Clone this repo:
  1. 572d805 update: add 2 blogs for ospp by PrimmaAnna · 9 days ago main
  2. 9176572 update: fix format by PrimmaAnna · 9 days ago
  3. 5d5aab7 update: change cover by PrimmaAnna · 9 days ago
  4. a70840f update:add new blogs by PrimmaAnna · 9 days ago
  5. d0afca0 Update team.mdx by Fen · 11 days ago

Website

Apache Answer official website is built using Docusaurus, and we use pnpm to manage dependencies.

# Directory description
.
├── blog       # blog posts
├── community  # community docs
├── docs       # using docs
├── i18n       # translation files
├── plugins    # plugin config
├── src        # components, custom css and pages
├── static     # static files
└── ...

Installation

# pnpm version should > 8
pnpm i

Local Development

pnpm 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.

[!WARNING] Please edit .drawio.svg files in the Draw.io editor to avoid losing file layer information.

Build

pnpm 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 pnpm deploy

Not using SSH:

GIT_USER=<Your GitHub username> pnpm 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.