NeoLaunch_From_Kvaesitso/docs/docusaurus.config.js

148 lines
3.9 KiB
JavaScript
Raw Normal View History

2022-10-09 22:20:15 +02:00
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require('prism-react-renderer/themes/github')
const darkCodeTheme = require('prism-react-renderer/themes/dracula')
/** @type {import('@docusaurus/types').Config} */
const config = {
2023-01-18 17:09:32 +01:00
title: 'Kvaesitso',
2022-10-10 11:58:02 +02:00
tagline: 'A search-focused, free and open source launcher for Android',
2022-10-09 22:20:15 +02:00
url: 'https://kvaesitso.mm20.de',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/ic_launcher.png',
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'MM2-0', // Usually your GitHub org/user name.
projectName: 'Kvaesitso', // Usually your repo name.
// Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
2022-10-09 22:47:20 +02:00
'https://github.com/MM2-0/Kvaesitso/tree/main/docs/',
2022-10-09 22:20:15 +02:00
},
blog: false,
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
}),
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
2023-01-18 17:09:32 +01:00
title: 'Kvaesitso',
2022-10-09 22:20:15 +02:00
logo: {
alt: 'App Icon',
src: 'img/ic_launcher.png',
},
items: [
{
type: 'doc',
docId: 'user-guide/index',
position: 'left',
label: 'User Guide',
},
{
type: 'doc',
docId: 'developer-guide/index',
position: 'left',
label: 'Developer Guide',
},
{
type: 'doc',
docId: 'contributor-guide/index',
position: 'left',
label: 'Contributor Guide',
},
{
href: 'https://github.com/MM2-0/Kvaesitso',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Documentation',
items: [
{
label: 'User guide',
to: '/docs/user-guide',
},
{
label: 'Developer guide',
to: '/docs/developer-guide',
},
{
label: 'Contributor guide',
to: '/docs/contributor-guide',
},
],
},
{
title: 'Legal',
items: [
{
label: 'Privacy policy',
to: '/privacy-policy',
},
{
label: 'License',
href: '/license',
},
],
},
{
title: 'Links',
items: [
{
label: 'GitHub',
href: 'https://github.com/MM2-0/Kvaesitso',
},
{
label: 'Telegram',
href: 'https://t.me/Kvaesitso',
},
2022-10-11 16:37:46 +02:00
{
label: 'LOS Legacy',
href: 'https://forum.los-legacy.de/forum/thread/12-app-launcher-kv%C3%A6sitso/',
},
2022-10-09 22:20:15 +02:00
],
},
],
2023-01-18 17:09:32 +01:00
copyright: `Copyright © ${new Date().getFullYear()} MM2-0 and the Kvaesitso contributors. Built with Docusaurus.`,
2022-10-09 22:20:15 +02:00
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
colorMode: {
respectPrefersColorScheme: true
},
}),
}
module.exports = config