Skip to content

Commit 6dbd210

Browse files
committed
Enabled new submenus in docs_nav.html
Signed-off-by: Ralph Lange (CR/AEE1) <ralph.lange@de.bosch.com>
1 parent 87d5a25 commit 6dbd210

3 files changed

Lines changed: 34 additions & 21 deletions

File tree

_data/docs.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@
44
- overview/hardware
55
- overview/comparison
66

7+
8+
9+
- title: Client Library
10+
docs:
11+
- concepts/client_library
12+
- concepts/client_library/real-time_executor
13+
- concepts/client_library/system_modes
14+
- concepts/client_library/embedded_tf
15+
- concepts/client_library/decision_paper
16+
17+
- title: Middleware
18+
docs:
19+
- concepts/middleware/FIROS2
20+
21+
- title: RTOS
22+
docs:
23+
- concepts/rtos
24+
25+
26+
727
- title: Basic Tutorials
828
docs:
929
- tutorials/basic/getting_started
@@ -21,20 +41,3 @@
2141
- title: Demos
2242
docs:
2343
- tutorials/demos/kobuki_demo
24-
25-
- title: Client Library
26-
docs:
27-
- concepts/client_library
28-
- concepts/client_library/real-time_executor
29-
- concepts/client_library/system_modes
30-
- concepts/client_library/embedded_tf
31-
- concepts/client_library/decision_paper
32-
33-
- title: Middleware
34-
docs:
35-
- concepts/rtos
36-
- concepts/rtos/FIROS2
37-
38-
- title: RTOS
39-
docs:
40-
- concepts/rtos

_docs/concepts/middleware/FIROS2/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: micro-ROS & FIWARE
33
permalink: /docs/concepts/middleware/FIROS2/
4-
redirect_from: /docs/concepts/middleware/
5-
redirect_from: /FIROS2/
4+
redirect_from:
5+
- /docs/concepts/middleware/
6+
- /FIROS2/
67
---
78

89

_includes/docs_nav.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,19 @@
44
{% if page.path contains "_docs/overview" and section.title contains "Overview" %}
55
{% assign should_show_this_menu = true %}
66
{% endif %}
7-
{% if page.path contains "_docs/concepts" and section.title contains "Concepts" %}
7+
{% if page.path contains "_docs/concepts" and section.title contains "Client Library" %}
88
{% assign should_show_this_menu = true %}
99
{% endif %}
10-
{% if page.path contains "_docs/tutorials" and section.title contains "Tutorials" %}
10+
{% if page.path contains "_docs/concepts" and section.title contains "Middleware" %}
11+
{% assign should_show_this_menu = true %}
12+
{% endif %}
13+
{% if page.path contains "_docs/concepts" and section.title contains "RTOS" %}
14+
{% assign should_show_this_menu = true %}
15+
{% endif %}
16+
{% if page.path contains "_docs/tutorials" and section.title contains "Basic Tutorials" %}
17+
{% assign should_show_this_menu = true %}
18+
{% endif %}
19+
{% if page.path contains "_docs/tutorials" and section.title contains "Advanced Tutorials" %}
1120
{% assign should_show_this_menu = true %}
1221
{% endif %}
1322
{% if page.path contains "_docs/tutorials" and section.title contains "Demos" %}

0 commit comments

Comments
 (0)