diff --git a/sidebarsTutorials.js b/sidebarsTutorials.js index 7df147f47..4c0e3b70f 100644 --- a/sidebarsTutorials.js +++ b/sidebarsTutorials.js @@ -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', @@ -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', @@ -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', @@ -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', @@ -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', @@ -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', @@ -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', @@ -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', @@ -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', diff --git a/src/components/school/index/data/dataIntro.json b/src/components/school/index/data/dataIntro.json index b2a1f4083..59d1e8a9f 100644 --- a/src/components/school/index/data/dataIntro.json +++ b/src/components/school/index/data/dataIntro.json @@ -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" }, { @@ -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" }, { @@ -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" }, { diff --git a/src/theme/DocItem/index.js b/src/theme/DocItem/index.js index c26afc432..d8cfe2aa2 100644 --- a/src/theme/DocItem/index.js +++ b/src/theme/DocItem/index.js @@ -59,6 +59,7 @@ function DocItemContent(props) { const regex = /tutorials/g; const found = permalink.match(regex); + return (
-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.