Skip to content

Commit 4e80ff5

Browse files
committed
Add alias for tutorials
1 parent 2aa8e2e commit 4e80ff5

File tree

5 files changed

+29
-32
lines changed

5 files changed

+29
-32
lines changed

Diff for: docs/dev/tools/tutorials.md

+3-27
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,8 @@
22
title: "Tutorials"
33
linkTitle: "Tutorials"
44
weight: 30
5-
type: docs
6-
layout: "tutorials"
7-
videos:
8-
[
9-
"/tutorials/videos/scuttle-gamepad-preview.webm",
10-
"/tutorials/videos/scuttle-gamepad-preview.mp4",
11-
]
12-
videoAlt: "Drive a Scuttle robot with a Bluetooth gamepad."
13-
images:
14-
[
15-
"/tutorials/videos/scuttle-gamepad-preview.gif",
16-
"/tutorials/try-viam-sdk/image1.gif",
17-
]
18-
description: "Build a machine yourself by following along with a tutorial."
19-
no_list: true
20-
hide_children: true
21-
sitemap:
22-
priority: 1.0
23-
aliases:
24-
- /build/
25-
- /tutorials/
26-
- /how-tos/
27-
- /use-cases/
28-
outputs:
29-
- rss
30-
- html
31-
date: "2024-10-20"
5+
type: "docs"
6+
layout: "empty"
7+
canonical: "/tutorials/"
328
# updated: "" # When the content was last entirely checked
339
---

Diff for: docs/tutorials/_index.md

+23-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,35 @@ title: "Tutorials"
33
linkTitle: "Tutorials"
44
weight: 300
55
type: docs
6-
layout: "empty"
6+
layout: "tutorials"
7+
videos:
8+
[
9+
"/tutorials/videos/scuttle-gamepad-preview.webm",
10+
"/tutorials/videos/scuttle-gamepad-preview.mp4",
11+
]
12+
videoAlt: "Drive a Scuttle robot with a Bluetooth gamepad."
13+
images:
14+
[
15+
"/tutorials/videos/scuttle-gamepad-preview.gif",
16+
"/tutorials/try-viam-sdk/image1.gif",
17+
]
18+
description: "Build a machine yourself by following along with a tutorial."
719
sitemap:
820
priority: 1.0
9-
toc_hide: false
21+
toc_hide: true
1022
# do not remove hide children - it causes a layout issue
23+
no_list: true
1124
hide_children: true
25+
sitemap:
26+
priority: 1.0
27+
aliases:
28+
- /build/
29+
- /tutorials/
30+
- /how-tos/
31+
- /use-cases/
1232
outputs:
1333
- rss
1434
- html
1535
- typesense
36+
date: "2024-10-20"
1637
---

Diff for: docs/tutorials/projects/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ weight: 60
66
type: docs
77
empty_node: true
88
layout: "empty"
9-
canonical: "tutorials/"
9+
canonical: "/tutorials/"
1010
---

Diff for: docs/tutorials/services/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ weight: 40
66
type: docs
77
empty_node: true
88
layout: "empty"
9-
canonical: "tutorials/"
9+
canonical: "/tutorials/"
1010
---

Diff for: layouts/partials/sidebar-tree.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
{{ if eq $p.Section "tutorials"}}
5757
<!-- If this is a tutorial -->
58-
<a href="/dev/tools/tutorials/" target="{{ . }}" rel="noopener" class="">
58+
<a href="/tutorials/" target="{{ . }}" rel="noopener" class="">
5959
<span> Tutorials </span>
6060
</a>
6161
<li class="active-path tutorial-heading">

0 commit comments

Comments
 (0)