feat: bootstrap Eldorado documentation and Pages publication
Build and publish Eldorado documentation / build (push) Successful in 30s
Build and publish Eldorado documentation / build (push) Successful in 30s
This commit is contained in:
1 parent
dceabb9514
commit
98a0cb088f
17 files changed
+12749
-2
No files matched your search
@@ -0,0 +1,38 @@
|
||||
import type {Config} from '@docusaurus/types';
|
||||
import type * as Preset from '@docusaurus/preset-classic';
|
||||
|
||||
const config: Config = {
|
||||
title: 'Eldorado Documentation',
|
||||
tagline: 'A home for what comes next.',
|
||||
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 v1 · Documentation workspace · Purpose to be defined'},
|
||||
docs: {sidebar: {hideable: true}},
|
||||
} satisfies Preset.ThemeConfig,
|
||||
};
|
||||
export default config;
|
||||
Reference in new issue
Block a user