Skip to content

Commit

Permalink
feat: add sitemap and more social links
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkflame72 committed Dec 12, 2024
1 parent 124a046 commit 22161b0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
13 changes: 6 additions & 7 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,10 @@ import { defineConfig } from 'astro/config';
import rehypeMathjax from 'rehype-mathjax';
import remarkMath from 'remark-math';
import starlightLinksValidator from 'starlight-links-validator';
import sitemap from '@astrojs/sitemap';

// https://astro.build/config
export default defineConfig({
vite: {
server: {
watch: {
usePolling: true,
},
},
},
site: 'https://wiki.tuhuratech.org.nz/',
integrations: [
starlight({
Expand All @@ -32,6 +26,10 @@ export default defineConfig({
mastodon: 'https://mastodon.nzoss.nz/@tuhuratech',
discord: 'https://discord.gg/PNxh7cwKfQ',
github: 'https://github.com/Tuhura-Tech/Wiki',
instagram: 'https://www.instagram.com/tuhura_tech',
facebook: 'https://www.facebook.com/p/T%C5%ABhura-Tech-100083052084710/',
linkedin: 'https://www.linkedin.com/company/tuhuratech',
email: 'mailto:[email protected]',
},
customCss: [
// Relative path to your custom CSS file
Expand Down Expand Up @@ -212,6 +210,7 @@ export default defineConfig({
MobileTableOfContents: './src/components/starlight/MobileTableOfContents.astro',
},
}),
sitemap(),
],
markdown: {
remarkPlugins: [remarkMath],
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"dependencies": {
"@astrojs/cloudflare": "^12.0.0",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/starlight": "^0.29.0",
"@astrojs/starlight-tailwind": "^2.0.1",
"@astrojs/tailwind": "^5.1.0",
Expand All @@ -23,19 +24,19 @@
"tailwindcss": "^3.4.0"
},
"devDependencies": {
"@astrojs/check": "0.9.4",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.57.1",
"eslint-plugin-astro": "1.3.1",
"eslint-plugin-react": "7.37.2",
"hast-util-from-html": "2.0.3",
"hast-util-to-string": "3.0.1",
"hastscript": "9.0.0",
"rehype": "13.0.2",
"unist-util-visit": "5.0.0",
"prettier": "3.4.2",
"prettier-plugin-astro": "0.14.1",
"eslint": "8.57.1",
"eslint-plugin-astro": "1.3.1",
"@astrojs/check": "0.9.4",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint-plugin-react": "7.37.2"
"rehype": "13.0.2",
"unist-util-visit": "5.0.0"
},
"packageManager": "[email protected]"
}
5 changes: 4 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22161b0

Please sign in to comment.