Skip to content

Commit bf81c81

Browse files
committed
Re-organize User Guide for Search sidebar
1 parent ff94f74 commit bf81c81

4 files changed

Lines changed: 15 additions & 5 deletions

File tree

docs/user-guide/search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: search
3-
title: Search
3+
title: Enabling the Search Control
44
slug: /user-guide/search
55
---
66

i18n/fr/docusaurus-plugin-content-docs/current.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"message": "Les styles",
2424
"description": "The label for styling in sidebar sidebar"
2525
},
26+
"sidebar.sidebar.category.Search": {
27+
"message": "Recherche",
28+
"description": "The label for category Search in sidebar sidebar"
29+
},
2630
"sidebar.sidebar.category.Tutorials": {
2731
"message": "Tutoriels",
2832
"description": "The label for Tutorials in sidebar sidebar"

i18n/fr/docusaurus-plugin-content-docs/current/user-guide/search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: search
3-
title: Recherche
3+
title: Activer le contrôle de recherche
44
slug: /user-guide/search
55
---
66

sidebars.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,22 @@ module.exports = {
3939
'user-guide/quick-start'
4040
],
4141
},
42-
'user-guide/search',
42+
{
43+
type: 'category',
44+
label: 'Search',
45+
items: [
46+
'user-guide/search',
47+
'user-guide/custom-handlers'
48+
],
49+
},
4350
{
4451
'Styling': [
4552
'user-guide/creating-styles',
4653
'user-guide/using-styles'
4754
],
4855
'Tutorials': [
4956
'user-guide/getting-started',
50-
'user-guide/modifying-map',
51-
'user-guide/custom-handlers'
57+
'user-guide/modifying-map'
5258
]
5359
}
5460
],

0 commit comments

Comments
 (0)