corp build fix

This commit is contained in:
tim
2025-02-17 11:02:48 -04:00
parent 9f0a4b3cca
commit 7d8dc550ba
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
/src/.vitepress/cache
/src/.vitepress/dist

View File

@@ -12,4 +12,4 @@
"docs:build": "vitepress build src",
"docs:preview": "vitepress preview src"
}
}
}

View File

@@ -11,7 +11,7 @@ export default defineConfig({
[ 'link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],
[ 'link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Victor+Mono:ital,wght@0,100..700;1,100..700&display=swap' }],
],
transformHead() {
transformHead({assets}) {
// put the path of local assets into the <head>
let fontFile = assets.find(file => /forgotten_futurist\.\w+\.ttf/.test(file))
// adjust the regex accordingly for new fonts
@@ -81,6 +81,7 @@ export default defineConfig({
},
},
// FFS I cannot stop markdown-it from rendering (c) as ©
markdown: {
config: (md) => {
md.disable(['replacements'], false)