mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-27 18:22:41 -08:00
48 lines
1.3 KiB
TypeScript
48 lines
1.3 KiB
TypeScript
const repositoryName = process.env.GITHUB_REPOSITORY?.split('/')[1];
|
|
const base = process.env.GITHUB_ACTIONS && repositoryName ? `/${repositoryName}/` : '/';
|
|
|
|
export default {
|
|
title: 'SubMiner',
|
|
description: 'Documentation for SubMiner',
|
|
base,
|
|
appearance: 'dark',
|
|
cleanUrls: true,
|
|
lastUpdated: true,
|
|
markdown: {
|
|
theme: {
|
|
light: 'catppuccin-latte',
|
|
dark: 'catppuccin-macchiato',
|
|
},
|
|
},
|
|
themeConfig: {
|
|
logo: '/assets/SubMiner.png',
|
|
nav: [
|
|
{ text: 'Docs', link: '/' },
|
|
{ text: 'Installation', link: '/installation' },
|
|
{ text: 'Usage', link: '/usage' },
|
|
{ text: 'Configuration', link: '/configuration' },
|
|
{ text: 'Development', link: '/development' },
|
|
{ text: 'Architecture', link: '/architecture' },
|
|
],
|
|
sidebar: [
|
|
{
|
|
text: 'Getting Started',
|
|
items: [
|
|
{ text: 'Overview', link: '/' },
|
|
{ text: 'Installation', link: '/installation' },
|
|
{ text: 'Usage', link: '/usage' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Reference',
|
|
items: [
|
|
{ text: 'Configuration', link: '/configuration' },
|
|
{ text: 'Development', link: '/development' },
|
|
{ text: 'Architecture', link: '/architecture' },
|
|
],
|
|
},
|
|
],
|
|
socialLinks: [{ icon: 'github', link: 'https://github.com/ksyasuda/SubMiner' }],
|
|
},
|
|
};
|