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",
},
*/
{
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",
to: "firmware",
@ -52,11 +89,6 @@ const config = {
to: "showcase",
activeBasePath: "showcase",
},
{
label: "Docs",
to: "docs/getting-started",
activeBasePath: "docs/getting-started",
},
{
href: "https://meshtastic.discourse.group",
label: "Forum",

View file

@ -1,16 +1,5 @@
module.exports = {
Sidebar: {
"Getting Started": [
"getting-started/overview",
"getting-started/faq",
{
"Flashing firmware": [
"getting-started/flashing-esp32",
"getting-started/flashing-nrf52",
],
},
"getting-started/concepts",
],
About: {
Software: [
"software/overview",
{
@ -104,33 +93,48 @@ module.exports = {
"software/other/ant",
],
},
],
},
GettingStarted: {
"Getting Started": [
"getting-started/overview",
"getting-started/faq",
{
Settings: [
"software/settings/overview",
"software/settings/channel",
"software/settings/gps",
"software/settings/mqtt",
"software/settings/power",
"software/settings/router",
"software/settings/wifi",
{
Plugins: [
"software/settings/environmental-measurement-plugin",
"software/settings/external-notification-plugin",
"software/settings/canned-message-plugin-settings",
"software/settings/range-test-plugin",
"software/settings/serial-plugin",
"software/settings/store-and-forward-plugin",
"software/settings/rotary-encoder-settings",
],
Advanced: [
"software/settings/channel-advanced",
"software/settings/misc",
],
},
"Flashing firmware": [
"getting-started/flashing-esp32",
"getting-started/flashing-nrf52",
],
},
"getting-started/concepts",
],
},
Settings: {
Settings: [
"software/settings/overview",
"software/settings/channel",
"software/settings/gps",
"software/settings/mqtt",
"software/settings/power",
"software/settings/router",
"software/settings/wifi",
{
Plugins: [
"software/settings/environmental-measurement-plugin",
"software/settings/external-notification-plugin",
"software/settings/canned-message-plugin-settings",
"software/settings/range-test-plugin",
"software/settings/serial-plugin",
"software/settings/store-and-forward-plugin",
"software/settings/rotary-encoder-settings",
],
Advanced: [
"software/settings/channel-advanced",
"software/settings/misc",
],
},
],
},
Hardware: {
Hardware: [
"hardware/overview",
{
@ -155,6 +159,8 @@ module.exports = {
],
},
],
},
Contribute: {
Developers: [
"developers/overview",
{
@ -183,6 +189,8 @@ module.exports = {
],
},
],
},
Legal: {
Legal: [
"legal/overview",
"legal/licensing",