Skip to content

Commit 651366c

Browse files
committed
Re-organize tutorial groups and rename attributes
1 parent 9d1b6cf commit 651366c

31 files changed

+95
-81
lines changed

_data/tutorial-groups.yml

Lines changed: 39 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,39 @@
1-
- id: networking
2-
title: Networking
3-
description: "Connecting ev3dev to a local network or the internet, and connecting to an ev3dev device from a PC."
4-
- id: system
5-
title: "Ev3dev System"
6-
description: "Configuring, updating and modifying an ev3dev installation."
7-
- id: website
8-
title: This Website
9-
description: "Using this website and contributing content."
10-
- id: hardware-motors
11-
title: "Using Motors"
12-
description: "Configuring and using motors on ev3dev, from the basic tacho motors to more complex third-party ones."
13-
- id: hardware-extras
14-
title: Extra Hardware
15-
description: "Configuration and usage of specialty and otherwise nonstandard hardware."
16-
- id: software-languages
17-
title: Programming Languages and Tooling
18-
description: "Configuring a development environment, installing new languages, and using advanced language tools."
19-
- id: software-editors
20-
title: "Text Editors"
21-
description: "Tips on using text editors which ship with ev3dev out-of-the-box."
22-
- id: cross-compiling
23-
title: Cross-Compiling Code
24-
description: "Compiling code to run on an EV3 or other ev3dev device from a host PC."
25-
- id: sd-card-image
26-
title: SD Card Imaging
27-
description: "Deprecated guides on flashing an SD card with ev3dev images."
1+
- title: "Software"
2+
id: "software"
3+
items:
4+
- id: basic-networking
5+
title: Basic Networking
6+
description: "Connecting ev3dev to a local network or the internet, and connecting to an ev3dev device from a PC."
7+
- id: advanced-networking
8+
title: Advanced Networking
9+
description: "Communicating using special protocols between multiple devices on a network."
10+
- id: software-languages
11+
title: Programming Languages and Tooling
12+
description: "Configuring a development environment, installing new languages, and using advanced language tools."
13+
- id: software-editors
14+
title: "Text Editors"
15+
description: "Tips on using text editors which ship with ev3dev out-of-the-box."
16+
- id: cross-compiling
17+
title: Cross-Compiling Code
18+
description: "Compiling code to run on an EV3 or other ev3dev device from a host PC."
19+
- title: "Hardware"
20+
id: "hardware"
21+
items:
22+
- id: hardware-standard
23+
title: "Standard Hardware"
24+
description: "Configuring and using motors, sensors, buttons and other standard functionality on ev3dev."
25+
- id: hardware-extras
26+
title: Extra Hardware
27+
description: "Configuration and usage of specialty and otherwise nonstandard hardware."
28+
- title: "System administration & setup"
29+
id: "administration-and-setup"
30+
items:
31+
- id: sd-card-image
32+
title: SD Card Imaging
33+
description: "Deprecated guides on flashing an SD card with ev3dev images."
34+
- id: system
35+
title: "Ev3dev System"
36+
description: "Configuring, updating and modifying an ev3dev installation."
37+
- id: website
38+
title: This Website
39+
description: "Using this website and contributing content."

docs/tutorials/adding-new-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Adding a New Project
3-
subject: website
3+
group: website
44
---
55

66
We currently have a [projects page] where you can browse projects that have

docs/tutorials/connecting-to-ev3dev-with-ssh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Connecting to Ev3dev Using SSH
3-
subject: networking
3+
group: basic-networking
44
---
55

66
Connecting with SSH will allow you to run commands on the EV3 over the network

docs/tutorials/connecting-to-the-internet-via-bluetooth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Connecting to the Internet via Bluetooth
3-
subject: networking
3+
group: basic-networking
44
---
55

66
{% include icon.html type="warning" %}

docs/tutorials/connecting-to-the-internet-via-usb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Connecting to the Internet via USB
3-
subject: networking
3+
group: basic-networking
44
---
55

66
{% include icon.html type="warning" %}

docs/tutorials/controlling-wedo2-motor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Controlling a WeDo 2.0 motor
3-
subject: hardware-extras
3+
group: hardware-extras
44
author: "@JorgePe"
55
---
66

docs/tutorials/getting-started-with-c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Getting Started with C
3-
subject: software-languages
3+
group: software-languages
44
author: "@wasabifan"
55
---
66

docs/tutorials/index.html

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,32 @@
99
software. If you're looking for help with a specific goal, this is the place to
1010
look!
1111
</p>
12-
13-
<div class="row masonry-container" data-masonry='{ "itemSelector": ".tutorial-group-item", "columnWidth": ".grid-sizer", "percentPosition": true }'>
14-
<div class="grid-sizer col-xs-12 col-sm-6 col-md-6"></div>
15-
{% for group in site.data.tutorial-groups %}
16-
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-group-item">
17-
<div class="panel panel-default rounded-panel tutorial-panel" id="group-{{ group.id }}">
18-
<div class="panel-heading">{{ group.title }}</div>
19-
<div class="panel-body">
20-
<p>
21-
{{ group.description }}
22-
</p>
23-
<ul>
24-
{% assign items = site.pages | where: "category", "tutorials" | where: "subject",group.id %}
25-
{% for item in items %}
26-
<li>
27-
<a href="{{ item.url }}">{{ item.title }}</a>
28-
{% if item.subtitle %}
29-
({{ item.subtitle }})
30-
{% endif %}
31-
</li>
32-
{% endfor %}
33-
</ul>
12+
{% for section in site.data.tutorial-groups %}
13+
<h2>{{ section.title }}</h2>
14+
<div class="row masonry-container" data-masonry='{ "itemSelector": ".tutorial-group-item-{{ section.id }}", "columnWidth": ".tutorial-grid-sizer-{{section.id}}", "percentPosition": true }'>
15+
<div class="tutorial-grid-sizer-{{ section.id }} col-xs-12 col-sm-6 col-md-6"></div>
16+
{% for group in section.items %}
17+
<div class="col-xs-12 col-sm-6 col-md-6 tutorial-group-item-{{ section.id }}">
18+
<div class="panel panel-default rounded-panel tutorial-panel" id="group-{{section.id}}-{{ group.id }}">
19+
<div class="panel-heading">{{ group.title }}</div>
20+
<div class="panel-body">
21+
<p>
22+
{{ group.description }}
23+
</p>
24+
<ul>
25+
{% assign items = site.pages | where: "category", "tutorials" | where: "group",group.id %}
26+
{% for item in items %}
27+
<li>
28+
<a href="{{ item.url }}">{{ item.title }}</a>
29+
{% if item.subtitle %}
30+
({{ item.subtitle }})
31+
{% endif %}
32+
</li>
33+
{% endfor %}
34+
</ul>
35+
</div>
3436
</div>
3537
</div>
36-
</div>
37-
{% endfor %}
38-
</div>
38+
{% endfor %}
39+
</div>
40+
{% endfor %}

docs/tutorials/nano-cheat-sheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Nano cheat sheet
3-
subject: software-editors
3+
group: software-editors
44
author: "@wasabifan"
55
---
66

docs/tutorials/nxtmmx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Using the mindsensors.com NxtMMX Motor Controller
3-
subject: hardware-motors
3+
group: hardware-extras
44
---
55

66
The [mindsensors.com NxtMMX] motor controller uses the [tacho-motor class], so

0 commit comments

Comments
 (0)