Merge pull request #6324 from menloresearch/rp/docs-v0.6.9-1

hotfix: fixed home page hyperlink and extension gif
This commit is contained in:
Ramon Perez 2025-08-28 22:59:35 +10:00 committed by GitHub
commit f14d23d719
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 3 deletions

View File

@ -7,6 +7,11 @@
"layout": "raw" "layout": "raw"
} }
}, },
"docs": {
"type": "page",
"title": "Docs",
"display": "hidden"
},
"Documentation": { "Documentation": {
"type": "page", "type": "page",
"title": "Documentation", "title": "Documentation",

View File

@ -22,8 +22,20 @@ export default defineConfig({
}), }),
starlight({ starlight({
title: '👋 Jan', title: '👋 Jan',
favicon: 'jan2.png', favicon: 'jan2.png',
head: [
{
tag: 'script',
content: `
document.addEventListener('DOMContentLoaded', function() {
const logoLink = document.querySelector('a[href="/"]');
if (logoLink) {
logoLink.href = 'https://jan.ai';
}
});
`,
},
],
plugins: [ plugins: [
// starlightThemeRapide(), // starlightThemeRapide(),
starlightThemeNext(), starlightThemeNext(),

View File

@ -17,7 +17,7 @@ banner:
import { Aside, Card, CardGrid } from '@astrojs/starlight/components'; import { Aside, Card, CardGrid } from '@astrojs/starlight/components';
![Jan Browser Extension](/gifs/extension.png) ![Jan Browser Extension](/gifs/extension.gif)
## Your AI Models, Anywhere on the Web ## Your AI Models, Anywhere on the Web

View File

@ -15,7 +15,7 @@ keywords:
] ]
banner: banner:
content: | content: |
👋Jan now <a href="./multi-modal">supports image 🖼️ attachments</a> 🎉 👋Jan now <a href="../multi-modal">supports image 🖼️ attachments</a> 🎉
--- ---
import { Aside } from '@astrojs/starlight/components'; import { Aside } from '@astrojs/starlight/components';