Skip to content

Commit b75906c

Browse files
Merge pull request #231 from chrultrabook/wtt/overhaul
Overhaul part 2
2 parents d797020 + 8a928a9 commit b75906c

38 files changed

+84
-1183
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dev": "npm run device-table && vuepress dev src",
1111
"dev-prod": "npm run device-table && NODE_ENV=production vuepress dev src",
1212
"build": "npm run device-table && vuepress build src",
13-
"device-table": "node supported-devices/index.js"
13+
"device-table": "node devices/index.js"
1414
},
1515
"license": "MIT",
1616
"devDependencies": {

src/.vuepress/config.js

Lines changed: 17 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default {
4141
navbar: [
4242
{
4343
text: 'Documentation',
44-
link: '/docs/firmware/',
44+
link: '/docs/getting-started/prerequisites.html',
4545
},
4646
{
4747
text: 'Questions?',
@@ -54,71 +54,23 @@ export default {
5454
text: 'FAQ',
5555
link: '/docs/faq',
5656
},
57+
{
58+
text: 'Device Support Status',
59+
link: '/docs/devices',
60+
},
5761
{
58-
text: 'Firmware',
59-
link: '/docs/firmware/',
60-
collapsible: false,
61-
children: [
62-
{
63-
text: 'Finding System Info',
64-
link: '/docs/firmware/system-info',
65-
},
66-
{
67-
text: 'Supported Devices',
68-
link: '/docs/firmware/supported-devices',
69-
},
70-
{
71-
text: 'Known Issues',
72-
link: '/docs/firmware/known-issues',
73-
},
74-
{
75-
text: 'Developer Mode',
76-
link: '/docs/firmware/developer-mode',
77-
collapsible: true,
78-
children: [
79-
{
80-
text: 'Recovery Mode',
81-
link: '/docs/firmware/recovery-mode',
82-
}
83-
]
84-
},
85-
{
86-
text: 'Disabling Write Protect',
87-
link: '/docs/firmware/write-protect',
88-
collapsible: true,
89-
children: [
90-
{
91-
text: 'Using a SuzyQable',
92-
link: '/docs/firmware/suzyq',
93-
},
94-
{
95-
text: 'Unplugging the Battery',
96-
link: '/docs/firmware/battery',
97-
}
98-
]
99-
},
100-
{
101-
text: 'Types of Firmware',
102-
link: '/docs/firmware/about'
103-
},
104-
{
105-
text: 'Flashing Firmware',
106-
link: '/docs/firmware/flashing-firmware'
107-
},
108-
{
109-
text: 'Updating Firmware',
110-
link: '/docs/firmware/updating-firmware'
111-
},
112-
{
113-
text: 'Compiling Custom Firmware',
114-
link: '/docs/firmware/compiling-coreboot',
115-
},
116-
{
117-
text: 'Flashing Manually',
118-
link: '/docs/firmware/manually-flashing',
119-
},
120-
]
121-
},
62+
text: "Getting Started",
63+
children: [
64+
{
65+
text: "Prerequisites",
66+
link: "/docs/getting-started/prerequisites"
67+
},
68+
{
69+
text: "Choosing an OS and Boot Method",
70+
link: "/docs/getting-started/choose-os-fw"
71+
},
72+
]
73+
},
12274
{
12375
text: "Installing an OS",
12476
link: "/docs/installing/",
@@ -183,44 +135,6 @@ export default {
183135
}
184136
]
185137
},
186-
{
187-
text: 'Unbricking',
188-
link: '/docs/unbricking/',
189-
collapsible: false,
190-
children: [
191-
{
192-
text: 'Unbricking with a ch341a USB Programmer',
193-
link: '/docs/unbricking/unbrick-ch341a',
194-
},
195-
{
196-
text: 'Unbricking with a Suzy-Q Cable',
197-
link: '/docs/unbricking/unbrick-suzyq',
198-
},
199-
{
200-
text: 'Unbricking with a Flipper Zero',
201-
link: '/docs/unbricking/unbrick-flipper',
202-
}
203-
]
204-
},
205-
{
206-
text: 'Reverting to chromeOS',
207-
link: '/docs/reverting/',
208-
collapsible: false,
209-
children: [
210-
{
211-
text: 'Flashing Stock Firmware',
212-
link: '/docs/reverting/flashing-stock',
213-
},
214-
{
215-
text: 'Making a Recovery USB',
216-
link: '/docs/reverting/making-recovery-usb',
217-
},
218-
{
219-
text: 'Booting the Recovery USB',
220-
link: '/docs/reverting/booting-recovery-usb',
221-
}
222-
]
223-
},
224138
{
225139
text: 'Contributing',
226140
link: '/docs/contributing',

src/docs/devices.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Device Support Status
2+
3+
::: tip
4+
If you are on a smaller screen, scroll sideways to see whole table.
5+
:::
6+
7+
<AddScript script-url="../devices.js"/>
8+
9+
<p>Search: <input type="text" class="deviceSearch"></p>
10+
11+
<div class="deviceTable">Loading...</div>

src/docs/exiting-developer-mode.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/docs/firmware/about.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/docs/firmware/battery.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)