Install the dependencies:
npm install
Start the dev server:
npm run dev
Build the website for production:
npm run build
Preview the production build locally:
npm run preview
从 docs/zh/guides/
生成 PDF 文档:
# 1. 合并并处理 Markdown(必须)
pnpm merge-md
# 2. 使用 Typora 将生成的 MD 转为 PDF
# 处理后的文件位于: dist/pdf/latest/Tego-Guides-zh-{date}.md
详细说明: 查看 scripts/merge-md/README.md