ebiten/_docs
2016-06-23 12:16:27 +09:00
..
public go generate _docs 2016-06-23 12:16:27 +09:00
server doc: Use 'go generate' again 2016-02-16 00:35:28 +09:00
.gitignore Bug fix: example -> examples in doc 2016-02-13 23:02:54 +09:00
example.tmpl.html docs: Add <title> to examples 2015-01-09 03:29:59 +09:00
examplecontent.tmpl.html doc: Bug fix: Don't specify http or https (#150) 2016-02-15 11:35:05 +09:00
gen.go doc: Add new examples 2016-04-14 01:26:31 +09:00
generate.go doc: Regenerate 2016-02-21 05:40:56 +09:00
index.tmpl.html Update index.tmpl.html along with #234 2016-06-23 12:15:34 +09:00
README.md doc: Update README 2016-04-23 02:12:51 +09:00

How to generate the doc

go generate .

How to run HTTP server

go run server/main.go

How to deploy

git subtree push --prefix _docs/public/ origin gh-pages

If the above doesn't work, try this:

# https://gist.github.com/cobyism/4730490#gistcomment-1394421
git subtree split --prefix _docs/public -b gh-pages
git push -f origin gh-pages:gh-pages
git branch -D gh-pages

How to update the version

  1. Fix the release date in the HTML
  2. Create a new branch from master branch with a version name like 1.2
  3. In master branch:
  4. Update version.txt in the master branch like 1.3.0-alpha
  5. In the new branch:
  6. Update version.txt like 1.2.0-rc1
  7. Generate the doc
  8. Add tag like v1.2.0-rc1
  9. Deploy JavaScript files to github.com/hajimehoshi/ebiten.pagestorage
  10. Deploy the doc