Build and publish Eldorado documentation / build (pull_request) Successful in 32s
39 lines
1.6 KiB
TypeScript
39 lines
1.6 KiB
TypeScript
import type {Config} from '@docusaurus/types';
|
|
import type * as Preset from '@docusaurus/preset-classic';
|
|
|
|
const config: Config = {
|
|
title: 'Eldorado Powered By AI',
|
|
tagline: 'Strategy and direction for an AI-powered Eldorado.',
|
|
favicon: 'img/docs-mark.svg',
|
|
url: 'https://pages.apps.lego-cloud.eu',
|
|
baseUrl: '/eldorado-v1/documentation/',
|
|
organizationName: 'eldorado-v1',
|
|
projectName: 'documentation',
|
|
trailingSlash: true,
|
|
onBrokenLinks: 'throw',
|
|
markdown: {hooks: {onBrokenMarkdownLinks: 'throw'}},
|
|
presets: [['classic', {
|
|
docs: {sidebarPath: './sidebars.ts', routeBasePath: 'docs', editUrl: 'https://gitea.lego-cloud.eu/eldorado-v1/documentation/_edit/main/'},
|
|
blog: false,
|
|
theme: {customCss: './src/css/custom.css'},
|
|
} satisfies Preset.Options]],
|
|
themes: [['@easyops-cn/docusaurus-search-local', {
|
|
hashed: 'filename', indexDocs: true, indexBlog: false, indexPages: true,
|
|
docsRouteBasePath: 'docs', language: ['en'], highlightSearchTermsOnTargetPage: true,
|
|
}]],
|
|
themeConfig: {
|
|
colorMode: {defaultMode: 'light', respectPrefersColorScheme: true},
|
|
navbar: {
|
|
title: 'Eldorado', logo: {alt: 'Documentation home', src: 'img/docs-mark.svg'},
|
|
items: [
|
|
{to: '/docs/overview/', label: 'Documentation', position: 'left'},
|
|
{to: '/docs/maintain/', label: 'Maintainer guide', position: 'left'},
|
|
{href: 'https://gitea.lego-cloud.eu/eldorado-v1/documentation', label: 'Repository', position: 'right'},
|
|
],
|
|
},
|
|
footer: {style: 'dark', copyright: 'Eldorado Powered By AI · Strategy and direction'},
|
|
docs: {sidebar: {hideable: true}},
|
|
} satisfies Preset.ThemeConfig,
|
|
};
|
|
export default config;
|