Difficulty in getting GitBook site to show up in GitHub page

前端 未结 3 455
清酒与你
清酒与你 2021-02-04 21:13

I am trying to follow https://github.com/GitbookIO/gitbook but there is some assumed knowledge that clearly I don\'t have. I\'ve used GitHub for some time but I\'ve still got a

3条回答
  •  误落风尘
    2021-02-04 21:32

    Take a look at this book: https://github.com/GitbookIO/git.

    It uses grunt to set up a few tasks: test, publish and build.

    You should do the same by copying the package.json, Gruntfile.js and running:

    $ npm install .
    

    For testing:

    $ grunt test
    

    For publishing on the gh-pages branch:

    $ grunt publish
    

提交回复
热议问题