From 21c6869f402f91cc9e3df69ecc3e74269de94a14 Mon Sep 17 00:00:00 2001 From: thephez Date: Mon, 3 Aug 2026 13:41:06 -0400 Subject: [PATCH] fix(dashrate): point tutorial resource links at published docs The Identities, Contracts, and Tokens resource entries linked to `../../N-.../` relative paths into the raw tutorial source tree, which is never deployed alongside the built example apps. On the live site those resolved to a non-existent path and 404'd. Repoint them at their canonical docs.dash.org tutorial landing pages, matching the existing absolute-URL `intro` entry. Applied to both the React catalog and the single-file lite build. --- example-apps/dashrate/public/dashrate-lite.html | 6 +++--- example-apps/dashrate/src/catalog/resources.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example-apps/dashrate/public/dashrate-lite.html b/example-apps/dashrate/public/dashrate-lite.html index 36fc1b1a..fdfe4552 100644 --- a/example-apps/dashrate/public/dashrate-lite.html +++ b/example-apps/dashrate/public/dashrate-lite.html @@ -157,21 +157,21 @@

Recent reviews

title: 'Identities and Names', category: 'Tutorial', summary: 'Create identities, fund them, and register DPNS names.', - href: '../../1-Identities-and-Names/', + href: 'https://docs.dash.org/projects/platform/en/stable/docs/tutorials/identities-and-names.html', }, { id: 'contracts-documents', title: 'Contracts and Documents', category: 'Tutorial', summary: 'Register contracts and submit, query, update, and delete documents.', - href: '../../2-Contracts-and-Documents/', + href: 'https://docs.dash.org/projects/platform/en/stable/docs/tutorials/contracts-and-documents.html', }, { id: 'tokens', title: 'Tokens', category: 'Tutorial', summary: 'Register, mint, transfer, and burn Platform tokens.', - href: '../../3-Tokens/', + href: 'https://docs.dash.org/projects/platform/en/stable/docs/tutorials/tokens.html', }, { id: 'dashnote', diff --git a/example-apps/dashrate/src/catalog/resources.ts b/example-apps/dashrate/src/catalog/resources.ts index a321d845..0bcd0a24 100644 --- a/example-apps/dashrate/src/catalog/resources.ts +++ b/example-apps/dashrate/src/catalog/resources.ts @@ -19,7 +19,7 @@ export const RESOURCES: RatedResource[] = [ title: "Identities and Names", category: "Tutorial", summary: "Create identities, fund them, and register DPNS names.", - href: "../../1-Identities-and-Names/", + href: "https://docs.dash.org/projects/platform/en/stable/docs/tutorials/identities-and-names.html", }, { id: "contracts-documents", @@ -27,14 +27,14 @@ export const RESOURCES: RatedResource[] = [ category: "Tutorial", summary: "Register contracts and submit, query, update, and delete documents.", - href: "../../2-Contracts-and-Documents/", + href: "https://docs.dash.org/projects/platform/en/stable/docs/tutorials/contracts-and-documents.html", }, { id: "tokens", title: "Tokens", category: "Tutorial", summary: "Register, mint, transfer, and burn Platform tokens.", - href: "../../3-Tokens/", + href: "https://docs.dash.org/projects/platform/en/stable/docs/tutorials/tokens.html", }, { id: "dashnote",