Skip to content

Commit 6380b45

Browse files
committed
gh-pages website resources moved back to project root.
1 parent 1447dbf commit 6380b45

39 files changed

+35
-15
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,8 @@ $ ./gradlew compileJs
619619
It will trigger Google Closure Compiler which will check sources using type information
620620
and transpile them into minified JavaScript files:
621621

622-
* [dist/shader-web-background.min.js](docs/dist/shader-web-background.min.js)
623-
* [dist/shader-web-background.min.js.map](docs/dist/shader-web-background.min.js.map)
622+
* [dist/shader-web-background.min.js](dist/shader-web-background.min.js)
623+
* [dist/shader-web-background.min.js.map](dist/shader-web-background.min.js.map)
624624

625625

626626
## Contributing
@@ -637,7 +637,7 @@ instead of 4 for rendering tabs.
637637

638638
Either:
639639
* fork this repo
640-
* open [index.html](docs/index.html) and scroll to `<section id="projects-using-shader-web-background">`
640+
* open [index.html](index.html) and scroll to `<section id="projects-using-shader-web-background">`
641641
* add your project to the list
642642
* create pull-request
643643

build.gradle.kts

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ task("compileJs", JavaExec::class) {
8888
main = "com.xemantic.web.shader.background.ShaderWebBackgroundClosureCompilerKt"
8989

9090
val sourceDir = "src/main/js"
91-
val outputDir = "docs/dist"
91+
val outputDir = "dist"
9292
val outputJs = "shader-web-background.min.js"
9393
val outputJsMap = "$outputJs.map"
9494
val namespace = "shaderWebBackground"
@@ -140,8 +140,8 @@ task("compileJs", JavaExec::class) {
140140
outputDir,
141141
outputJs,
142142
outputJsMap,
143-
"docs/index.html",
144-
"docs/demo/minimal.html"
143+
"index.html",
144+
"demo/minimal.html"
145145
)
146146
}
147147

docs/demo/demo.css demo/demo.css

File renamed without changes.

docs/demo/demo.html demo/demo.html

File renamed without changes.
File renamed without changes.

docs/demo/minimal.html demo/minimal.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
d);a.m(e);e.bindTexture(e.TEXTURE_2D,null);return c}
108108
class L{constructor(a,b,d){this.l=a.createFramebuffer();this.i=a;this.j=b;this.m=
109109
d;this.g=this.h=null}};})()
110-
//# sourceMappingURL=../../docs/dist/shader-web-background.min.js.map
110+
//# sourceMappingURL=../dist/shader-web-background.min.js.map
111111
</script>
112112
<script type="x-shader/x-fragment" id="image">
113113
precision highp float;
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/dist/shader-web-background.min.js.map dist/shader-web-background.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.nojekyll

Whitespace-only changes.
File renamed without changes.

docs/index.html index.html

+27-7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
<!--
2+
~ Copyright 2020 Kazimierz Pogoda
3+
~
4+
~ This file is part of shader-web-background.
5+
~
6+
~ shader-web-background is free software: you can redistribute it and/or modify
7+
~ it under the terms of the GNU General Public License as published by
8+
~ the Free Software Foundation, either version 3 of the License, or
9+
~ (at your option) any later version.
10+
~
11+
~ shader-web-background is distributed in the hope that it will be useful,
12+
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
~ GNU General Public License for more details.
15+
~
16+
~ You should have received a copy of the GNU General Public License
17+
~ along with shader-web-background. If not, see <https://www.gnu.org/licenses/>.
18+
-->
19+
120
<!DOCTYPE html>
221
<html lang="en">
322
<head>
@@ -22,12 +41,13 @@
2241

2342
<meta name="viewport" content="width=device-width, initial-scale=1">
2443

25-
<link rel="shortcut icon" href="favicon.ico">
26-
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
27-
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
28-
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
29-
<link rel="manifest" href="site.webmanifest">
30-
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5">
44+
<link rel="shortcut icon" href="media/icons/favicon.ico">
45+
<link rel="apple-touch-icon" sizes="180x180" href="media/icons/apple-touch-icon.png">
46+
<link rel="icon" type="image/png" sizes="32x32" href="media/icons/favicon-32x32.png">
47+
<link rel="icon" type="image/png" sizes="16x16" href="media/icons/favicon-16x16.png">
48+
<link rel="manifest" href="media/icons/site.webmanifest">
49+
<link rel="mask-icon" href="media/icons/safari-pinned-tab.svg" color="#5bbad5">
50+
<meta name="msapplication-config" content="media/icons/browserconfig.xml">
3151
<meta name="msapplication-TileColor" content="#da532c">
3252
<meta name="theme-color" content="#ffffff">
3353

@@ -136,7 +156,7 @@
136156
d);a.m(e);e.bindTexture(e.TEXTURE_2D,null);return c}
137157
class L{constructor(a,b,d){this.l=a.createFramebuffer();this.i=a;this.j=b;this.m=
138158
d;this.g=this.h=null}};})()
139-
//# sourceMappingURL=../docs/dist/shader-web-background.min.js.map
159+
//# sourceMappingURL=dist/shader-web-background.min.js.map
140160

141161
// spectral_zucconi6 by Alan Zucconi rewritten from GLSL to JS by Kazik Pogoda
142162
// GLSL: https://www.shadertoy.com/view/ls2Bz1
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/media/icon.svg media/icon.svg

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)