Skip to content

Commit c1d6d3c

Browse files
committed
feat(menu): split menu in smaller files WDOC-1223
1 parent 02aeeae commit c1d6d3c

File tree

63 files changed

+6088
-5966
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+6088
-5966
lines changed

menu/navigation.ts

Lines changed: 123 additions & 5965 deletions
Large diffs are not rendered by default.

pages/account/menu.ts

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
export default {
2+
items: [
3+
{
4+
label: 'Overview',
5+
slug: '../account',
6+
},
7+
{
8+
label: 'Concepts',
9+
slug: 'concepts',
10+
},
11+
{
12+
label: 'Quickstart',
13+
slug: 'quickstart',
14+
},
15+
{
16+
label: 'FAQ',
17+
slug: 'faq',
18+
},
19+
{
20+
items: [
21+
{
22+
label: 'Create an account',
23+
slug: 'create-an-account',
24+
},
25+
{
26+
label: 'Verify your identity',
27+
slug: 'verify-identity',
28+
},
29+
{
30+
label: 'Log in to the console',
31+
slug: 'log-in-to-the-console',
32+
},
33+
{
34+
label: 'Change the language',
35+
slug: 'change-language',
36+
},
37+
{
38+
label: 'Switch from a personal to a corporate account',
39+
slug: 'switch-account-to-corporate',
40+
},
41+
{
42+
label: 'Switch the color scheme of the console',
43+
slug: 'change-console-appearance',
44+
},
45+
{
46+
label: 'Configure support plans',
47+
slug: 'configure-support-plans',
48+
},
49+
{
50+
label: 'Use multifactor authentication',
51+
slug: 'use-2fa',
52+
},
53+
{
54+
label: 'Change a password',
55+
slug: 'change-password',
56+
},
57+
{
58+
label: 'Recover a lost password',
59+
slug: 'recover-a-lost-password',
60+
},
61+
{
62+
label: 'Open a support ticket',
63+
slug: 'open-a-support-ticket',
64+
},
65+
{
66+
label: 'Manage my personal information (GDPR)',
67+
slug: 'manage-my-personal-data-gdpr',
68+
},
69+
{
70+
label: 'Download Scaleway contracts',
71+
slug: 'download-scaleway-contracts',
72+
},
73+
{
74+
label: 'Manage notifications',
75+
slug: 'manage-notifications',
76+
},
77+
{
78+
label: 'Use the search bar',
79+
slug: 'use-the-search-bar',
80+
},
81+
{
82+
label: 'Report abuse',
83+
slug: 'report-abuse',
84+
},
85+
{
86+
label: 'Resolve abuse tickets and cases',
87+
slug: 'resolve-abuse',
88+
},
89+
{
90+
label: 'Close an account',
91+
slug: 'close-account',
92+
},
93+
],
94+
label: 'How to',
95+
slug: 'how-to',
96+
},
97+
{
98+
items: [
99+
{
100+
label: 'Account API Reference',
101+
slug: 'https://www.scaleway.com/en/developers/api/account/project-api/',
102+
},
103+
],
104+
label: 'API/CLI',
105+
slug: 'api-cli',
106+
},
107+
{
108+
items: [
109+
{
110+
label: 'Use case: informational website',
111+
slug: 'use-case-informational-website',
112+
},
113+
{
114+
label: 'Product availability overview',
115+
slug: 'products-availability',
116+
},
117+
{
118+
label: 'Scaleway network information',
119+
slug: 'scaleway-network-information',
120+
},
121+
{
122+
label: 'Subscribing to Scaleway status updates',
123+
slug: 'scaleway-status-updates',
124+
},
125+
{
126+
label: 'Understanding support plans',
127+
slug: 'understanding-support-plans',
128+
},
129+
{
130+
label: 'Protecting yourself against phishing and fraud',
131+
slug: 'protecting-yourself-fraud-phishing',
132+
},
133+
],
134+
label: 'Additional Content',
135+
slug: 'reference-content',
136+
},
137+
{
138+
label: 'Troubleshooting',
139+
slug: 'troubleshooting',
140+
},
141+
],
142+
label: 'Account',
143+
slug: 'account',
144+
}

pages/apple-silicon/menu.ts

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
export default {
2+
items: [
3+
{
4+
label: 'Overview',
5+
slug: '../apple-silicon',
6+
},
7+
{
8+
label: 'Concepts',
9+
slug: 'concepts',
10+
},
11+
{
12+
label: 'Quickstart',
13+
slug: 'quickstart',
14+
},
15+
{
16+
label: 'FAQ',
17+
slug: 'faq',
18+
},
19+
{
20+
items: [
21+
{
22+
label: 'Create a Mac mini',
23+
slug: 'create-mac-mini',
24+
},
25+
{
26+
label: 'Access the remote desktop of a Mac mini',
27+
slug: 'access-remote-desktop-mac-mini',
28+
},
29+
{
30+
label: 'Connect to a Mac mini using SSH',
31+
slug: 'connect-to-mac-mini-ssh',
32+
},
33+
{
34+
label: 'Use Private Networks',
35+
slug: 'use-private-networks',
36+
},
37+
{
38+
label: 'Remove the public IP address',
39+
slug: 'remove-public-ip',
40+
},
41+
{
42+
label: 'Install a package manager',
43+
slug: 'install-package-manager-mac-mini',
44+
},
45+
{
46+
label: 'Update the OS of a Mac mini',
47+
slug: 'update-os-mac-mini',
48+
},
49+
{
50+
label: 'Upgrade to a beta version of macOS',
51+
slug: 'upgrade-macos-to-beta',
52+
},
53+
{
54+
label: 'Set up a virtual machine (VM) with UTM',
55+
slug: 'setup-vm-with-utm',
56+
},
57+
{
58+
label: 'Test MDM workflows using a VM',
59+
slug: 'test-mdm-workflows',
60+
},
61+
{
62+
label: 'Reboot a Mac mini',
63+
slug: 'reboot-mac-mini',
64+
},
65+
{
66+
label: 'Shutdown a Mac mini',
67+
slug: 'shutdown-mac-mini',
68+
},
69+
{
70+
label: 'Reinstall a Mac mini',
71+
slug: 'reinstall-mac-mini',
72+
},
73+
{
74+
label: 'Manage your commitment plan',
75+
slug: 'manage-commitment-plan',
76+
},
77+
{
78+
label: 'Delete a Mac mini',
79+
slug: 'delete-mac-mini',
80+
},
81+
],
82+
label: 'How to',
83+
slug: 'how-to',
84+
},
85+
{
86+
items: [
87+
{
88+
label: 'Apple silicon API Reference',
89+
slug: 'https://www.scaleway.com/en/developers/api/apple-silicon/',
90+
},
91+
],
92+
label: 'API/CLI',
93+
slug: 'api-cli',
94+
},
95+
{
96+
items: [
97+
{
98+
label: 'Bare Metal shared responsibility model',
99+
slug: '../../elastic-metal/reference-content/shared-responsibility-model',
100+
},
101+
],
102+
label: 'Additional Content',
103+
slug: 'reference-content',
104+
},
105+
{
106+
label: 'Troubleshooting',
107+
slug: 'troubleshooting',
108+
},
109+
],
110+
label: 'Apple silicon',
111+
slug: 'apple-silicon',
112+
}

pages/audit-trail/menu.ts

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
export default {
2+
items: [
3+
{
4+
label: 'Overview',
5+
slug: '../audit-trail',
6+
},
7+
{
8+
label: 'Concepts',
9+
slug: 'concepts',
10+
},
11+
{
12+
label: 'Quickstart',
13+
slug: 'quickstart',
14+
},
15+
{
16+
label: 'FAQ',
17+
slug: 'faq',
18+
},
19+
{
20+
items: [
21+
{
22+
label: 'Configure the Audit Trail permission set',
23+
slug: 'configure-audit-trail-permissions',
24+
},
25+
{
26+
label: 'Use Audit Trail',
27+
slug: 'use-audit-trail',
28+
},
29+
],
30+
label: 'How to',
31+
slug: 'how-to',
32+
},
33+
{
34+
items: [
35+
{
36+
label: 'Audit Trail API Reference',
37+
slug: 'https://www.scaleway.com/en/developers/api/audit-trail/',
38+
},
39+
],
40+
label: 'API/CLI',
41+
slug: 'api-cli',
42+
},
43+
{
44+
items: [
45+
{
46+
label: 'Audit Trail product integration',
47+
slug: 'resource-integration-with-adt',
48+
},
49+
{
50+
label: 'Supported endpoints for Audit Trail',
51+
slug: 'adt-supported-endpoints',
52+
},
53+
],
54+
label: 'Additional Content',
55+
slug: 'reference-content',
56+
},
57+
{
58+
label: 'Troubleshooting',
59+
slug: 'troubleshooting',
60+
},
61+
],
62+
label: 'Audit Trail',
63+
slug: 'audit-trail',
64+
}

0 commit comments

Comments
 (0)