From dd8b881a25c0dfc6739efd82b0fafad0a47baa88 Mon Sep 17 00:00:00 2001 From: Foster Irwin Date: Sat, 17 Apr 2021 01:13:07 -0600 Subject: [PATCH] replace underscores in urls with hyphens --- .../about.md | 0 .../concepts.md | 0 .../flashing-firmware}/linux.md | 0 .../flashing-firmware}/macos.md | 0 .../flashing-firmware}/ota.md | 0 .../flashing-firmware}/overview.md | 0 .../flashing-firmware}/windows.md | 0 .../getting_started.md | 2 +- website/docs/hardware/supported_hardware.md | 4 ++-- website/docusaurus.config.js | 6 +++--- website/sidebars.js | 18 +++++++++--------- 11 files changed, 15 insertions(+), 15 deletions(-) rename website/docs/{getting_started => getting-started}/about.md (100%) rename website/docs/{getting_started => getting-started}/concepts.md (100%) rename website/docs/{getting_started/flashing_firmware => getting-started/flashing-firmware}/linux.md (100%) rename website/docs/{getting_started/flashing_firmware => getting-started/flashing-firmware}/macos.md (100%) rename website/docs/{getting_started/flashing_firmware => getting-started/flashing-firmware}/ota.md (100%) rename website/docs/{getting_started/flashing_firmware => getting-started/flashing-firmware}/overview.md (100%) rename website/docs/{getting_started/flashing_firmware => getting-started/flashing-firmware}/windows.md (100%) rename website/docs/{getting_started => getting-started}/getting_started.md (99%) diff --git a/website/docs/getting_started/about.md b/website/docs/getting-started/about.md similarity index 100% rename from website/docs/getting_started/about.md rename to website/docs/getting-started/about.md diff --git a/website/docs/getting_started/concepts.md b/website/docs/getting-started/concepts.md similarity index 100% rename from website/docs/getting_started/concepts.md rename to website/docs/getting-started/concepts.md diff --git a/website/docs/getting_started/flashing_firmware/linux.md b/website/docs/getting-started/flashing-firmware/linux.md similarity index 100% rename from website/docs/getting_started/flashing_firmware/linux.md rename to website/docs/getting-started/flashing-firmware/linux.md diff --git a/website/docs/getting_started/flashing_firmware/macos.md b/website/docs/getting-started/flashing-firmware/macos.md similarity index 100% rename from website/docs/getting_started/flashing_firmware/macos.md rename to website/docs/getting-started/flashing-firmware/macos.md diff --git a/website/docs/getting_started/flashing_firmware/ota.md b/website/docs/getting-started/flashing-firmware/ota.md similarity index 100% rename from website/docs/getting_started/flashing_firmware/ota.md rename to website/docs/getting-started/flashing-firmware/ota.md diff --git a/website/docs/getting_started/flashing_firmware/overview.md b/website/docs/getting-started/flashing-firmware/overview.md similarity index 100% rename from website/docs/getting_started/flashing_firmware/overview.md rename to website/docs/getting-started/flashing-firmware/overview.md diff --git a/website/docs/getting_started/flashing_firmware/windows.md b/website/docs/getting-started/flashing-firmware/windows.md similarity index 100% rename from website/docs/getting_started/flashing_firmware/windows.md rename to website/docs/getting-started/flashing-firmware/windows.md diff --git a/website/docs/getting_started/getting_started.md b/website/docs/getting-started/getting_started.md similarity index 99% rename from website/docs/getting_started/getting_started.md rename to website/docs/getting-started/getting_started.md index 61b55b71..df2db282 100644 --- a/website/docs/getting_started/getting_started.md +++ b/website/docs/getting-started/getting_started.md @@ -2,7 +2,7 @@ id: overview title: Overview sidebar_label: Overview -slug: /getting_started +slug: /getting-started --- ## Purchase a Radio diff --git a/website/docs/hardware/supported_hardware.md b/website/docs/hardware/supported_hardware.md index 389c3bb8..b6478128 100644 --- a/website/docs/hardware/supported_hardware.md +++ b/website/docs/hardware/supported_hardware.md @@ -1,6 +1,6 @@ --- -id: supported_hardware +id: supported-hardware title: Supported hardware sidebar_label: Supported hardware -slug: /hardware/supported_hardware +slug: /hardware/supported-hardware --- diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index bd43e184..3dc1a20b 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -21,8 +21,8 @@ module.exports = { }, items: [ { - to: "docs/getting_started", - activeBasePath: "docs/getting_started", + to: "docs/getting-started", + activeBasePath: "docs/getting-started", label: "Getting Started", position: "left", }, @@ -65,7 +65,7 @@ module.exports = { items: [ { label: "Getting Started", - to: "docs/getting_started", + to: "docs/getting-started", }, { label: "Software", diff --git a/website/sidebars.js b/website/sidebars.js index d5decf5f..017e6555 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -1,19 +1,19 @@ module.exports = { Sidebar: { "Getting Started": [ - "getting_started/about", - "getting_started/overview", + "getting-started/about", + "getting-started/overview", { "Flashing Firmware": [ - "getting_started/flashing_firmware/overview", - "getting_started/flashing_firmware/linux", - "getting_started/flashing_firmware/macos", - "getting_started/flashing_firmware/ota", - "getting_started/flashing_firmware/windows", + "getting-started/flashing-firmware/overview", + "getting-started/flashing-firmware/linux", + "getting-started/flashing-firmware/macos", + "getting-started/flashing-firmware/ota", + "getting-started/flashing-firmware/windows", ], "Howto's": [], }, - "getting_started/concepts", + "getting-started/concepts", ], Software: [ "software/overview", @@ -64,7 +64,7 @@ module.exports = { ], Hardware: [ "hardware/overview", - "hardware/supported_hardware", + "hardware/supported-hardware", "hardware/behaviour", "hardware/antenna", ],