Skip to content

Commit cc55972

Browse files
committed
fix: correct base path to /lore-docs/ for GitHub Pages
1 parent 8fa5509 commit cc55972

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Public documentation for the [Lore](https://github.com/lorehq/lore) agentic coding tool harness.
44

5-
**Live Site:** [https://lorehq.github.io/lore/](https://lorehq.github.io/lore/)
5+
**Live Site:** [https://lorehq.github.io/lore-docs/](https://lorehq.github.io/lore-docs/)
66

77
## Tech Stack
88

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import sitemap from '@astrojs/sitemap';
77
// https://astro.build/config
88
export default defineConfig({
99
site: 'https://lorehq.github.io',
10-
base: '/lore/',
10+
base: '/lore-docs/',
1111
devToolbar: {
1212
enabled: false
1313
},

src/layouts/TuiLayout.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ const topReference = sortByOrder(referenceRaw.filter(e => !e.id.includes('/')),
8888
</head>
8989
<body class="h-screen w-screen p-1 box-border flex flex-col gap-0 overflow-hidden bg-tui-bg text-tui-fg select-none">
9090
<header class="h-5 flex items-center px-0 gap-2 text-xs">
91-
<a href="/lore/" class={`tui-tab ${title === 'About' ? 'active' : ''}`}>Home</a>
92-
<a href="/lore/reference/databank" class={`tui-tab ${title === 'Databank' ? 'active' : ''}`}>Installation</a>
91+
<a href="/lore-docs/" class={`tui-tab ${title === 'About' ? 'active' : ''}`}>Home</a>
92+
<a href="/lore-docs/reference/databank" class={`tui-tab ${title === 'Databank' ? 'active' : ''}`}>Installation</a>
9393
</header>
9494
<div class="flex flex-1 gap-2 overflow-hidden">
9595
<!-- Navigation Panel -->
@@ -98,15 +98,15 @@ const topReference = sortByOrder(referenceRaw.filter(e => !e.id.includes('/')),
9898
<div class="relative border border-tui-border-inactive p-2 pt-4 flex flex-col gap-1 w-full">
9999
<span class="absolute -top-2.5 left-2 bg-tui-bg px-1 text-[11px] font-bold text-tui-accent tracking-tighter">Architecture</span>
100100
{explanation.map(entry => (
101-
<a href={`/lore/explanation/${entry.id.replace(/\.[^/.]+$/, "")}`} class="py-0.5 px-2 hover:bg-tui-selected-bg hover:text-white block truncate transition-none">{entry.data.title}</a>
101+
<a href={`/lore-docs/explanation/${entry.id.replace(/\.[^/.]+$/, "")}`} class="py-0.5 px-2 hover:bg-tui-selected-bg hover:text-white block truncate transition-none">{entry.data.title}</a>
102102
))}
103103
</div>
104104

105105
<!-- Reference Section -->
106106
<div class="relative border border-tui-border-inactive p-2 pt-4 flex flex-col gap-1 w-full">
107107
<span class="absolute -top-2.5 left-2 bg-tui-bg px-1 text-[11px] font-bold text-tui-accent tracking-tighter">Reference</span>
108108
{topReference.map(entry => (
109-
<a href={`/lore/reference/${entry.id.replace(/\.[^/.]+$/, "")}`} class="py-0.5 px-2 hover:bg-tui-selected-bg hover:text-white block truncate transition-none">{entry.data.title}</a>
109+
<a href={`/lore-docs/reference/${entry.id.replace(/\.[^/.]+$/, "")}`} class="py-0.5 px-2 hover:bg-tui-selected-bg hover:text-white block truncate transition-none">{entry.data.title}</a>
110110
))}
111111
</div>
112112
</aside>

src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ String.raw` _
2020

2121
<div class="flex flex-col gap-1 mb-8 text-[12px]">
2222
<div class="text-tui-fg"><span class="w-16 inline-block">GitHub:</span> <a href="https://github.com/lorehq/lore" class="text-tui-accent">https://github.com/lorehq/lore</a></div>
23-
<div class="text-tui-fg"><span class="w-16 inline-block">Issues:</span> <a href="https://github.com/lorehq/lore/issues" class="text-tui-accent">https://github.com/lorehq/lore/issues</a></div>
23+
<div class="text-tui-fg"><span class="w-16 inline-block">Issues:</span> <a href="https://github.com/lorehq/lore-docs/issues" class="text-tui-accent">https://github.com/lorehq/lore-docs/issues</a></div>
2424
</div>
2525

2626
</Layout>

0 commit comments

Comments
 (0)