echarts-offline-doc-cli
Apache ECharts 中文离线文档生成工具
GitHub Pages 预览
开始使用
全局安装
npm i echarts-offline-doc-cli -g
生成离线文档
echarts-offline-doc --build
echarts-offline-doc -b
echarts-offline-doc --build --proxy https://hub.fgit.cf/apache/echarts-doc
echarts-offline-doc -b -p https://hub.fgit.cf/apache/echarts-doc
echarts-offline-doc --build --cnpm
echarts-offline-doc -b -c
echarts-offline-doc --help
echarts-offline-doc -h
使用 HTTP Server 查看离线文档
echarts-offline-doc
echarts-offline-doc --serve
echarts-offline-doc -s
本地查看离线文档
echarts-offline-doc --local
echarts-offline-doc -l
从源码构建
git clone https://github.com/plainheart/echarts-offline-doc-cli --depth=1
npm i
npm run build
npm run build -- -- --proxy https://hub.fgit.cf/apache/echarts-doc
npm run build -- -- -p https://hub.fgit.cf/apache/echarts-doc
npm run build -- -- --cnpm
npm run build -- -- -c
npm start
npm run serve
npm run local
从 GitHub Pages 下载离线文档
如果不想麻烦去安装或者手动构建,可以直接从 gh-pages 分支下载定期自动生成和更新的 zip 压缩包,解压后打开根目录下的 index.html
即可。
License
MIT © 2021-2023 plainheart.