Skip to content

Repository files navigation

Project Clice Documentation

Documentation site for Project Clice, built with VitePress.

Sync docs from other repos

This repo provides a composite action. When docs change in a source repo, it creates a PR here, validates the build, and auto-merges.

Add this workflow to your repo:

# .github/workflows/publish-docs.ymlname: publish docson:
push:
branches: [main]paths:
- "docs/**"jobs:
publish:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v4
- uses: clice-io/docs@mainwith:
project: your-project-nametoken: ${{ secrets.CLICE_DOCS }}

Doc layout convention

Two-level directory structure. Sidebar is auto-generated: level 1 directories become groups, level 2 .md files become items (title extracted from the first # heading).

docs/
├── en/
│ ├── guide/
│ │ ├── intro.md
│ │ └── quick-start.md
│ ├── design/
│ │ └── architecture.md
│ └── dev/
│ └── build.md
└── zh/ # same structure
└── ...

Local development

npm install
npm run dev

To preview with docs from other repos, copy them in:

cp -rf ../clice/docs/en en/clice
cp -rf ../clice/docs/zh zh/clice

About

Repository to maintain static resources of document website.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages