Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move tutorials page back to old link #4146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 3 additions & 27 deletions docs/dev/tools/tutorials.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,8 @@
title: "Tutorials"
linkTitle: "Tutorials"
weight: 30
type: docs
layout: "tutorials"
videos:
[
"/tutorials/videos/scuttle-gamepad-preview.webm",
"/tutorials/videos/scuttle-gamepad-preview.mp4",
]
videoAlt: "Drive a Scuttle robot with a Bluetooth gamepad."
images:
[
"/tutorials/videos/scuttle-gamepad-preview.gif",
"/tutorials/try-viam-sdk/image1.gif",
]
description: "Build a machine yourself by following along with a tutorial."
no_list: true
hide_children: true
sitemap:
priority: 1.0
aliases:
- /build/
- /tutorials/
- /how-tos/
- /use-cases/
outputs:
- rss
- html
date: "2024-10-20"
type: "docs"
layout: "empty"
canonical: "/tutorials/"
# updated: "" # When the content was last entirely checked
---
25 changes: 23 additions & 2 deletions docs/tutorials/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,35 @@ title: "Tutorials"
linkTitle: "Tutorials"
weight: 300
type: docs
layout: "empty"
layout: "tutorials"
videos:
[
"/tutorials/videos/scuttle-gamepad-preview.webm",
"/tutorials/videos/scuttle-gamepad-preview.mp4",
]
videoAlt: "Drive a Scuttle robot with a Bluetooth gamepad."
images:
[
"/tutorials/videos/scuttle-gamepad-preview.gif",
"/tutorials/try-viam-sdk/image1.gif",
]
description: "Build a machine yourself by following along with a tutorial."
sitemap:
priority: 1.0
toc_hide: false
toc_hide: true
# do not remove hide children - it causes a layout issue
no_list: true
hide_children: true
sitemap:
priority: 1.0
aliases:
- /build/
- /tutorials/
- /how-tos/
- /use-cases/
outputs:
- rss
- html
- typesense
date: "2024-10-20"
---
2 changes: 1 addition & 1 deletion docs/tutorials/projects/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ weight: 60
type: docs
empty_node: true
layout: "empty"
canonical: "tutorials/"
canonical: "/tutorials/"
---
2 changes: 1 addition & 1 deletion docs/tutorials/services/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ weight: 40
type: docs
empty_node: true
layout: "empty"
canonical: "tutorials/"
canonical: "/tutorials/"
---
2 changes: 1 addition & 1 deletion layouts/partials/sidebar-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

{{ if eq $p.Section "tutorials"}}
<!-- If this is a tutorial -->
<a href="/dev/tools/tutorials/" target="{{ . }}" rel="noopener" class="">
<a href="/tutorials/" target="{{ . }}" rel="noopener" class="">
<span> Tutorials </span>
</a>
<li class="active-path tutorial-heading">
Expand Down
Loading