mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
- Implemented the CliViewerPage component for displaying CLI outputs in a configurable multi-pane layout. - Integrated Zustand for state management, allowing for dynamic layout changes and tab management. - Added layout options: single, split horizontal, split vertical, and 2x2 grid. - Created viewerStore for managing layout, panes, and tabs, including actions for adding/removing panes and tabs. - Added CoordinatorPage barrel export for easier imports.
71 lines
1.5 KiB
TypeScript
71 lines
1.5 KiB
TypeScript
import type { Config } from '@docusaurus/types';
|
|
import type { Options as PresetOptions } from '@docusaurus/preset-classic';
|
|
import type { ThemeConfig } from '@docusaurus/preset-classic';
|
|
|
|
const config: Config = {
|
|
title: 'CCW Help Documentation',
|
|
tagline: 'Professional Workflow Automation Platform',
|
|
favicon: 'img/favicon.ico',
|
|
|
|
url: 'http://localhost:3001',
|
|
baseUrl: '/docs/',
|
|
|
|
organizationName: 'ccw',
|
|
projectName: 'docs',
|
|
|
|
trailingSlash: false,
|
|
|
|
onBrokenLinks: 'throw',
|
|
onBrokenMarkdownLinks: 'warn',
|
|
|
|
i18n: {
|
|
defaultLocale: 'en',
|
|
locales: ['en', 'zh'],
|
|
},
|
|
|
|
presets: [
|
|
[
|
|
'@docusaurus/preset-classic',
|
|
{
|
|
docs: {
|
|
sidebarPath: './sidebars.ts',
|
|
editUrl: 'https://github.com/ccw/docs/tree/main/',
|
|
},
|
|
blog: false,
|
|
theme: {
|
|
customCss: ['./src/css/custom.css'],
|
|
},
|
|
} satisfies PresetOptions,
|
|
],
|
|
],
|
|
|
|
themeConfig: {
|
|
navbar: {
|
|
title: 'CCW Help',
|
|
logo: {
|
|
alt: 'CCW Logo',
|
|
src: 'img/logo.svg',
|
|
},
|
|
items: [
|
|
{
|
|
type: 'localeDropdown',
|
|
position: 'right',
|
|
},
|
|
],
|
|
},
|
|
footer: {
|
|
style: 'dark',
|
|
copyright: `Copyright © ${new Date().getFullYear()} CCW. Built with Docusaurus.`,
|
|
},
|
|
prism: {
|
|
additionalLanguages: ['typescript', 'javascript', 'bash', 'python', 'java', 'go', 'yaml', 'json'],
|
|
},
|
|
} satisfies ThemeConfig,
|
|
|
|
markdown: {
|
|
mermaid: true,
|
|
},
|
|
};
|
|
|
|
export default config;
|