fix(site): drop the external arrow from the Docs nav link (#62426)

This commit is contained in:
Dax
2026-11-06 15:53:28 -05:00
committed by GitHub
Unverified
parent 91202e6faf
commit 2c04aa01de
+2 -2
View File
@@ -10,8 +10,8 @@ export function siteLinks(t: Translate, route: (path: string) => string) {
// show by default). Design mode reorders, hides and renames them (settings navConfig); the links
// stay fixed. Items that leave the site carry the arrow.
nav: [
// Demo: points at the docs mock in this branch instead of the live docs site.
{ id: "docs", label: t("nav.docs"), href: route(docsUrl()), arrow: true },
// The docs live on this site under /docs, so no arrow.
{ id: "docs", label: t("nav.docs"), href: route(docsUrl()) },
{ id: "products", label: t("site.nav.product"), href: route("/product") },
// Settings › Product nav demo sends Data and Console to their header demos instead.
{ id: "data", label: t("nav.data"), href: route("/data"), demo: route("/data-demo"), arrow: true },