From 6935b8695e51ca4d59a0b01114cf459369c55a33 Mon Sep 17 00:00:00 2001 From: Neil Vodoor Date: Tue, 30 Apr 2024 20:15:38 -0700 Subject: [PATCH 1/2] Fix links. --- src/content/links/footerLinks.ts | 14 +++++++------- src/content/links/headerLinks.ts | 22 +++++++++++----------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/content/links/footerLinks.ts b/src/content/links/footerLinks.ts index 1d21e25..de68a9d 100644 --- a/src/content/links/footerLinks.ts +++ b/src/content/links/footerLinks.ts @@ -2,23 +2,23 @@ const links = [ { title: "Product", items: [ - { title: "Getting Started", src: "./index.html" }, - { title: "Development Guide", src: "https://navigation.ros.org/development_guides/index.html" }, - { title: "Robots Using", src: "https://navigation.ros.org/about/robots.html"}, + { title: "Getting Started", src: "https://docs.nav2.org/getting_started/index.html" }, + { title: "Development Guide", src: "https://docs.nav2.org/development_guides/index.html" }, + { title: "Robots Using", src: "https://docs.nav2.org/about/robots.html"}, ], }, { title: "Company", items: [ - { title: "About us", src: "https://navigation.ros.org/about/index.html#id1"}, - { title: "Contact", src: "https://navigation.ros.org/about/index.html#contact" } + { title: "About us", src: "https://docs.nav2.org/about/index.html#id1"}, + { title: "Contact", src: "https://docs.nav2.org/about/index.html#contact" } ], }, { title: "Resource", items: [ - { title: "Tutorials", src: "https://navigation.ros.org/tutorials/index.html" }, - { title: "Roadmaps", src: "https://navigation.ros.org/roadmap/roadmap.html" }, + { title: "Tutorials", src: "https://docs.nav2.org/tutorials/index.html" }, + { title: "Roadmaps", src: "https://docs.nav2.org/roadmap/roadmap.html" }, ], } ] diff --git a/src/content/links/headerLinks.ts b/src/content/links/headerLinks.ts index f3b58d8..a3761c1 100644 --- a/src/content/links/headerLinks.ts +++ b/src/content/links/headerLinks.ts @@ -1,39 +1,39 @@ const headerLinks = [ { title: "Getting Started", - path: "https://navigation.ros.org/getting_started/index.html", + path: "https://docs.nav2.org/getting_started/index.html", }, { title: "Concepts", path: "#", children: [ - { title: "Navigation Concepts", path: "https://navigation.ros.org/concepts/index.html" }, - { title: "Behavior Trees", path: "https://navigation.ros.org/behavior_trees/index.html" }, + { title: "Navigation Concepts", path: "https://docs.nav2.org/concepts/index.html" }, + { title: "Behavior Trees", path: "https://docs.nav2.org/behavior_trees/index.html" }, ], }, { title: "Tutorials", path: "#", children: [ - { title: "First Time Robot Setup Guide", path: "https://navigation.ros.org/setup_guides/index.html" }, - { title: "General Tutorials", path: "https://navigation.ros.org/tutorials/index.html" }, - { title: "Plugin Tutorials", path: "https://navigation.ros.org/plugin_tutorials/index.html" } + { title: "First Time Robot Setup Guide", path: "https://docs.nav2.org/setup_guides/index.html" }, + { title: "General Tutorials", path: "https://docs.nav2.org/tutorials/index.html" }, + { title: "Plugin Tutorials", path: "https://docs.nav2.org/plugin_tutorials/index.html" } ], }, { title: "Configuration", children: [ - { title: "Tuning", path: "https://navigation.ros.org/tuning/index.html" }, - { title: "Configuration", path: "https://navigation.ros.org/configuration/index.html", }, - { title: "Plugins", path: "https://navigation.ros.org/plugins/index.html" } + { title: "Tuning", path: "https://docs.nav2.org/tuning/index.html" }, + { title: "Configuration", path: "https://docs.nav2.org/configuration/index.html", }, + { title: "Plugins", path: "https://docs.nav2.org/plugins/index.html" } ] }, { title: "About", path: "#", children: [ - { title: "Contact", path: "https://navigation.ros.org/about/index.html" }, - { title: "Robots", path: "https://navigation.ros.org/about/robots.html" }, + { title: "Contact", path: "https://docs.nav2.org/about/index.html" }, + { title: "Robots", path: "https://docs.nav2.org/about/robots.html" }, ] }, ]; From d0ab4906b83df64a3fdacf8c3759b0e51a1f27b9 Mon Sep 17 00:00:00 2001 From: Neil Vodoor Date: Tue, 30 Apr 2024 20:17:21 -0700 Subject: [PATCH 2/2] Fix more links. --- src/components/navbar/navbar.astro | 4 ++-- src/layouts/Layout.astro | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/navbar/navbar.astro b/src/components/navbar/navbar.astro index f844ecc..b744194 100644 --- a/src/components/navbar/navbar.astro +++ b/src/components/navbar/navbar.astro @@ -53,7 +53,7 @@ const DOCS = "Docs";
{DOCS} @@ -63,7 +63,7 @@ const DOCS = "Docs";
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index dcac48f..96ee8fb 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -23,15 +23,15 @@ const makeTitle = "Nav2 Navigation System";