Skip to content

Commit e4def4c

Browse files
committed
Move index.html from /examples to root
Makes it easier to run examples locally and may help with GH Pages
1 parent 06c26c6 commit e4def4c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ To run the examples locally:
9898
npm start
9999
```
100100

101-
This should start a local dev server, go to [http://localhost:3000/examples/](http://localhost:3000/examples/) to inspect the examples. To stop the server, hit `CONTROL-C`.
101+
This should start a local dev server, go to [http://localhost:3000/](http://localhost:3000/) to inspect the examples. To stop the server, hit `CONTROL-C`.
102102

103103
### Distribution
104104

examples/index.html renamed to index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@
2626
<body>
2727
<h1>A-Frame Cubemap Component</h1>
2828
<h3>Examples</h3>
29-
<a href="yokohama/index.html">Yokohama</a>
29+
<a href="./examples/yokohama/index.html">Yokohama</a>
3030
<h3>Tests</h3>
31-
<a href="./tests/edgeLength/index.html">edgeLength</a>
32-
<a href="./tests/multi-cubemaps/index.html">Multiple cubemaps</a>
33-
<a href="./tests/change-cubemap/index.html"
31+
<a href="./examples/tests/edgeLength/index.html">edgeLength</a>
32+
<a href="./examples/tests/multi-cubemaps/index.html">Multiple cubemaps</a>
33+
<a href="./examples/tests/change-cubemap/index.html"
3434
>Change cubemap with setAttribute (wait 5 seconds)</a
3535
>
36-
<a href="./tests/ext/index.html">PNG extension</a>
37-
<a href="./tests/fade/index.html">Fade</a>
38-
<a href="./tests/encoding/index.html">Texture encoding</a>
39-
<a href="./tests/a-assets/index.html">Use with a-assets</a>
36+
<a href="./examples/tests/ext/index.html">PNG extension</a>
37+
<a href="./examples/tests/fade/index.html">Fade</a>
38+
<a href="./examples/tests/encoding/index.html">Texture encoding</a>
39+
<a href="./examples/tests/a-assets/index.html">Use with a-assets</a>
4040

4141
<div class="github-fork-ribbon-wrapper right">
42-
<div class="github-fork-ribbon" style="background: #3482aa;">
42+
<div class="github-fork-ribbon" style="background: #3482aa">
4343
<a href="https://github.com/bryik/aframe-cubemap-component"
4444
>Fork me on GitHub</a
4545
>

0 commit comments

Comments
 (0)