Skip to content

Commit 1417373

Browse files
committed
docs: fixed astro dependency issues
1 parent 2b04b2e commit 1417373

File tree

6 files changed

+446
-11322
lines changed

6 files changed

+446
-11322
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

docs/astro.config.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import starlight from '@astrojs/starlight';
33

44
// Local dev defaults to root path; production keeps GitHub Pages subpath.
55
const isProduction = process.env.NODE_ENV === 'production';
6-
const docsBase = process.env.DOCS_BASE ?? (isProduction ? '/codectx' : '/');
6+
const docsBase = process.env.DOCS_BASE ?? '/';
77

88
// https://astro.build/config
99
export default defineConfig({
@@ -12,9 +12,9 @@ export default defineConfig({
1212
integrations: [
1313
starlight({
1414
title: 'codectx',
15-
social: {
16-
github: 'https://github.com/hey-granth/codectx',
17-
},
15+
social: [
16+
{ icon: 'github', label: 'GitHub', href: 'https://github.com/hey-granth/codectx' },
17+
],
1818
sidebar: [
1919
{
2020
label: 'Introduction',

0 commit comments

Comments
 (0)