Переглянути джерело

Simplify links

customisations
alemart 1 рік тому
джерело
коміт
f7f5909280

+ 1
- 1
README.md Переглянути файл

@@ -13,7 +13,7 @@ Create amazing Augmented Reality experiences with **MARTINS.js**, a GPU-accelera
13 13
 
14 14
 ## Try WebAR right now!
15 15
 
16
-[Launch a demo!](https://alemart.github.io/martins-js/demo/instructions)
16
+[Launch a demo!](https://alemart.github.io/martins-js/demo)
17 17
 
18 18
 >
19 19
 > **Guidelines:**

+ 1
- 1
demos/hello-aframe/README.html Переглянути файл

@@ -35,7 +35,7 @@
35 35
             <li><a href="index.html">Launch the WebAR experience</a></li>
36 36
             <li><a href="video.html">Test with a pre-recorded video</a></li>
37 37
             <li><a href="NOTICE.html">See the attribution notices</a></li>
38
-            <li><a href="https://alemart.github.io/martins-js/gallery" target="_blank">Try other WebAR demos</a></li>
38
+            <li><a href="../">Try other WebAR demos</a></li>
39 39
         </ul>
40 40
 
41 41
         <h2>QR code</h2>

+ 1
- 1
demos/hello-three/README.html Переглянути файл

@@ -35,7 +35,7 @@
35 35
             <li><a href="index.html">Launch the WebAR experience</a></li>
36 36
             <li><a href="video.html">Test with a pre-recorded video</a></li>
37 37
             <li><a href="NOTICE.html">See the attribution notices</a></li>
38
-            <li><a href="https://alemart.github.io/martins-js/gallery" target="_blank">Try other WebAR demos</a></li>
38
+            <li><a href="../">Try other WebAR demos</a></li>
39 39
         </ul>
40 40
 
41 41
         <h2>QR code</h2>

+ 1
- 1
demos/hello-webgl/README.html Переглянути файл

@@ -35,7 +35,7 @@
35 35
             <li><a href="index.html">Launch the WebAR experience</a></li>
36 36
             <li><a href="video.html">Test with a pre-recorded video</a></li>
37 37
             <li><a href="NOTICE.html">See the attribution notices</a></li>
38
-            <li><a href="https://alemart.github.io/martins-js/gallery" target="_blank">Try other WebAR demos</a></li>
38
+            <li><a href="../">Try other WebAR demos</a></li>
39 39
         </ul>
40 40
 
41 41
         <h2>QR code</h2>

+ 1
- 1
demos/hello-world/README.html Переглянути файл

@@ -35,7 +35,7 @@
35 35
             <li><a href="index.html">Launch the WebAR experience</a></li>
36 36
             <li><a href="video.html">Test with a pre-recorded video</a></li>
37 37
             <li><a href="NOTICE.html">See the attribution notices</a></li>
38
-            <li><a href="https://alemart.github.io/martins-js/gallery" target="_blank">Try other WebAR demos</a></li>
38
+            <li><a href="../">Try other WebAR demos</a></li>
39 39
         </ul>
40 40
 
41 41
         <h2>QR code</h2>

+ 1
- 1
demos/touch-three/README.html Переглянути файл

@@ -35,7 +35,7 @@
35 35
             <li><a href="index.html">Launch the WebAR experience</a></li>
36 36
             <li><a href="video.html">Test with a pre-recorded video</a></li>
37 37
             <li><a href="NOTICE.html">See the attribution notices</a></li>
38
-            <li><a href="https://alemart.github.io/martins-js/gallery" target="_blank">Try other WebAR demos</a></li>
38
+            <li><a href="../">Try other WebAR demos</a></li>
39 39
         </ul>
40 40
 
41 41
         <h2>QR code</h2>

+ 5
- 0
docs/demo.md Переглянути файл

@@ -0,0 +1,5 @@
1
+---
2
+template: demo.html
3
+title: ""
4
+---
5
+

+ 0
- 4
docs/demo/index.md Переглянути файл

@@ -1,4 +0,0 @@
1
----
2
-template: basic-demo.html
3
-title: ""
4
----

+ 0
- 5
docs/demo/instructions.md Переглянути файл

@@ -1,5 +0,0 @@
1
----
2
-template: basic-demo-readme.html
3
-title: ""
4
----
5
-

BIN
docs/demo/qr-code.png Переглянути файл


BIN
docs/demo/reference-image-with-qr-code.webp Переглянути файл


docs/gallery.md → docs/demos.md Переглянути файл

@@ -1,5 +1,7 @@
1 1
 ---
2 2
 title: WebAR Demo gallery
3
+#hide:
4
+#  - navigation
3 5
 ---
4 6
 
5 7
 # Demo gallery
@@ -10,13 +12,13 @@ Please read the [guidelines](#guidelines) before you play with the demos. Feel f
10 12
 
11 13
 ### WebAR with A-Frame
12 14
 
13
-Create an augmented scene with A-Frame. This is the easiest demo to edit!
15
+Create an augmented scene with [A-Frame](https://aframe.io){ ._blank }. This is the easiest demo to edit!
14 16
 
15 17
 [Launch demo](/martins-js/demos/hello-aframe/README.html){ ._blank .md-button }
16 18
 
17 19
 ### WebAR with three.js
18 20
 
19
-Create an augmented scene with three.js.
21
+Create an augmented scene with [three.js](https://threejs.org){ ._blank }.
20 22
 
21 23
 [Launch demo](/martins-js/demos/hello-three/README.html){ ._blank .md-button }
22 24
 

+ 1
- 1
docs/getting-started/create-the-augmented-scene.md Переглянути файл

@@ -14,7 +14,7 @@ Writing a glue code is a task of moderate complexity. It requires dealing with m
14 14
 
15 15
 I provide easy-to-use glue codes that work with different 3D rendering technologies in my demos, so that you don't need to deal with the complexity. Those glue codes are JavaScript (.js) files. You just need to add a glue code to your web page (e.g., via a `<script>` tag) and then the integration will be done for you. It's really that simple!
16 16
 
17
-[Find the glue codes in my demos](../gallery.md){ .md-button ._blank }
17
+[Find the glue codes in my demos](../demos.md){ .md-button ._blank }
18 18
 
19 19
 ## Create the virtual scene
20 20
 

+ 1
- 1
docs/getting-started/index.md Переглянути файл

@@ -4,7 +4,7 @@
4 4
 
5 5
 Create amazing Augmented Reality experiences with **MARTINS.js**, a GPU-accelerated Augmented Reality engine for the web.
6 6
 
7
-[Get started](./introduction.md){ .md-button .md-button--primary } [Try a demo](../demo/instructions.md){ .md-button .md-button } [:heart:{ .heart } Support my work](../support-my-work.md){ .md-button }
7
+[Get started](./introduction.md){ .md-button .md-button--primary } [Try a demo](../demo.md){ .md-button .md-button } [:heart:{ .heart } Support my work](../support-my-work.md){ .md-button }
8 8
 
9 9
 ## Features
10 10
 

+ 1
- 1
docs/index.md Переглянути файл

@@ -1,4 +1,4 @@
1 1
 ---
2
-template: home.html
2
+template: index.html
3 3
 title: ""
4 4
 ---

+ 0
- 11
docs_overrides/basic-demo.html Переглянути файл

@@ -1,11 +0,0 @@
1
-<!doctype html>
2
-<html>
3
-    <head>
4
-        <meta charset="utf-8">
5
-        <meta http-equiv="refresh" content="0; url='{{ 'demos/hello-webgl' | url }}'">
6
-        <title>MARTINS.js WebAR demo</title>
7
-    </head>
8
-    <body>
9
-        <p>Loading the <a href="{{ 'demos/hello-webgl' | url }}">WebAR demo</a>...</p>
10
-    </body>
11
-</html>

docs_overrides/basic-demo-readme.html → docs_overrides/demo.html Переглянути файл


docs_overrides/home.html → docs_overrides/index.html Переглянути файл

@@ -116,7 +116,7 @@
116 116
             <h2><em>Create Augmented Reality experiences for the web.</em></h2>
117 117
             <p>No need to download apps. No need of AR hardware. Free and open-source.</p>
118 118
             <a href="{{ './getting-started' | url }}" class="md-button md-button--primary">Get started</a>
119
-            <a href="{{ './demo/instructions' | url }}" class="md-button">Try a demo</a>
119
+            <a href="{{ './demo' | url }}" class="md-button">Try a demo</a>
120 120
         </div>
121 121
         <!--
122 122
         <div class="splash-image">

+ 1
- 1
mkdocs.yml Переглянути файл

@@ -62,7 +62,7 @@ nav:
62 62
     - 'License': 'license.md'
63 63
   - 'Download': 'download.md'
64 64
   - 'Demos':
65
-    - 'Demo gallery': 'gallery.md'
65
+    - 'Demo gallery': 'demos.md'
66 66
   - 'API':
67 67
     - 'General':
68 68
       - 'Session': 'api/session.md'

Завантаження…
Відмінити
Зберегти