Skip to content

Commit

Permalink
[docs] Fix broken links to aincraft live-demo (#5496)
Browse files Browse the repository at this point in the history
Prepend live urls with "/aframe"
  • Loading branch information
ctrlw committed Mar 19, 2024
1 parent 617eacb commit 2c1f69a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/guides/building-a-minecraft-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ examples:
---

[source-code]: https://github.com/aframevr/aframe/tree/master/examples/docs/aincraft/
[live-demo]: https://aframe.io/examples/docs/aincraft/
[live-demo]: https://aframe.io/aframe/examples/docs/aincraft/

> View the [source code][source-code], or try out [the demo][live-demo]
Expand Down Expand Up @@ -53,7 +53,7 @@ our assets, and create a thin cylinder entity pointing to that texture:
</a-scene>
```

See a live version [here](https://aframe.io/examples/docs/aincraft/step1.html)
See a live version [here](https://aframe.io/aframe/examples/docs/aincraft/step1.html)

### Preloading Assets

Expand Down Expand Up @@ -84,7 +84,7 @@ Let's move our ground texture to `<a-assets>` to be preloaded using an
</a-scene>
```

See a live version [here](https://aframe.io/examples/docs/aincraft/step2.html)
See a live version [here](https://aframe.io/aframe/examples/docs/aincraft/step2.html)

## Adding a Background

Expand Down Expand Up @@ -123,7 +123,7 @@ to match the ground:
</a-scene>
```

See a live version [here](https://aframe.io/examples/docs/aincraft/step3.html)
See a live version [here](https://aframe.io/aframe/examples/docs/aincraft/step3.html)

## Adding Voxels

Expand Down Expand Up @@ -255,7 +255,7 @@ and include it before the scene:
</a-scene>
```

See a live version [here](https://aframe.io/examples/docs/aincraft/step4.html)
See a live version [here](https://aframe.io/aframe/examples/docs/aincraft/step4.html)

Components can be plugged into any entity without having to create or extend a
class like we'd have to in traditional inheritance. If we wanted to attach it
Expand Down Expand Up @@ -345,7 +345,7 @@ And we've added voxels using that mixin:
<a-entity mixin="voxel" position="1 0 -2"></a-entity>
```

See a live version [here](https://aframe.io/examples/docs/aincraft/step5.html)
See a live version [here](https://aframe.io/aframe/examples/docs/aincraft/step5.html)

Next, we'll be creating voxels dynamically through interaction using tracked
controllers. Let's start adding our hands to the application.
Expand Down

0 comments on commit 2c1f69a

Please sign in to comment.