starting docs infra

This commit is contained in:
DecDuck
2024-10-25 13:15:46 +11:00
parent 733b035110
commit 513f962964
16 changed files with 1647 additions and 19 deletions
+29 -1
View File
@@ -1,9 +1,12 @@
import path from "path";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
// Nuxt-only config
compatibilityDate: "2024-04-03",
devtools: { enabled: false },
css: ["~/assets/core.scss"],
postcss: {
plugins: {
tailwindcss: {},
@@ -22,4 +25,29 @@ export default defineNuxtConfig({
websocket: true,
},
},
watchers: {
chokidar: {
ignored: ".data",
},
},
// Module config from here down
modules: ["@nuxt/content"],
content: {
api: {
baseURL: "/api/v1/_content",
},
markdown: {
anchorLinks: false,
},
sources: {
content: {
driver: "fs",
prefix: "/docs",
base: path.resolve(__dirname, "docs"),
},
},
},
});