Documentation site for Frappe Assistant Core (FAC) — the open-source AI assistant for Frappe.
Built with VitePress and hosted on GitHub Pages.
# Install (Node 20+ recommended)
npm install
# Start dev server with hot reload
npm run docs:dev
# Build the static site
npm run docs:build
# Preview the built site
npm run docs:previewThe dev server runs at http://localhost:5173/. Pages live under docs/ — edit a .md file and the page hot-reloads.
docs/
├── .vitepress/config.ts Nav, sidebar, theme
├── public/ Static assets (CNAME, favicon, logo)
├── index.md Landing page
├── getting-started/
├── guides/
├── api/
├── skills/
├── development/
├── internals/
└── reference/
Pushes to main are auto-deployed by .github/workflows/deploy.yml:
- GitHub Actions builds the site with
npm run docs:build - Uploads
docs/.vitepress/distas the Pages artifact - GitHub Pages serves it
- Push this repo to GitHub
- Settings → Pages → Source: select GitHub Actions
- (Optional) Settings → Pages → Custom domain: enter your domain
- Update
docs/public/CNAMEto match - Update the
basefield indocs/.vitepress/config.ts:- Custom domain: keep
'/' - Project page (
username.github.io/fac-docs/): set to'/fac-docs/'
- Custom domain: keep
- Use relative links to
.mdfiles (e.g../oauth/setup-guide) — VitePress rewrites them to clean URLs at build time - Don't include
.mdextensions in links — clean URLs only - New sections need an entry in
docs/.vitepress/config.tssidebar - Frontmatter is optional, but
title:overrides the H1 in the sidebar
Documentation content: same as the project (AGPL-3.0).