From 05d3dbb8501a2c15d2056409fb734778c335f852 Mon Sep 17 00:00:00 2001 From: Jeff Glaum Date: Tue, 19 Aug 2025 10:20:24 -0700 Subject: [PATCH 1/2] fix documentation links --- src/components/projects_component.rs | 6 +++--- src/pages/boot_firmware.rs | 8 ++++---- src/pages/embedded_controller.rs | 8 ++++---- src/pages/home.rs | 10 +++++----- src/pages/projects.rs | 10 +++++----- src/pages/unified_ec_services.rs | 10 +++++----- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/components/projects_component.rs b/src/components/projects_component.rs index cbaf73c..efbd381 100644 --- a/src/components/projects_component.rs +++ b/src/components/projects_component.rs @@ -123,7 +123,7 @@ pub fn ProjectsComponent() -> impl IntoView {
impl IntoView {
impl IntoView {
impl IntoView { let links = vec![ DocLink { - href: "https://opendevicepartnership.github.io/documentation/why/why.html", + href: "https://opendevicepartnership.github.io/documentation/guide/why/why.html", title: "Why ODP?", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/welcome.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/getting_started.html", title: "Getting Started with ODP", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/tutorial/tutorial.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/welcome.html", title: "Tutorials", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/specs/specifications.html", + href: "https://opendevicepartnership.github.io/documentation/guide/specs/specifications.html", title: "Specifications", external: true, }, diff --git a/src/pages/embedded_controller.rs b/src/pages/embedded_controller.rs index 4cc01c3..57de279 100644 --- a/src/pages/embedded_controller.rs +++ b/src/pages/embedded_controller.rs @@ -11,22 +11,22 @@ use leptos::prelude::*; pub fn EmbeddedController() -> impl IntoView { let links = vec![ DocLink { - href: "https://opendevicepartnership.github.io/documentation/why/why.html", + href: "https://opendevicepartnership.github.io/documentation/guide/why/why.html", title: "Why ODP?", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/welcome.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/getting_started.html", title: "Getting Started with ODP", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/tutorial/tutorial.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/welcome.html", title: "Tutorials", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/specs/specifications.html", + href: "https://opendevicepartnership.github.io/documentation/guide/specs/specifications.html", title: "Specifications", external: true, }, diff --git a/src/pages/home.rs b/src/pages/home.rs index 6870df0..68690b1 100644 --- a/src/pages/home.rs +++ b/src/pages/home.rs @@ -10,23 +10,23 @@ use leptos::prelude::*; pub fn Home() -> impl IntoView { // Documentation links for the DocumentationTraining section let links = vec![ - DocLink { - href: "https://opendevicepartnership.github.io/documentation/why/why.html", + DocLink { + href: "https://opendevicepartnership.github.io/documentation/guide/why/why.html", title: "Why ODP?", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/welcome.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/getting_started.html", title: "Getting Started with ODP", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/tutorial/tutorial.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/welcome.html", title: "Tutorials", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/specs/specifications.html", + href: "https://opendevicepartnership.github.io/documentation/guide/specs/specifications.html", title: "Specifications", external: true, }, diff --git a/src/pages/projects.rs b/src/pages/projects.rs index aeaff70..948de24 100644 --- a/src/pages/projects.rs +++ b/src/pages/projects.rs @@ -9,23 +9,23 @@ use leptos::prelude::*; #[component] pub fn Projects() -> impl IntoView { let links = vec![ - DocLink { - href: "https://opendevicepartnership.github.io/documentation/why/why.html", + DocLink { + href: "https://opendevicepartnership.github.io/documentation/guide/why/why.html", title: "Why ODP?", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/welcome.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/getting_started.html", title: "Getting Started with ODP", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/tutorial/tutorial.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/welcome.html", title: "Tutorials", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/specs/specifications.html", + href: "https://opendevicepartnership.github.io/documentation/guide/specs/specifications.html", title: "Specifications", external: true, }, diff --git a/src/pages/unified_ec_services.rs b/src/pages/unified_ec_services.rs index d5e5f4c..3dd2ad4 100644 --- a/src/pages/unified_ec_services.rs +++ b/src/pages/unified_ec_services.rs @@ -10,23 +10,23 @@ use leptos::prelude::*; #[component] pub fn WindowsEcServices() -> impl IntoView { let links = vec![ - DocLink { - href: "https://opendevicepartnership.github.io/documentation/why/why.html", + DocLink { + href: "https://opendevicepartnership.github.io/documentation/guide/why/why.html", title: "Why ODP?", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/welcome.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/getting_started.html", title: "Getting Started with ODP", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/intro/tutorial/tutorial.html", + href: "https://opendevicepartnership.github.io/documentation/guide/intro/welcome.html", title: "Tutorials", external: true, }, DocLink { - href: "https://opendevicepartnership.github.io/documentation/specs/specifications.html", + href: "https://opendevicepartnership.github.io/documentation/guide/specs/specifications.html", title: "Specifications", external: true, }, From a38a4e6cfa8a70742d4cad035e823c64faea309e Mon Sep 17 00:00:00 2001 From: Jeff Glaum Date: Tue, 19 Aug 2025 10:22:57 -0700 Subject: [PATCH 2/2] fix cargo format errors --- src/pages/home.rs | 2 +- src/pages/projects.rs | 2 +- src/pages/unified_ec_services.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/home.rs b/src/pages/home.rs index 68690b1..97f02cf 100644 --- a/src/pages/home.rs +++ b/src/pages/home.rs @@ -10,7 +10,7 @@ use leptos::prelude::*; pub fn Home() -> impl IntoView { // Documentation links for the DocumentationTraining section let links = vec![ - DocLink { + DocLink { href: "https://opendevicepartnership.github.io/documentation/guide/why/why.html", title: "Why ODP?", external: true, diff --git a/src/pages/projects.rs b/src/pages/projects.rs index 948de24..4ec5f01 100644 --- a/src/pages/projects.rs +++ b/src/pages/projects.rs @@ -9,7 +9,7 @@ use leptos::prelude::*; #[component] pub fn Projects() -> impl IntoView { let links = vec![ - DocLink { + DocLink { href: "https://opendevicepartnership.github.io/documentation/guide/why/why.html", title: "Why ODP?", external: true, diff --git a/src/pages/unified_ec_services.rs b/src/pages/unified_ec_services.rs index 3dd2ad4..135a7d8 100644 --- a/src/pages/unified_ec_services.rs +++ b/src/pages/unified_ec_services.rs @@ -10,7 +10,7 @@ use leptos::prelude::*; #[component] pub fn WindowsEcServices() -> impl IntoView { let links = vec![ - DocLink { + DocLink { href: "https://opendevicepartnership.github.io/documentation/guide/why/why.html", title: "Why ODP?", external: true,