Skip to content

Commit

Permalink
Remove version selector
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed May 28, 2024
1 parent a2f197f commit 38cebef
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 139 deletions.
4 changes: 1 addition & 3 deletions packages/docs/astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import starlight from '@astrojs/starlight';
import { defineConfig } from 'astro/config';
import remarkDirective from 'remark-directive';
import { base } from './config.js';
import { fixInternalLinks } from './remark/fixInternalLinks.ts';
import { transformDirectives } from './remark/transformDirectives.ts';
import type { ExpressiveCodeTheme } from '@astrojs/starlight/expressive-code';
Expand All @@ -13,7 +12,7 @@ const setForeground = (theme: ExpressiveCodeTheme, scope: string, value: string)

export default defineConfig({
site: 'https://knip.dev',
base,
base: '/',
// @ts-expect-error TODO
sitemap: false,
trailingSlash: 'never',
Expand All @@ -35,7 +34,6 @@ export default defineConfig({
},
components: {
Head: './src/components/Head.astro',
Header: './src/components/Header.astro',
Footer: './src/components/Footer.astro',
},
customCss: ['./src/styles/custom.css', './src/fonts/font-face.css'],
Expand Down
9 changes: 0 additions & 9 deletions packages/docs/config.ts

This file was deleted.

114 changes: 0 additions & 114 deletions packages/docs/src/components/Header.astro

This file was deleted.

13 changes: 0 additions & 13 deletions packages/docs/vercel.json

This file was deleted.

0 comments on commit 38cebef

Please sign in to comment.