Skip to content

dacejs/dacejs.github.io-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dacejs.github.io-generator

Dace文档网站(https://dacejs.github.io/) 生成工具。

命令

根目录下的 website 是工作目录,下面所有的操作均在 website 目录下进行。

npm start

启动本地调试服务器,在 http://localhost:3000 预览网站。

npm run build

markdown 编译成 HTML,输出目录为 build

npm publish-gh-pages

发布网站,即将 build 中的文件提交到 dacejs/dacejs.github.iomaster 分支。

注意

  • 需要指定 github 用户名和分支明
    GIT_USER=<GIT_USER> \
      CURRENT_BRANCH=master \
      npm run publish-gh-pages
    
  • GIT_USER 对仓库需要有 owner 权限

相关链接

About

https://dacejs.github.io 文档网站生成器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published