mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 06:22:45 -08:00
- Add mining-workflow.md: end-to-end sentence mining guide - Add anki-integration.md: AnkiConnect setup, field mapping, media generation, field grouping - Add mpv-plugin.md: chord keybindings, subminer.conf options, script messages - Add troubleshooting.md: common issues and solutions by category - Rewrite architecture.md to reflect current ~1,400-line main.ts and ~35 services - Expand development.md from ~25 lines to full dev guide - Fix URLs to ksyasuda/SubMiner, version to v0.1.0, AppImage naming - Update VitePress sidebar with three-group layout (Getting Started, Reference, Development) - Update navigation in index.md, README.md, docs/README.md - Remove obsolete planning artifacts (plan.md, investigation.md, comparison.md, composability.md, refactor-main-checklist.md)
61 lines
1.8 KiB
TypeScript
61 lines
1.8 KiB
TypeScript
const repositoryName = process.env.GITHUB_REPOSITORY?.split('/')[1];
|
|
const base = process.env.GITHUB_ACTIONS && repositoryName ? `/${repositoryName}/` : '/';
|
|
|
|
export default {
|
|
title: 'SubMiner Docs',
|
|
description: 'Documentation for SubMiner',
|
|
base,
|
|
appearance: 'dark',
|
|
cleanUrls: true,
|
|
lastUpdated: true,
|
|
markdown: {
|
|
theme: {
|
|
light: 'catppuccin-latte',
|
|
dark: 'catppuccin-macchiato',
|
|
},
|
|
},
|
|
themeConfig: {
|
|
logo: {
|
|
light: '/assets/SubMiner.png',
|
|
dark: '/assets/SubMiner.png',
|
|
},
|
|
siteTitle: 'SubMiner Docs',
|
|
nav: [
|
|
{ text: 'Docs', link: '/' },
|
|
{ text: 'Installation', link: '/installation' },
|
|
{ text: 'Usage', link: '/usage' },
|
|
{ text: 'Mining', link: '/mining-workflow' },
|
|
{ text: 'Configuration', link: '/configuration' },
|
|
{ text: 'Architecture', link: '/architecture' },
|
|
],
|
|
sidebar: [
|
|
{
|
|
text: 'Getting Started',
|
|
items: [
|
|
{ text: 'Overview', link: '/' },
|
|
{ text: 'Installation', link: '/installation' },
|
|
{ text: 'Usage', link: '/usage' },
|
|
{ text: 'Mining Workflow', link: '/mining-workflow' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Reference',
|
|
items: [
|
|
{ text: 'Configuration', link: '/configuration' },
|
|
{ text: 'Anki Integration', link: '/anki-integration' },
|
|
{ text: 'MPV Plugin', link: '/mpv-plugin' },
|
|
{ text: 'Troubleshooting', link: '/troubleshooting' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Development',
|
|
items: [
|
|
{ text: 'Development', link: '/development' },
|
|
{ text: 'Architecture', link: '/architecture' },
|
|
],
|
|
},
|
|
],
|
|
socialLinks: [{ icon: 'github', link: 'https://github.com/ksyasuda/SubMiner' }],
|
|
},
|
|
};
|