docs(analytics): add analytics to docs

This commit is contained in:
thomas
2023-09-25 20:51:03 +02:00
parent fac946ff6a
commit 6528755e2f
3 changed files with 14 additions and 0 deletions

View File

@@ -1,8 +1,15 @@
import starlight from '@astrojs/starlight';
import vercel from '@astrojs/vercel/serverless';
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({
output: 'server',
adapter: vercel({
webAnalytics: {
enabled: true,
},
}),
integrations: [
starlight({
title: 'Angular Challenges',