chaldea-center / chaldea-docs

Documents for Chaldea

Home Page:https://docs.chaldea.center

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chaldea Docs

chaldea release docs MIT license discord

Documentation for Chaldea app. Powered by VitePress.

Documentation

https://docs.chaldea.center/

https://docs.chaldea.center/zh/

Contributing

VitePress Document

Requirement: node 18+

# enable pnpm
corepack enable
corepack prepare pnpm@latest --activate

# Install dependencies
pnpm install

# Serve the docs site in the local server
# http://localhost:8080
pnpm run docs:dev

# Edit or create markdown files
...

# Format
pnpm run docs:format
# or
npm run docs:format
# or
prettier --write .

# Make sure build passed
pnpm run docs:build

# commit & push
git pull && git add -A && git commit -m "msg" && git push

Structure

  • docs/: English docs
  • docs/zh/: Chinese docs
  • docs/.vitepress/configs/sidebar/: Sidebars

Keep the same structure for English and Chinese. Add new page for all languages and add them to sidebars.

License

MIT

About

Documents for Chaldea

https://docs.chaldea.center

License:MIT License