尚未检测到更新。GitHub 发布版本后会显示在这里。
Website for Versatile Thermostat
翻译准备中
正在加载完整 README。
查看完整 README ↗This is a Next.js community website for Versatile Thermostat, featuring multilingual documentation and an integrated search powered by Pagefind.
npm install
Before starting development, you need to build the site once to generate the search index:
npm run build
This command will:
/out/public/pagefind/ for development usenpm run dev
The dev script automatically copies the Pagefind index before starting the development server.
Open http://localhost:3000 with your browser to see the result.
If you want to start the dev server without the search functionality:
npm run dev:clean
If you make significant changes to the documentation and want to update the search index:
npm run build
npm run dev
npm run dev - Start development server with search enablednpm run dev:clean - Start development server without search setupnpm run build - Build for production and generate search indexnpm run start - Start production server (requires npm run build first)npm run lint - Run ESLintvtherm-website/
├── app/ # Next.js app directory
│ ├── [lng]/ # Language-specific routes
│ │ └── docs/ # Documentation pages
├── components/ # React components
│ ├── layout/ # Layout components (Header, Footer, etc.)
│ └── search/ # Pagefind search component
├── plans/ # Implementation plans and guides
├── scripts/ # Build and dev scripts
└── public/ # Static assets
When contributing to the documentation:
npm run build to regenerate the search indexnpm run dev