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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

15 changes: 11 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@ import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
import sitemap from '@astrojs/sitemap';
import starlight from '@astrojs/starlight';
import vercel from '@astrojs/vercel';

import mdx from '@astrojs/mdx';

// https://astro.build/config
export default defineConfig({
output: 'server',
adapter: vercel({
webAnalytics: {
enabled: true,
},
}),
// https://docs.astro.build/en/guides/images/#authorizing-remote-images
site: 'https://screwfast.uk',
site: 'https://r3actr.work',
image: {
domains: ['images.unsplash.com'],
},
Expand All @@ -34,7 +41,7 @@ export default defineConfig({
},
}),
starlight({
title: 'ScrewFast Docs',
title: 'R3ACTR Docs',
// https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md
// If no Astro and Starlight i18n configurations are provided, the built-in default locale is used in Starlight and a matching Astro i18n configuration is generated/used.
// If only a Starlight i18n configuration is provided, an equivalent Astro i18n configuration is generated/used.
Expand Down Expand Up @@ -104,14 +111,14 @@ export default defineConfig({
tag: 'meta',
attrs: {
property: 'og:image',
content: 'https://screwfast.uk' + '/social.webp',
content: 'https://r3actr.work' + '/social.png',
},
},
{
tag: 'meta',
attrs: {
property: 'twitter:image',
content: 'https://screwfast.uk' + '/social.webp',
content: 'https://r3actr.work' + '/social.png',
},
},
],
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@
},
"dependencies": {
"@astrojs/check": "^0.9.9",
"@astrojs/mdx": "^5.0.6",
"@astrojs/mdx": "^6.0.3",
"@astrojs/sitemap": "^3.7.3",
"@astrojs/starlight": "^0.39.3",
"@astrojs/vercel": "^10.0.8",
"@tailwindcss/vite": "^4.3.0",
"@vercel/analytics": "^2.0.1",
"astro": "^6.4.4",
"clipboard": "^2.0.11",
"globby": "^16.2.0",
Expand Down
Loading