Manuel Bustillo
4aa5ed26f4
All checks were successful
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 2m47s
118 lines
2.9 KiB
TypeScript
118 lines
2.9 KiB
TypeScript
import {themes as prismThemes} from 'prism-react-renderer';
|
|
import type {Config} from '@docusaurus/types';
|
|
import type * as Preset from '@docusaurus/preset-classic';
|
|
|
|
const config: Config = {
|
|
title: 'Libre Wedding Planner',
|
|
tagline: 'Free and open-source wedding planning software to organize your wedding',
|
|
favicon: 'img/favicon.ico',
|
|
|
|
url: 'https://libreweddingplanner.org',
|
|
baseUrl: '/',
|
|
|
|
organizationName: 'bustikiller',
|
|
projectName: 'wedding-planner-website',
|
|
|
|
onBrokenLinks: 'throw',
|
|
onBrokenMarkdownLinks: 'warn',
|
|
|
|
i18n: {
|
|
defaultLocale: 'en',
|
|
locales: ['en'],
|
|
},
|
|
|
|
presets: [
|
|
[
|
|
'classic',
|
|
{
|
|
docs: {
|
|
sidebarPath: './sidebars.ts',
|
|
editUrl:
|
|
'https://gitea.bustikiller.com/bustikiller/wedding-planner-website/src/branch/main/',
|
|
},
|
|
blog: {
|
|
showReadingTime: true,
|
|
feedOptions: {
|
|
type: ['rss', 'atom'],
|
|
xslt: true,
|
|
},
|
|
editUrl:
|
|
'https://gitea.bustikiller.com/bustikiller/wedding-planner-website/',
|
|
onInlineTags: 'warn',
|
|
onInlineAuthors: 'warn',
|
|
onUntruncatedBlogPosts: 'warn',
|
|
},
|
|
theme: {
|
|
customCss: './src/css/custom.css',
|
|
},
|
|
} satisfies Preset.Options,
|
|
],
|
|
],
|
|
|
|
themeConfig: {
|
|
image: 'img/logo.png',
|
|
navbar: {
|
|
title: 'Libre Wedding Planner',
|
|
logo: {
|
|
alt: 'Libre Wedding Planner Logo',
|
|
src: 'img/logo.png',
|
|
},
|
|
items: [
|
|
{
|
|
type: 'docSidebar',
|
|
sidebarId: 'tutorialSidebar',
|
|
position: 'left',
|
|
label: 'Documentation',
|
|
},
|
|
],
|
|
},
|
|
footer: {
|
|
style: 'dark',
|
|
links: [
|
|
{
|
|
title: 'Resources',
|
|
items: [
|
|
{
|
|
label: 'Documentation',
|
|
to: '/docs/intro',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Source code',
|
|
items: [
|
|
{
|
|
label: 'Backend',
|
|
href: 'https://gitea.bustikiller.com/bustikiller/wedding-planner/',
|
|
},
|
|
{
|
|
label: 'Frontend',
|
|
href: 'https://gitea.bustikiller.com/bustikiller/wedding-planner-frontend/',
|
|
},
|
|
{
|
|
label: 'Website',
|
|
href: 'https://gitea.bustikiller.com/bustikiller/wedding-planner-website/',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Give feedback',
|
|
items: [
|
|
{
|
|
label: 'Request a feature',
|
|
href: 'https://my.liberaforms.org/libreweddingplanner-feature-request'
|
|
},
|
|
],
|
|
}
|
|
],
|
|
copyright: `Copyright © ${new Date().getFullYear()} Manuel Bustillo. Built with Docusaurus.`,
|
|
},
|
|
prism: {
|
|
theme: prismThemes.github,
|
|
darkTheme: prismThemes.dracula,
|
|
},
|
|
} satisfies Preset.ThemeConfig,
|
|
};
|
|
|
|
export default config;
|