Merge pull request #184 from jfirwin/master

reorganize navigation and sidebars
This commit is contained in:
Garth Vander Houwen 2022-01-19 22:25:48 -08:00 committed by GitHub
commit deeb4d7f42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 80 additions and 40 deletions

View file

@ -42,6 +42,43 @@ const config = {
activeBasePath: "docs/academy", activeBasePath: "docs/academy",
}, },
*/ */
{
label: "Documentation",
items: [
{
label: "About Meshtastic",
to: "docs/software",
},
{
label: "Getting Started",
to: "docs/getting-started",
},
{
label: "Device Settings",
to: "docs/settings",
},
{
label: "Hardware Details",
to: "docs/hardware",
},
{
label: "Contribute to Meshtastic",
to: "docs/developers",
},
/*
TODO add Docusaurus and Vercel instructions for how to manage the docs
{
label: "About this Documentation",
to: "docs/about-documentation",
},
*/
{
label: "Legal",
to: "docs/legal",
},
],
},
{ {
label: "Firmware", label: "Firmware",
to: "firmware", to: "firmware",
@ -52,11 +89,6 @@ const config = {
to: "showcase", to: "showcase",
activeBasePath: "showcase", activeBasePath: "showcase",
}, },
{
label: "Docs",
to: "docs/getting-started",
activeBasePath: "docs/getting-started",
},
{ {
href: "https://meshtastic.discourse.group", href: "https://meshtastic.discourse.group",
label: "Forum", label: "Forum",

View file

@ -1,16 +1,5 @@
module.exports = { module.exports = {
Sidebar: { About: {
"Getting Started": [
"getting-started/overview",
"getting-started/faq",
{
"Flashing firmware": [
"getting-started/flashing-esp32",
"getting-started/flashing-nrf52",
],
},
"getting-started/concepts",
],
Software: [ Software: [
"software/overview", "software/overview",
{ {
@ -104,7 +93,22 @@ module.exports = {
"software/other/ant", "software/other/ant",
], ],
}, },
],
},
GettingStarted: {
"Getting Started": [
"getting-started/overview",
"getting-started/faq",
{ {
"Flashing firmware": [
"getting-started/flashing-esp32",
"getting-started/flashing-nrf52",
],
},
"getting-started/concepts",
],
},
Settings: {
Settings: [ Settings: [
"software/settings/overview", "software/settings/overview",
"software/settings/channel", "software/settings/channel",
@ -130,7 +134,7 @@ module.exports = {
}, },
], ],
}, },
], Hardware: {
Hardware: [ Hardware: [
"hardware/overview", "hardware/overview",
{ {
@ -155,6 +159,8 @@ module.exports = {
], ],
}, },
], ],
},
Contribute: {
Developers: [ Developers: [
"developers/overview", "developers/overview",
{ {
@ -183,6 +189,8 @@ module.exports = {
], ],
}, },
], ],
},
Legal: {
Legal: [ Legal: [
"legal/overview", "legal/overview",
"legal/licensing", "legal/licensing",