diff --git a/.gitignore b/.gitignore index 4392f62e4..aa31a0b7a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ *~ *.aar *.apk +docs/examples/*.js +docs/examples/*.js.map diff --git a/_docs/.gitignore b/_docs/.gitignore deleted file mode 100644 index 96ba7e0c0..000000000 --- a/_docs/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -public/examples/*.js -public/examples/*.js.map diff --git a/_docs/public b/_docs/public new file mode 120000 index 000000000..a9594bfe4 --- /dev/null +++ b/_docs/public @@ -0,0 +1 @@ +../docs \ No newline at end of file diff --git a/_docs/public/.nojekyll b/docs/.nojekyll similarity index 100% rename from _docs/public/.nojekyll rename to docs/.nojekyll diff --git a/_docs/public/examples/_resources/audio/jab.wav b/docs/examples/_resources/audio/jab.wav similarity index 100% rename from _docs/public/examples/_resources/audio/jab.wav rename to docs/examples/_resources/audio/jab.wav diff --git a/_docs/public/examples/_resources/audio/license.md b/docs/examples/_resources/audio/license.md similarity index 100% rename from _docs/public/examples/_resources/audio/license.md rename to docs/examples/_resources/audio/license.md diff --git a/_docs/public/examples/_resources/audio/ragtime.ogg b/docs/examples/_resources/audio/ragtime.ogg similarity index 100% rename from _docs/public/examples/_resources/audio/ragtime.ogg rename to docs/examples/_resources/audio/ragtime.ogg diff --git a/_docs/public/examples/_resources/fonts/license.md b/docs/examples/_resources/fonts/license.md similarity index 100% rename from _docs/public/examples/_resources/fonts/license.md rename to docs/examples/_resources/fonts/license.md diff --git a/_docs/public/examples/_resources/fonts/mplus-1p-regular.ttf b/docs/examples/_resources/fonts/mplus-1p-regular.ttf similarity index 100% rename from _docs/public/examples/_resources/fonts/mplus-1p-regular.ttf rename to docs/examples/_resources/fonts/mplus-1p-regular.ttf diff --git a/_docs/public/examples/_resources/images/blocks/background.png b/docs/examples/_resources/images/blocks/background.png similarity index 100% rename from _docs/public/examples/_resources/images/blocks/background.png rename to docs/examples/_resources/images/blocks/background.png diff --git a/_docs/public/examples/_resources/images/blocks/blocks.png b/docs/examples/_resources/images/blocks/blocks.png similarity index 100% rename from _docs/public/examples/_resources/images/blocks/blocks.png rename to docs/examples/_resources/images/blocks/blocks.png diff --git a/_docs/public/examples/_resources/images/ebiten.png b/docs/examples/_resources/images/ebiten.png similarity index 100% rename from _docs/public/examples/_resources/images/ebiten.png rename to docs/examples/_resources/images/ebiten.png diff --git a/_docs/public/examples/_resources/images/fiveyears.jpg b/docs/examples/_resources/images/fiveyears.jpg similarity index 100% rename from _docs/public/examples/_resources/images/fiveyears.jpg rename to docs/examples/_resources/images/fiveyears.jpg diff --git a/_docs/public/examples/_resources/images/gophers.jpg b/docs/examples/_resources/images/gophers.jpg similarity index 100% rename from _docs/public/examples/_resources/images/gophers.jpg rename to docs/examples/_resources/images/gophers.jpg diff --git a/docs/examples/_resources/images/images/blocks/background.png b/docs/examples/_resources/images/images/blocks/background.png new file mode 100644 index 000000000..011b898d6 Binary files /dev/null and b/docs/examples/_resources/images/images/blocks/background.png differ diff --git a/docs/examples/_resources/images/images/blocks/blocks.png b/docs/examples/_resources/images/images/blocks/blocks.png new file mode 100644 index 000000000..1f2ede3b3 Binary files /dev/null and b/docs/examples/_resources/images/images/blocks/blocks.png differ diff --git a/docs/examples/_resources/images/images/ebiten.png b/docs/examples/_resources/images/images/ebiten.png new file mode 100644 index 000000000..4ed07b852 Binary files /dev/null and b/docs/examples/_resources/images/images/ebiten.png differ diff --git a/docs/examples/_resources/images/images/fiveyears.jpg b/docs/examples/_resources/images/images/fiveyears.jpg new file mode 100644 index 000000000..1c7f8f587 Binary files /dev/null and b/docs/examples/_resources/images/images/fiveyears.jpg differ diff --git a/docs/examples/_resources/images/images/gophers.jpg b/docs/examples/_resources/images/images/gophers.jpg new file mode 100644 index 000000000..0cc956f10 Binary files /dev/null and b/docs/examples/_resources/images/images/gophers.jpg differ diff --git a/_docs/public/examples/_resources/images/keyboard/keyboard.png b/docs/examples/_resources/images/images/keyboard/keyboard.png similarity index 100% rename from _docs/public/examples/_resources/images/keyboard/keyboard.png rename to docs/examples/_resources/images/images/keyboard/keyboard.png diff --git a/_docs/public/examples/_resources/images/license.md b/docs/examples/_resources/images/images/license.md similarity index 100% rename from _docs/public/examples/_resources/images/license.md rename to docs/examples/_resources/images/images/license.md diff --git a/_docs/public/examples/_resources/images/tile.png b/docs/examples/_resources/images/images/tile.png similarity index 100% rename from _docs/public/examples/_resources/images/tile.png rename to docs/examples/_resources/images/images/tile.png diff --git a/docs/examples/_resources/images/keyboard/keyboard.png b/docs/examples/_resources/images/keyboard/keyboard.png new file mode 100644 index 000000000..70a761978 Binary files /dev/null and b/docs/examples/_resources/images/keyboard/keyboard.png differ diff --git a/docs/examples/_resources/images/license.md b/docs/examples/_resources/images/license.md new file mode 100644 index 000000000..600f3160c --- /dev/null +++ b/docs/examples/_resources/images/license.md @@ -0,0 +1,39 @@ +# License + +## ebiten.png + +``` +http://www.sozai-page.com/02_sozai/b/b04/b04_002/b04_002.html +``` + +## fiveyears.jpg + +``` +The Go gopher was designed by Renee French. (http://reneefrench.blogspot.com/) +The design is licensed under the Creative Commons 3.0 Attributions license. +Read this article for more details: https://blog.golang.org/gopher +``` + +## gophers.jpg + +``` +http://blog.golang.org/go-programming-language-turns-two + +Photograph by Chris Nokleberg +the Creative Commons Attribution 3.0 License +``` + +## tile.png + +``` +http://opengameart.org/node/8016 + +CC0 1.0 +``` + +## Other image files + +``` +Copyright 2014 Hajime Hoshi +the Creative Commons Attribution 3.0 License +``` diff --git a/docs/examples/_resources/images/tile.png b/docs/examples/_resources/images/tile.png new file mode 100644 index 000000000..33c138f41 Binary files /dev/null and b/docs/examples/_resources/images/tile.png differ diff --git a/_docs/public/examples/alphablending.content.html b/docs/examples/alphablending.content.html similarity index 100% rename from _docs/public/examples/alphablending.content.html rename to docs/examples/alphablending.content.html diff --git a/_docs/public/examples/alphablending.html b/docs/examples/alphablending.html similarity index 100% rename from _docs/public/examples/alphablending.html rename to docs/examples/alphablending.html diff --git a/_docs/public/examples/audio.content.html b/docs/examples/audio.content.html similarity index 100% rename from _docs/public/examples/audio.content.html rename to docs/examples/audio.content.html diff --git a/_docs/public/examples/audio.html b/docs/examples/audio.html similarity index 100% rename from _docs/public/examples/audio.html rename to docs/examples/audio.html diff --git a/_docs/public/examples/blocks.content.html b/docs/examples/blocks.content.html similarity index 100% rename from _docs/public/examples/blocks.content.html rename to docs/examples/blocks.content.html diff --git a/_docs/public/examples/blocks.html b/docs/examples/blocks.html similarity index 100% rename from _docs/public/examples/blocks.html rename to docs/examples/blocks.html diff --git a/_docs/public/examples/font.content.html b/docs/examples/font.content.html similarity index 100% rename from _docs/public/examples/font.content.html rename to docs/examples/font.content.html diff --git a/_docs/public/examples/font.html b/docs/examples/font.html similarity index 100% rename from _docs/public/examples/font.html rename to docs/examples/font.html diff --git a/_docs/public/examples/gamepad.content.html b/docs/examples/gamepad.content.html similarity index 100% rename from _docs/public/examples/gamepad.content.html rename to docs/examples/gamepad.content.html diff --git a/_docs/public/examples/gamepad.html b/docs/examples/gamepad.html similarity index 100% rename from _docs/public/examples/gamepad.html rename to docs/examples/gamepad.html diff --git a/_docs/public/examples/hsv.content.html b/docs/examples/hsv.content.html similarity index 100% rename from _docs/public/examples/hsv.content.html rename to docs/examples/hsv.content.html diff --git a/_docs/public/examples/hsv.html b/docs/examples/hsv.html similarity index 100% rename from _docs/public/examples/hsv.html rename to docs/examples/hsv.html diff --git a/_docs/public/examples/hue.content.html b/docs/examples/hue.content.html similarity index 100% rename from _docs/public/examples/hue.content.html rename to docs/examples/hue.content.html diff --git a/_docs/public/examples/hue.html b/docs/examples/hue.html similarity index 100% rename from _docs/public/examples/hue.html rename to docs/examples/hue.html diff --git a/_docs/public/examples/keyboard.content.html b/docs/examples/keyboard.content.html similarity index 100% rename from _docs/public/examples/keyboard.content.html rename to docs/examples/keyboard.content.html diff --git a/_docs/public/examples/keyboard.html b/docs/examples/keyboard.html similarity index 100% rename from _docs/public/examples/keyboard.html rename to docs/examples/keyboard.html diff --git a/_docs/public/examples/masking.content.html b/docs/examples/masking.content.html similarity index 100% rename from _docs/public/examples/masking.content.html rename to docs/examples/masking.content.html diff --git a/_docs/public/examples/masking.html b/docs/examples/masking.html similarity index 100% rename from _docs/public/examples/masking.html rename to docs/examples/masking.html diff --git a/_docs/public/examples/mosaic.content.html b/docs/examples/mosaic.content.html similarity index 100% rename from _docs/public/examples/mosaic.content.html rename to docs/examples/mosaic.content.html diff --git a/_docs/public/examples/mosaic.html b/docs/examples/mosaic.html similarity index 100% rename from _docs/public/examples/mosaic.html rename to docs/examples/mosaic.html diff --git a/_docs/public/examples/noise.content.html b/docs/examples/noise.content.html similarity index 100% rename from _docs/public/examples/noise.content.html rename to docs/examples/noise.content.html diff --git a/_docs/public/examples/noise.html b/docs/examples/noise.html similarity index 100% rename from _docs/public/examples/noise.html rename to docs/examples/noise.html diff --git a/_docs/public/examples/paint.content.html b/docs/examples/paint.content.html similarity index 100% rename from _docs/public/examples/paint.content.html rename to docs/examples/paint.content.html diff --git a/_docs/public/examples/paint.html b/docs/examples/paint.html similarity index 100% rename from _docs/public/examples/paint.html rename to docs/examples/paint.html diff --git a/_docs/public/examples/perspective.content.html b/docs/examples/perspective.content.html similarity index 100% rename from _docs/public/examples/perspective.content.html rename to docs/examples/perspective.content.html diff --git a/_docs/public/examples/perspective.html b/docs/examples/perspective.html similarity index 100% rename from _docs/public/examples/perspective.html rename to docs/examples/perspective.html diff --git a/_docs/public/examples/piano.content.html b/docs/examples/piano.content.html similarity index 100% rename from _docs/public/examples/piano.content.html rename to docs/examples/piano.content.html diff --git a/_docs/public/examples/piano.html b/docs/examples/piano.html similarity index 100% rename from _docs/public/examples/piano.html rename to docs/examples/piano.html diff --git a/_docs/public/examples/rotate.content.html b/docs/examples/rotate.content.html similarity index 100% rename from _docs/public/examples/rotate.content.html rename to docs/examples/rotate.content.html diff --git a/_docs/public/examples/rotate.html b/docs/examples/rotate.html similarity index 100% rename from _docs/public/examples/rotate.html rename to docs/examples/rotate.html diff --git a/_docs/public/examples/sprites.content.html b/docs/examples/sprites.content.html similarity index 100% rename from _docs/public/examples/sprites.content.html rename to docs/examples/sprites.content.html diff --git a/_docs/public/examples/sprites.html b/docs/examples/sprites.html similarity index 100% rename from _docs/public/examples/sprites.html rename to docs/examples/sprites.html diff --git a/_docs/public/favicon.png b/docs/favicon.png similarity index 100% rename from _docs/public/favicon.png rename to docs/favicon.png diff --git a/_docs/public/images/examples/alphablending.png b/docs/images/examples/alphablending.png similarity index 100% rename from _docs/public/images/examples/alphablending.png rename to docs/images/examples/alphablending.png diff --git a/_docs/public/images/examples/audio.png b/docs/images/examples/audio.png similarity index 100% rename from _docs/public/images/examples/audio.png rename to docs/images/examples/audio.png diff --git a/_docs/public/images/examples/blocks.png b/docs/images/examples/blocks.png similarity index 100% rename from _docs/public/images/examples/blocks.png rename to docs/images/examples/blocks.png diff --git a/_docs/public/images/examples/font.png b/docs/images/examples/font.png similarity index 100% rename from _docs/public/images/examples/font.png rename to docs/images/examples/font.png diff --git a/_docs/public/images/examples/gamepad.png b/docs/images/examples/gamepad.png similarity index 100% rename from _docs/public/images/examples/gamepad.png rename to docs/images/examples/gamepad.png diff --git a/_docs/public/images/examples/hsv.png b/docs/images/examples/hsv.png similarity index 100% rename from _docs/public/images/examples/hsv.png rename to docs/images/examples/hsv.png diff --git a/_docs/public/images/examples/hue.png b/docs/images/examples/hue.png similarity index 100% rename from _docs/public/images/examples/hue.png rename to docs/images/examples/hue.png diff --git a/_docs/public/images/examples/keyboard.png b/docs/images/examples/keyboard.png similarity index 100% rename from _docs/public/images/examples/keyboard.png rename to docs/images/examples/keyboard.png diff --git a/_docs/public/images/examples/masking.png b/docs/images/examples/masking.png similarity index 100% rename from _docs/public/images/examples/masking.png rename to docs/images/examples/masking.png diff --git a/_docs/public/images/examples/mosaic.png b/docs/images/examples/mosaic.png similarity index 100% rename from _docs/public/images/examples/mosaic.png rename to docs/images/examples/mosaic.png diff --git a/_docs/public/images/examples/noise.png b/docs/images/examples/noise.png similarity index 100% rename from _docs/public/images/examples/noise.png rename to docs/images/examples/noise.png diff --git a/_docs/public/images/examples/paint.png b/docs/images/examples/paint.png similarity index 100% rename from _docs/public/images/examples/paint.png rename to docs/images/examples/paint.png diff --git a/_docs/public/images/examples/perspective.png b/docs/images/examples/perspective.png similarity index 100% rename from _docs/public/images/examples/perspective.png rename to docs/images/examples/perspective.png diff --git a/_docs/public/images/examples/piano.png b/docs/images/examples/piano.png similarity index 100% rename from _docs/public/images/examples/piano.png rename to docs/images/examples/piano.png diff --git a/_docs/public/images/examples/rotate.png b/docs/images/examples/rotate.png similarity index 100% rename from _docs/public/images/examples/rotate.png rename to docs/images/examples/rotate.png diff --git a/_docs/public/images/examples/sprites.png b/docs/images/examples/sprites.png similarity index 100% rename from _docs/public/images/examples/sprites.png rename to docs/images/examples/sprites.png diff --git a/_docs/public/index.html b/docs/index.html similarity index 100% rename from _docs/public/index.html rename to docs/index.html diff --git a/_docs/public/scripts/force-https.js b/docs/scripts/force-https.js similarity index 100% rename from _docs/public/scripts/force-https.js rename to docs/scripts/force-https.js diff --git a/_docs/public/scripts/highlight.pack.js b/docs/scripts/highlight.pack.js similarity index 100% rename from _docs/public/scripts/highlight.pack.js rename to docs/scripts/highlight.pack.js diff --git a/_docs/public/stylesheets/bootstrap.min.css b/docs/stylesheets/bootstrap.min.css similarity index 100% rename from _docs/public/stylesheets/bootstrap.min.css rename to docs/stylesheets/bootstrap.min.css diff --git a/_docs/public/stylesheets/ebiten.css b/docs/stylesheets/ebiten.css similarity index 100% rename from _docs/public/stylesheets/ebiten.css rename to docs/stylesheets/ebiten.css diff --git a/_docs/public/stylesheets/highlight-github.css b/docs/stylesheets/highlight-github.css similarity index 100% rename from _docs/public/stylesheets/highlight-github.css rename to docs/stylesheets/highlight-github.css