-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add sitemap and more social links
- Loading branch information
1 parent
124a046
commit 22161b0
Showing
3 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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({ | ||
|
@@ -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 | ||
|
@@ -212,6 +210,7 @@ export default defineConfig({ | |
MobileTableOfContents: './src/components/starlight/MobileTableOfContents.astro', | ||
}, | ||
}), | ||
sitemap(), | ||
], | ||
markdown: { | ||
remarkPlugins: [remarkMath], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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]" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.