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

fix nav button #515

Open
wants to merge 3 commits 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
102 changes: 45 additions & 57 deletions sidebarsTutorials.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ module.exports = {
{
type: 'category',
label: 'Get started',
link: { type: 'doc', id: 'get-started/get-started' },
items: [
// {
// type: 'doc',
// label: 'Your first project',
// id: 'get-started/get-started',
// },
{
type: 'doc',
label: 'Your first project',
id: 'get-started/get-started',
},
{
type: 'doc',
label: 'Take the control',
Expand All @@ -41,13 +40,12 @@ module.exports = {
{
type: 'category',
label: 'First service',
link: { type: 'doc', id: 'your-first-service/your-first-service' },
items: [
// {
// type: 'doc',
// label: 'Create a service',
// id: 'your-first-service/your-first-service',
// },
{
type: 'doc',
label: 'Create a service',
id: 'your-first-service/your-first-service',
},
{
type: 'doc',
label: 'Create a package',
Expand All @@ -58,13 +56,12 @@ module.exports = {
{
type: 'category',
label: 'First message',
link: { type: 'doc', id: 'your-first-message/your-first-message' },
items: [
// {
// type: 'doc',
// label: 'Receive a message',
// id: 'your-first-message/your-first-message',
// },
{
type: 'doc',
label: 'Receive a message',
id: 'your-first-message/your-first-message',
},
{
type: 'doc',
label: 'Send a message',
Expand All @@ -75,13 +72,12 @@ module.exports = {
{
type: 'category',
label: 'First detection',
link: { type: 'doc', id: 'your-first-detection/your-first-detection' },
items: [
// {
// type: 'doc',
// label: 'The topology',
// id: 'your-first-detection/your-first-detection',
// },
{
type: 'doc',
label: 'The topology',
id: 'your-first-detection/your-first-detection',
},
{
type: 'doc',
label: 'The routing table',
Expand Down Expand Up @@ -115,13 +111,12 @@ module.exports = {
{
type: 'category',
label: 'PlatformIO',
link: { type: 'doc', id: 'pio/pio' },
items: [
// {
// type: 'doc',
// label: 'Create your project',
// id: 'pio/pio',
// },
{
type: 'doc',
label: 'Create your project',
id: 'pio/pio',
},
{
type: 'doc',
label: 'Include Luos',
Expand All @@ -137,13 +132,12 @@ module.exports = {
{
type: 'category',
label: 'Espressif IDE',
link: { type: 'doc', id: 'esp/esp' },
items: [
// {
// type: 'doc',
// label: 'Set the environnement',
// id: 'esp/esp',
// },
{
type: 'doc',
label: 'Set the environnement',
id: 'esp/esp',
},
{
type: 'doc',
label: 'Connect ESP to network',
Expand All @@ -159,16 +153,12 @@ module.exports = {
{
type: 'category',
label: 'ROS 1&2',
link: {
type: 'doc',
id: 'luos-integration/install-ros2',
},
items: [
// {
// type: 'doc',
// label: 'Install ROS 2',
// id: 'luos-integration/install-ros2',
// },
{
type: 'doc',
label: 'Install ROS 2',
id: 'luos-integration/install-ros2',
},
{
type: 'doc',
label: 'ROS 2 package example',
Expand All @@ -192,13 +182,12 @@ module.exports = {
{
type: 'category',
label: 'Morse encoder',
link: { type: 'doc', id: 'morse/morse' },
items: [
// {
// type: 'doc',
// label: 'The algorithm',
// id: 'morse/morse',
// },
{
type: 'doc',
label: 'The algorithm',
id: 'morse/morse',
},
{
type: 'doc',
label: 'Display encoder output',
Expand All @@ -214,13 +203,12 @@ module.exports = {
{
type: 'category',
label: 'Connected bike alarm',
link: { type: 'doc', id: 'bike-alarm/bike-alarm' },
items: [
// {
// type: 'doc',
// label: 'Make a basic alarm',
// id: 'bike-alarm/bike-alarm',
// },
{
type: 'doc',
label: 'Make a basic alarm',
id: 'bike-alarm/bike-alarm',
},
{
type: 'doc',
label: 'Make this alarm modular',
Expand Down
6 changes: 3 additions & 3 deletions src/components/school/index/data/dataIntro.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"img": "Your_first_message_Luos",
"desc": "Luos aim to exchange information between services by sending messages. In this tutorial we will learn the message structure and how to send it to another services.",
"tags": ["Luos Message", "Service", "Polling", "Message Handler"],
"link": "your-first-message",
"link": "/tutorials/your-first-message",
"author": "nicoC"
},
{
Expand All @@ -68,7 +68,7 @@
"img": "Luos_and_Arduino",
"desc": "In this tutorial, you will how to set up a Luos-Arduino project on Arduino IDE.",
"tags": ["Board", "MCU", "Service", "Network", "Distributed System"],
"link": "/tutorials/arduino/intro",
"link": "/tutorials/arduino",
"author": "nicoR"
},
{
Expand All @@ -80,7 +80,7 @@
"img": "Bootloader_Luos",
"desc": "In this tutorial, you will learn to use the bootloader feature offered by Luos technology.",
"tags": ["Board", "MCU", "Service", "Network", "Distributed System"],
"link": "/tutorials/bootloader/intro",
"link": "/tutorials/bootloader",
"author": "thomas"
},
{
Expand Down
1 change: 1 addition & 0 deletions src/theme/DocItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ function DocItemContent(props) {

const regex = /tutorials/g;
const found = permalink.match(regex);

return (
<div className="row">
<div
Expand Down
2 changes: 1 addition & 1 deletion tutorials/get-started/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Congratulations, your first Luos app is running!

<TabItem value="No board" label="No board">

When you build your application, an executable program is generated. Run the application that you just built by going in the folder *Get_started\No-Board\.pio\build\native* and launch *program.exe*.
When you build your application, an executable program is generated. Run the application that you just built by going in the folder _Get_started\No-Board\.pio\build\native_ and launch _program.exe_.
In a terminal, you should see the program runing an the "LED" blinking.

<Image
Expand Down
1 change: 1 addition & 0 deletions tutorials/get-started/get-started2.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
custom_edit_url: null
title: 'Part 2: take the control'
image: /assets/images/tutorials/get-started/Get-Started-Part-2-banner-Luos.png
description: This is the remote control part of this tutorial, for you to control the Matrix.
---
Expand Down