forge/docus/nuxt.config.ts
Jacob Schmidt 827f3303a2 feat: add initial Docus setup and sync tool for documentation generation
- Created package.json for Docus with necessary scripts and dependencies.
- Implemented sync-docus-docs.mjs to automate the generation of documentation files from source markdown.
- Defined mappings for generated pages and virtual routes to ensure proper linking in documentation.
- Added static content files for the documentation structure, including navigation and index pages.
2026-04-21 16:07:27 -05:00

42 lines
608 B
TypeScript

const baseURL =
process.env.DOCS_BASE_URL ||
(process.env.NODE_ENV === 'production' ? '/forge/' : '/');
const siteUrl =
process.env.DOCS_SITE_URL ||
'https://innovativedevsolutions.github.io';
export default defineNuxtConfig({
extends: ['docus'],
site: {
url: siteUrl
},
llms: {
domain: siteUrl
},
robots: {
robotsTxt: false
},
app: {
baseURL,
buildAssetsDir: '/_nuxt/'
},
nitro: {
preset: 'static',
prerender: {
crawlLinks: true,
routes: ['/']
}
},
devtools: {
enabled: false
},
compatibilityDate: '2026-04-21'
});