Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';

// Local dev defaults to root path; production keeps GitHub Pages subpath.
const isProduction = process.env.NODE_ENV === 'production';
const docsBase = process.env.DOCS_BASE ?? '/';

// https://astro.build/config
export default defineConfig({
site: 'https://hey-granth.github.io',
base: docsBase,
site: 'https://codectx.granth.tech',
integrations: [
starlight({
title: 'codectx',
Expand Down Expand Up @@ -71,4 +65,4 @@ export default defineConfig({
],
}),
],
});
});
File renamed without changes.
Loading
Loading