- 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.
35 lines
815 B
TypeScript
35 lines
815 B
TypeScript
const repoUrl =
|
|
process.env.DOCS_REPO_URL ||
|
|
'https://github.com/InnovativeDevSolutions/forge';
|
|
const repoBranch = process.env.DOCS_REPO_BRANCH || 'master';
|
|
const siteUrl =
|
|
process.env.DOCS_SITE_URL ||
|
|
'https://innovativedevsolutions.github.io';
|
|
|
|
export default defineAppConfig({
|
|
site: {
|
|
name: 'Forge Framework',
|
|
description:
|
|
'Persistent Arma 3 framework with Rust services, SurrealDB storage, and browser-backed client UIs.',
|
|
url: siteUrl,
|
|
socials: {
|
|
github: 'InnovativeDevSolutions/forge'
|
|
}
|
|
},
|
|
github: {
|
|
url: repoUrl,
|
|
branch: repoBranch,
|
|
rootDir: 'docus'
|
|
},
|
|
footer: {
|
|
credits: 'Copyright © 2025-2026 Forge Framework',
|
|
links: [
|
|
{
|
|
icon: 'simple-icons:github',
|
|
href: repoUrl,
|
|
target: '_blank'
|
|
}
|
|
]
|
|
}
|
|
});
|