mirror of
https://github.com/halo-dev/docs.git
synced 2026-04-17 02:06:46 +08:00
4b78f9f0894a7c9902a9817e03843109d3fe70bb
* docs: add toggle formkit component * docs: add toggle component to form schema and update changelogs - Introduced the `toggle` component for selecting images, colors, or text with options for single or multiple selections. - Updated API changelogs for both plugin and theme to reflect the addition of the `toggle` component in version 2.22.8. * Enhance image display in form schema docs --------- Co-authored-by: Ryan Wang <i@ryanc.cc>
The open-source repo for docs.halo.run
This website is built using Docusaurus 2, a modern static website generator.
Installation
$ pnpm install
If you don’t have pnpm installed, you can install it with the following command:
npm install -g pnpm
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.
Build
$ pnpm build
This command generates static content into the build directory and can be served using any static contents hosting service.
Description
Languages
MDX
52.9%
JavaScript
30%
TypeScript
9.6%
SCSS
5.6%
CSS
1.8%