Skip to content

nwtgck/gitbook.tmpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

{{- /* NOTE: This template comment will be removed by tmpl.

gitbook.tmpl

Template of GitBook

How to use this template

# Install tmpl
go get -u github.com/nwtgck/tmpl

# Create a project from this template
tmpl new https://github.com/nwtgck/gitbook.tmpl.git mygitbook

Then, you will have mygitbook/ directory.

What should you do after tmpl run?

Modify files in ./docs.

*/ -}}

{{.project_name}}

{{.description}}

How to build

cd {{.DirName}}
npm install
npm run build

Then you can ./_book/index.html in your browser

How to develop GitBook

cd {{.DirName}}
npm install
npm start

Then a server for developing will run on http://localhost:4000/ . If you edit some .md files, the server automatically rebuild!

How to deploy to GitHub pages

$ cd {{.DirName}}
$ npm install
$ npm run deploy

Helpful sites

Releases

No releases published

Packages

No packages published