diff --git a/_docs/example.tmpl.html b/_docs/example.tmpl.html index 3192b3985..c0f4636e3 100644 --- a/_docs/example.tmpl.html +++ b/_docs/example.tmpl.html @@ -1,4 +1,5 @@ + Ebiten example - {{.Example.Name}} @@ -13,7 +14,7 @@ diff --git a/_docs/index.tmpl.html b/_docs/index.tmpl.html index 4b7202116..0aab99b58 100644 --- a/_docs/index.tmpl.html +++ b/_docs/index.tmpl.html @@ -1,4 +1,5 @@ + @@ -19,7 +20,7 @@ @@ -53,7 +54,7 @@ {{- end}} -

The Gopher photographs by Chris Nokleberg are licensed under the Creative Commons 3.0 Attributions License.

+

The Gopher photographs by Chris Nokleberg are licensed under the Creative Commons 3.0 Attributions License.

Execute the examples

:; go get github.com/hajimehoshi/ebiten
diff --git a/_docs/public/examples/alphablending.html b/_docs/public/examples/alphablending.html
index e52fad75d..a654dddb0 100644
--- a/_docs/public/examples/alphablending.html
+++ b/_docs/public/examples/alphablending.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - alphablending
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/audio.html b/_docs/public/examples/audio.html
index 2099499fc..12bdb1080 100644
--- a/_docs/public/examples/audio.html
+++ b/_docs/public/examples/audio.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - audio
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/blocks.html b/_docs/public/examples/blocks.html
index 30277da9b..2e81e808c 100644
--- a/_docs/public/examples/blocks.html
+++ b/_docs/public/examples/blocks.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - blocks
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/font.html b/_docs/public/examples/font.html
index b3a87de95..cf8ffa87c 100644
--- a/_docs/public/examples/font.html
+++ b/_docs/public/examples/font.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - font
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/gamepad.html b/_docs/public/examples/gamepad.html
index a7fff6613..ebdb74f82 100644
--- a/_docs/public/examples/gamepad.html
+++ b/_docs/public/examples/gamepad.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - gamepad
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/hsv.html b/_docs/public/examples/hsv.html
index 9442a07da..cd13ca485 100644
--- a/_docs/public/examples/hsv.html
+++ b/_docs/public/examples/hsv.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - hsv
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/hue.html b/_docs/public/examples/hue.html
index 46f9a1f4f..9a18a9df6 100644
--- a/_docs/public/examples/hue.html
+++ b/_docs/public/examples/hue.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - hue
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/keyboard.html b/_docs/public/examples/keyboard.html
index 1e6da4172..d86d033f3 100644
--- a/_docs/public/examples/keyboard.html
+++ b/_docs/public/examples/keyboard.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - keyboard
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/masking.html b/_docs/public/examples/masking.html
index d1fbc537f..304804194 100644
--- a/_docs/public/examples/masking.html
+++ b/_docs/public/examples/masking.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - masking
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/mosaic.html b/_docs/public/examples/mosaic.html
index 996b8840e..e454b5537 100644
--- a/_docs/public/examples/mosaic.html
+++ b/_docs/public/examples/mosaic.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - mosaic
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/noise.html b/_docs/public/examples/noise.html
index 54a42b6f5..228e2109c 100644
--- a/_docs/public/examples/noise.html
+++ b/_docs/public/examples/noise.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - noise
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/paint.html b/_docs/public/examples/paint.html
index 2eb239611..9fcb0504e 100644
--- a/_docs/public/examples/paint.html
+++ b/_docs/public/examples/paint.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - paint
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/perspective.html b/_docs/public/examples/perspective.html
index d16711e8a..839fc0c8a 100644
--- a/_docs/public/examples/perspective.html
+++ b/_docs/public/examples/perspective.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - perspective
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/piano.html b/_docs/public/examples/piano.html
index cace14582..8767362e0 100644
--- a/_docs/public/examples/piano.html
+++ b/_docs/public/examples/piano.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - piano
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/rotate.html b/_docs/public/examples/rotate.html
index f965c2e23..db87dae3b 100644
--- a/_docs/public/examples/rotate.html
+++ b/_docs/public/examples/rotate.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - rotate
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/examples/sprites.html b/_docs/public/examples/sprites.html
index 706ee79f7..8a8e18cb6 100644
--- a/_docs/public/examples/sprites.html
+++ b/_docs/public/examples/sprites.html
@@ -1,4 +1,5 @@
 
+
 
 
 Ebiten example - sprites
@@ -13,7 +14,7 @@
   
diff --git a/_docs/public/index.html b/_docs/public/index.html
index 1ac3e0be5..3844dc8eb 100644
--- a/_docs/public/index.html
+++ b/_docs/public/index.html
@@ -1,4 +1,5 @@
 
+
 
 
 
@@ -19,7 +20,7 @@
     
     
   
@@ -81,7 +82,7 @@
       Ebiten example: blocks
     
   
-  

The Gopher photographs by Chris Nokleberg are licensed under the Creative Commons 3.0 Attributions License.

+

The Gopher photographs by Chris Nokleberg are licensed under the Creative Commons 3.0 Attributions License.

Execute the examples

:; go get github.com/hajimehoshi/ebiten
diff --git a/_docs/public/scripts/force-https.js b/_docs/public/scripts/force-https.js
new file mode 100644
index 000000000..0c07d6240
--- /dev/null
+++ b/_docs/public/scripts/force-https.js
@@ -0,0 +1,14 @@
+'use strict';
+
+(function() {
+    var location = window.location;
+    if (location.hostname === 'localhost' || location.hostname === '127.0.0.1') {
+        return;
+    }
+    var protocol = location.protocol;
+    if (protocol === 'https:') {
+        return;
+    }
+    var url = 'https:' + window.location.href.substring(protocol.length);
+    window.location.href = url;
+})();