Skip to content

Commit a23090c

Browse files
committed
[docs] Promote Documentation docs & Content guidelines to new Writing navbar
1 parent 6b1f6ab commit a23090c

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

config/navbar.js

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,25 @@ const navbar = {
6464
docsPluginId: 'general',
6565
},
6666
{
67-
type: 'docSidebar',
67+
type: 'dropdown',
68+
label: 'Writing',
69+
items: [
70+
{
71+
type: 'docSidebar',
72+
// position: 'left',
73+
sidebarId: 'contentguidelines',
74+
label: 'Content guidelines',
75+
docsPluginId: 'general',
76+
},
77+
{
78+
type: 'docSidebar',
79+
// position: 'left',
80+
sidebarId: 'documentation',
81+
label: 'Documentation',
82+
docsPluginId: 'general',
83+
},
84+
],
6885
position: 'left',
69-
sidebarId: 'contentguidelines',
70-
label: 'Content guidelines',
71-
docsPluginId: 'general',
7286
},
7387

7488
// Right.

sidebars/docs.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ const sidebars = {
4949
id: 'apis',
5050
},
5151
},
52-
53-
{
54-
label: 'Content guidelines',
55-
type: 'link',
56-
href: '/general/contentguidelines',
57-
},
58-
5952
{
6053
label: 'Developer update',
6154
type: 'doc',
@@ -71,6 +64,13 @@ const sidebars = {
7164
type: 'link',
7265
href: '/general/releases',
7366
},
67+
68+
{
69+
label: 'Content guidelines',
70+
type: 'link',
71+
href: '/general/contentguidelines',
72+
},
73+
7474
{
7575
label: 'Projects',
7676
type: 'link',

0 commit comments

Comments
 (0)