103 lines
1.8 KiB
TypeScript
Executable File
103 lines
1.8 KiB
TypeScript
Executable File
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
app: {
|
|
baseURL: "/kompose/",
|
|
},
|
|
modules: [
|
|
"@nuxt/eslint",
|
|
"@nuxt/image",
|
|
"@nuxt/ui",
|
|
"@nuxt/content",
|
|
"nuxt-og-image",
|
|
"nuxt-llms",
|
|
],
|
|
|
|
// content: {
|
|
// build: {
|
|
// markdown: {
|
|
// // Object syntax can be used to override default options
|
|
// remarkPlugins: {
|
|
// // Override remark-emoji options
|
|
// 'remark-emoji': {
|
|
// options: {
|
|
// emoticon: true
|
|
// }
|
|
// },
|
|
// // Disable remark-gfm
|
|
// 'remark-gfm': false,
|
|
// // Add remark-oembed
|
|
// 'remark-oembed': {
|
|
// // Options
|
|
// }
|
|
// },
|
|
// }
|
|
// }
|
|
// },
|
|
|
|
devtools: {
|
|
enabled: false,
|
|
},
|
|
|
|
css: ["~/assets/css/main.css"],
|
|
|
|
content: {
|
|
build: {
|
|
markdown: {
|
|
toc: {
|
|
searchDepth: 1,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
compatibilityDate: "2024-07-11",
|
|
|
|
nitro: {
|
|
prerender: {
|
|
routes: ["/"],
|
|
crawlLinks: true,
|
|
autoSubfolderIndex: false,
|
|
},
|
|
},
|
|
|
|
eslint: {
|
|
config: {
|
|
stylistic: {
|
|
commaDangle: "never",
|
|
braceStyle: "1tbs",
|
|
},
|
|
},
|
|
},
|
|
|
|
icon: {
|
|
provider: "iconify",
|
|
},
|
|
|
|
llms: {
|
|
domain: "https://docs-template.nuxt.dev/",
|
|
title: "Nuxt Docs Template",
|
|
description:
|
|
"A template for building documentation with Nuxt UI and Nuxt Content.",
|
|
full: {
|
|
title: "Nuxt Docs Template - Full Documentation",
|
|
description: "This is the full documentation for the Nuxt Docs Template.",
|
|
},
|
|
sections: [
|
|
{
|
|
title: "Getting Started",
|
|
contentCollection: "docs",
|
|
contentFilters: [
|
|
{ field: "path", operator: "LIKE", value: "/getting-started%" },
|
|
],
|
|
},
|
|
{
|
|
title: "Essentials",
|
|
contentCollection: "docs",
|
|
contentFilters: [
|
|
{ field: "path", operator: "LIKE", value: "/essentials%" },
|
|
],
|
|
},
|
|
],
|
|
},
|
|
});
|