Install the dependencies:
npm installStart the dev server:
npm run devBuild the website for production:
npm run buildPreview 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