From 9e738d30bbd936455ab20baf4faadbf4f3020d39 Mon Sep 17 00:00:00 2001 From: Johnny Bouder Date: Wed, 26 Aug 2026 12:45:59 -0400 Subject: [PATCH] docs: point the header GitHub icon at this repo Bump @nebari/starlight to ^0.3.0 and pass its new githubHref option so the docs header GitHub icon opens this pack's repository instead of the nebari-dev org. The header logo keeps linking to the packs portal. Co-Authored-By: Claude Fable 5 --- docs/astro.config.mjs | 12 +++++++++--- docs/package-lock.json | 8 ++++---- docs/package.json | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index dfe35af..db4fdbf 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -23,9 +23,15 @@ export default defineConfig({ description: 'Extends Nebari’s JupyterHub stack with a Pi coding-agent workflow: launcher service, named-server profiles, and a browser terminal.', // Shared Nebari identity (brand colors, fonts, logo, favicon, footer, and - // GitHub social link) comes from the @nebari/starlight theme plugin. On the - // portal the header logo returns users to the pack catalog. - plugins: [nebari({ logoHref: 'https://packs.nebari.dev/' })], + // GitHub social link) comes from the @nebari/starlight theme plugin. The + // header logo returns users to the pack catalog and the GitHub icon + // opens this pack's repository. + plugins: [ + nebari({ + logoHref: 'https://packs.nebari.dev/', + githubHref: 'https://github.com/nebari-dev/pi-coding-agent-pack', + }), + ], editLink: { // Starlight appends the source path (src/content/docs/.md) to this // base, so it must point at the Astro project root inside the repo. diff --git a/docs/package-lock.json b/docs/package-lock.json index 322cca7..1ad1ec5 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.1", "dependencies": { "@astrojs/starlight": "^0.41.0", - "@nebari/starlight": "^0.2.1", + "@nebari/starlight": "^0.3.0", "astro": "^7.0.6", "sharp": "^0.34.5", "unist-util-visit": "^5.1.0" @@ -1813,9 +1813,9 @@ } }, "node_modules/@nebari/starlight": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@nebari/starlight/-/starlight-0.2.1.tgz", - "integrity": "sha512-XvpOJVlBwT1xhSpyqStNncBGuqowpWuqXpZwtv8xrOBCjz2VPNw2R4cchezb66lTHWqE5oohyTyOL3YrR+TBLw==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@nebari/starlight/-/starlight-0.3.0.tgz", + "integrity": "sha512-c7GXiRJrr+pac5kOTxvDI20eGWapet03gMyCQQJLt0n1oTqylTWcMLcN/JzCH4saQtm+RYz2tcbcseDE9CVCqw==", "license": "Apache-2.0", "peerDependencies": { "@astrojs/starlight": ">=0.33.0 <1.0.0", diff --git a/docs/package.json b/docs/package.json index a177693..17b3ce0 100644 --- a/docs/package.json +++ b/docs/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/starlight": "^0.41.0", - "@nebari/starlight": "^0.2.1", + "@nebari/starlight": "^0.3.0", "astro": "^7.0.6", "sharp": "^0.34.5", "unist-util-visit": "^5.1.0"