From f2b6a5d5ff1b5087b3012e9e4bc7ed92dd094189 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 9 Apr 2018 23:23:44 +0900 Subject: [PATCH] docs: Use compiled results directly instead of the playground --- _docs/example.tmpl.html | 1 + _docs/index.tmpl.html | 8 ++--- docs/examples/2048.html | 1 + docs/examples/airship.html | 1 + docs/examples/alphablending.html | 1 + docs/examples/audio.html | 1 + docs/examples/blocks.html | 1 + docs/examples/filter.html | 1 + docs/examples/flappy.html | 1 + docs/examples/flood.html | 1 + docs/examples/font.html | 1 + docs/examples/gamepad.html | 1 + docs/examples/highdpi.html | 1 + docs/examples/hsv.html | 1 + docs/examples/hue.html | 1 + docs/examples/infinitescroll.html | 1 + docs/examples/keyboard.html | 1 + docs/examples/life.html | 1 + docs/examples/mandelbrot.html | 1 + docs/examples/masking.html | 1 + docs/examples/mosaic.html | 1 + docs/examples/noise.html | 1 + docs/examples/paint.html | 1 + docs/examples/perspective.html | 1 + docs/examples/piano.html | 1 + docs/examples/rotate.html | 1 + docs/examples/sinewave.html | 1 + docs/examples/sprites.html | 1 + docs/examples/tiles.html | 1 + docs/examples/typewriter.html | 1 + docs/index.html | 56 +++++++++++++++---------------- 31 files changed, 61 insertions(+), 32 deletions(-) diff --git a/_docs/example.tmpl.html b/_docs/example.tmpl.html index 7ee7af8bd..33307e688 100644 --- a/_docs/example.tmpl.html +++ b/_docs/example.tmpl.html @@ -25,6 +25,7 @@
{{with .Example}}

Ebiten example - {{.Name}}

+

Go Playground page

{{end}}
diff --git a/_docs/index.tmpl.html b/_docs/index.tmpl.html index d7e60d5f3..4d68e044c 100644 --- a/_docs/index.tmpl.html +++ b/_docs/index.tmpl.html @@ -63,7 +63,7 @@
{{range .GamesExamples -}}
- Ebiten example: {{.Name}} + Ebiten example: {{.Name}}
{{- end}}
@@ -71,7 +71,7 @@
{{range .GraphicsExamples -}}
- Ebiten example: {{.Name}} + Ebiten example: {{.Name}}
{{- end}}
@@ -79,7 +79,7 @@
{{range .InputExamples -}}
- Ebiten example: {{.Name}} + Ebiten example: {{.Name}}
{{- end}}
@@ -87,7 +87,7 @@
{{range .AudioExamples -}}
- Ebiten example: {{.Name}} + Ebiten example: {{.Name}}
{{- end}}
diff --git a/docs/examples/2048.html b/docs/examples/2048.html index c3e0bf09e..aaf534691 100644 --- a/docs/examples/2048.html +++ b/docs/examples/2048.html @@ -25,6 +25,7 @@

Ebiten example - 2048

+

Go Playground page

diff --git a/docs/examples/airship.html b/docs/examples/airship.html index ebc24680c..c2070d126 100644 --- a/docs/examples/airship.html +++ b/docs/examples/airship.html @@ -25,6 +25,7 @@

Ebiten example - airship

+

Go Playground page

diff --git a/docs/examples/alphablending.html b/docs/examples/alphablending.html index 280406d4a..2d90b1413 100644 --- a/docs/examples/alphablending.html +++ b/docs/examples/alphablending.html @@ -25,6 +25,7 @@

Ebiten example - alphablending

+

Go Playground page

diff --git a/docs/examples/audio.html b/docs/examples/audio.html index 95dfe0f57..9b9cba558 100644 --- a/docs/examples/audio.html +++ b/docs/examples/audio.html @@ -25,6 +25,7 @@

Ebiten example - audio

+

Go Playground page

diff --git a/docs/examples/blocks.html b/docs/examples/blocks.html index ce9b1abc5..cf9e5cbf0 100644 --- a/docs/examples/blocks.html +++ b/docs/examples/blocks.html @@ -25,6 +25,7 @@

Ebiten example - blocks

+

Go Playground page

diff --git a/docs/examples/filter.html b/docs/examples/filter.html index 3daa06bff..72ccd957b 100644 --- a/docs/examples/filter.html +++ b/docs/examples/filter.html @@ -25,6 +25,7 @@

Ebiten example - filter

+

Go Playground page

diff --git a/docs/examples/flappy.html b/docs/examples/flappy.html index 7b1a0fdab..a1c06bbcc 100644 --- a/docs/examples/flappy.html +++ b/docs/examples/flappy.html @@ -25,6 +25,7 @@

Ebiten example - flappy

+

Go Playground page

diff --git a/docs/examples/flood.html b/docs/examples/flood.html index e9ae5c828..bca35e279 100644 --- a/docs/examples/flood.html +++ b/docs/examples/flood.html @@ -25,6 +25,7 @@

Ebiten example - flood

+

Go Playground page

diff --git a/docs/examples/font.html b/docs/examples/font.html index 3c1dbfa3f..5b63812e9 100644 --- a/docs/examples/font.html +++ b/docs/examples/font.html @@ -25,6 +25,7 @@

Ebiten example - font

+

Go Playground page

diff --git a/docs/examples/gamepad.html b/docs/examples/gamepad.html index 4d32e8f35..c38448b17 100644 --- a/docs/examples/gamepad.html +++ b/docs/examples/gamepad.html @@ -25,6 +25,7 @@

Ebiten example - gamepad

+

Go Playground page

diff --git a/docs/examples/highdpi.html b/docs/examples/highdpi.html index edf75ff9c..bcf2b7321 100644 --- a/docs/examples/highdpi.html +++ b/docs/examples/highdpi.html @@ -25,6 +25,7 @@

Ebiten example - highdpi

+

Go Playground page

diff --git a/docs/examples/hsv.html b/docs/examples/hsv.html index 67a4aaf14..064cfc76f 100644 --- a/docs/examples/hsv.html +++ b/docs/examples/hsv.html @@ -25,6 +25,7 @@

Ebiten example - hsv

+

Go Playground page

diff --git a/docs/examples/hue.html b/docs/examples/hue.html index fd0cb379b..a493a8d9d 100644 --- a/docs/examples/hue.html +++ b/docs/examples/hue.html @@ -25,6 +25,7 @@

Ebiten example - hue

+

Go Playground page

diff --git a/docs/examples/infinitescroll.html b/docs/examples/infinitescroll.html index 1da412ad0..979d01e5c 100644 --- a/docs/examples/infinitescroll.html +++ b/docs/examples/infinitescroll.html @@ -25,6 +25,7 @@

Ebiten example - infinitescroll

+

Go Playground page

diff --git a/docs/examples/keyboard.html b/docs/examples/keyboard.html index 456e28349..9d5672664 100644 --- a/docs/examples/keyboard.html +++ b/docs/examples/keyboard.html @@ -25,6 +25,7 @@

Ebiten example - keyboard

+

Go Playground page

diff --git a/docs/examples/life.html b/docs/examples/life.html index 7067c533d..1c2b75de2 100644 --- a/docs/examples/life.html +++ b/docs/examples/life.html @@ -25,6 +25,7 @@

Ebiten example - life

+

Go Playground page

diff --git a/docs/examples/mandelbrot.html b/docs/examples/mandelbrot.html index 867df3aa6..7c9820bf4 100644 --- a/docs/examples/mandelbrot.html +++ b/docs/examples/mandelbrot.html @@ -25,6 +25,7 @@

Ebiten example - mandelbrot

+

Go Playground page

diff --git a/docs/examples/masking.html b/docs/examples/masking.html index 47651d1d1..fe3398e64 100644 --- a/docs/examples/masking.html +++ b/docs/examples/masking.html @@ -25,6 +25,7 @@

Ebiten example - masking

+

Go Playground page

diff --git a/docs/examples/mosaic.html b/docs/examples/mosaic.html index d3db1106f..954587238 100644 --- a/docs/examples/mosaic.html +++ b/docs/examples/mosaic.html @@ -25,6 +25,7 @@

Ebiten example - mosaic

+

Go Playground page

diff --git a/docs/examples/noise.html b/docs/examples/noise.html index 775c8eed8..93442d6ee 100644 --- a/docs/examples/noise.html +++ b/docs/examples/noise.html @@ -25,6 +25,7 @@

Ebiten example - noise

+

Go Playground page

diff --git a/docs/examples/paint.html b/docs/examples/paint.html index 79caa0bca..24605a56d 100644 --- a/docs/examples/paint.html +++ b/docs/examples/paint.html @@ -25,6 +25,7 @@

Ebiten example - paint

+

Go Playground page

diff --git a/docs/examples/perspective.html b/docs/examples/perspective.html index 1acc36f51..ea0d2357c 100644 --- a/docs/examples/perspective.html +++ b/docs/examples/perspective.html @@ -25,6 +25,7 @@

Ebiten example - perspective

+

Go Playground page

diff --git a/docs/examples/piano.html b/docs/examples/piano.html index 56735e452..a7274851e 100644 --- a/docs/examples/piano.html +++ b/docs/examples/piano.html @@ -25,6 +25,7 @@

Ebiten example - piano

+

Go Playground page

diff --git a/docs/examples/rotate.html b/docs/examples/rotate.html index 615df5cce..42c85ffe2 100644 --- a/docs/examples/rotate.html +++ b/docs/examples/rotate.html @@ -25,6 +25,7 @@

Ebiten example - rotate

+

Go Playground page

diff --git a/docs/examples/sinewave.html b/docs/examples/sinewave.html index 2b95cb5cc..6df272ae3 100644 --- a/docs/examples/sinewave.html +++ b/docs/examples/sinewave.html @@ -25,6 +25,7 @@

Ebiten example - sinewave

+

Go Playground page

diff --git a/docs/examples/sprites.html b/docs/examples/sprites.html index 74717c87a..d42d17a84 100644 --- a/docs/examples/sprites.html +++ b/docs/examples/sprites.html @@ -25,6 +25,7 @@

Ebiten example - sprites

+

Go Playground page

diff --git a/docs/examples/tiles.html b/docs/examples/tiles.html index 476b9d54a..8ce93a80d 100644 --- a/docs/examples/tiles.html +++ b/docs/examples/tiles.html @@ -25,6 +25,7 @@

Ebiten example - tiles

+

Go Playground page

diff --git a/docs/examples/typewriter.html b/docs/examples/typewriter.html index 9e7ba4b50..ee812052e 100644 --- a/docs/examples/typewriter.html +++ b/docs/examples/typewriter.html @@ -25,6 +25,7 @@

Ebiten example - typewriter

+

Go Playground page

diff --git a/docs/index.html b/docs/index.html index 06ae778bd..be3ba168f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -62,73 +62,73 @@

Games

- Ebiten example: 2048 + Ebiten example: 2048
- Ebiten example: blocks + Ebiten example: blocks
- Ebiten example: flappy + Ebiten example: flappy

Graphics

- Ebiten example: airship + Ebiten example: airship
- Ebiten example: alphablending + Ebiten example: alphablending
- Ebiten example: filter + Ebiten example: filter
- Ebiten example: flood + Ebiten example: flood
- Ebiten example: font + Ebiten example: font
- Ebiten example: highdpi + Ebiten example: highdpi
- Ebiten example: hsv + Ebiten example: hsv
- Ebiten example: hue + Ebiten example: hue
- Ebiten example: infinitescroll + Ebiten example: infinitescroll
- Ebiten example: life + Ebiten example: life
- Ebiten example: mandelbrot + Ebiten example: mandelbrot
- Ebiten example: masking + Ebiten example: masking
- Ebiten example: mosaic + Ebiten example: mosaic
- Ebiten example: noise + Ebiten example: noise
- Ebiten example: paint + Ebiten example: paint
- Ebiten example: perspective + Ebiten example: perspective
- Ebiten example: rotate + Ebiten example: rotate
- Ebiten example: sprites + Ebiten example: sprites
- Ebiten example: tiles + Ebiten example: tiles

Input

- Ebiten example: gamepad + Ebiten example: gamepad
- Ebiten example: keyboard + Ebiten example: keyboard
- Ebiten example: typewriter + Ebiten example: typewriter

Audio

- Ebiten example: audio + Ebiten example: audio
- Ebiten example: piano + Ebiten example: piano
- Ebiten example: sinewave + Ebiten example: sinewave