Skip to content

Funput/Docs

Repository files navigation

Funput Docs

Official documentation site for Funput — an open-source Vietnamese input method for macOS, Windows, and Linux.

Live site: docs.funput.app

Built with Docusaurus 3. Default locale is Vietnamese (vi); English (en) is available via the locale switcher.

Prerequisites

  • Node.js 20+ (Node 26 recommended for Docker)
  • pnpm (enabled via Corepack: corepack enable)

Getting started

Install dependencies:

pnpm install

Start the development server (hot reload):

pnpm start

Open http://localhost:3000. English docs are at http://localhost:3000/en.

Build

Generate static files into build/:

pnpm run build

Preview the production build locally:

pnpm run serve

Docker

Multi-stage image: Node 26 (build) + nginx alpine (serve).

docker build -t funput-docs .
docker run --rm -p 8080:80 funput-docs

Then open http://localhost:8080.

Project layout

Docs/
├── docs/              # Vietnamese source (default locale)
├── i18n/en/           # English translations
├── src/               # React pages & components (homepage)
├── static/            # Images, favicon, etc.
├── docusaurus.config.ts
├── sidebars.ts
├── Dockerfile
└── nginx.conf

Installation guides live under docs/install/ (macos, windows, linux).

Editing docs

  • Vietnamese content: edit files in docs/.
  • English content: edit the matching files under i18n/en/docusaurus-plugin-content-docs/current/.
  • Use relative links between docs (e.g. install/macos) so i18n routing works.
  • Admonitions (Docusaurus v3): use bracket titles, e.g. :::tip[My title] — not :::tip My title.

After changing navbar/footer labels, update the corresponding JSON files in i18n/en/docusaurus-theme-classic/ if needed.

Scripts

Command Description
pnpm start Dev server
pnpm run build Production build
pnpm run serve Serve build/ locally
pnpm run clear Clear Docusaurus cache
pnpm run typecheck TypeScript check

Links

License

MIT — see LICENSE in the main repository.

About

Tài liệu hướng dẫn của bộ gõ tiếng Việt Funput

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors