corp build fix
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
/src/.vitepress/cache
|
||||
/src/.vitepress/dist
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
"docs:build": "vitepress build src",
|
||||
"docs:preview": "vitepress preview src"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user