- 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.
42 lines
608 B
TypeScript
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'
|
|
});
|