Files
documentation/sidebars.ts
T
jarvis-at-skic 464ea75730
Build and Deploy Documentation / build (push) Failing after 9s
feat: Sharp style, Tailwind+shadcn, dark navbar, nav restructure, Go/monorepo guidelines
Styling:
- Tailwind CSS v4 (preflight:false) integrated via PostCSS plugin
- shadcn/ui New York style with --radius:0 (sharp corners everywhere)
- Zero border-radius on ALL elements: buttons, code blocks, cards, admonitions, badges
- Navbar FORCE dark (#0a0a0a) in both light/dark modes via !important
- ThemeSynchronizer: bridges Docusaurus data-theme → shadcn .dark class
- Active sidebar item gets left border accent instead of rounded bg

React UI components (src/components/ui/index.tsx):
- Badge (6 variants: wip, stable, planned, success, warning, outline)
- Card + CardHeader + CardTitle + CardContent
- Callout (note/info/success/warning/danger) - sharp, left-border style
- PropertiesTable - monospace typed API reference tables
- StatusIndicator - operational/degraded/outage/maintenance

Navigation restructure:
- Introduction → Platform → Products → Engineering → Runbooks
- Old 'applications/' removed, moved to products/stock-market-pro/
- New Platform section: infrastructure overview + CI/CD pipeline docs
- New Engineering section: monorepo structure, Go stack, conventions
- New Runbooks section: incident severity, common procedures

Implementation guidelines (engineering/guidelines.md):
- Monorepo layout with go.work workspace
- Go as primary language (why + standard library table)
- Python as sidecar for data/ML workloads
- Code conventions: gofmt, error wrapping, logging, testing
- Git conventions: branch naming, conventional commits
- Makefile targets per app
- How to add a new application (step-by-step)
2026-07-16 20:58:07 +00:00

80 lines
2.3 KiB
TypeScript

import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
const sidebars: SidebarsConfig = {
docsSidebar: [
/* ── Introduction ────────────────────────────────────── */
{
type: 'doc',
id: 'intro/index',
label: 'Introduction',
},
/* ── Platform ────────────────────────────────────────── */
{
type: 'category',
label: 'Platform',
collapsed: false,
items: [
'platform/overview',
'platform/cicd',
],
},
/* ── Products ────────────────────────────────────────── */
{
type: 'category',
label: 'Products',
collapsed: false,
items: [
{
type: 'category',
label: 'Stock Market Pro',
link: { type: 'doc', id: 'products/stock-market-pro/index' },
items: [
{
type: 'category',
label: 'Architecture (C4)',
items: [
'products/stock-market-pro/c4/context',
'products/stock-market-pro/c4/containers',
'products/stock-market-pro/c4/components',
],
},
{
type: 'category',
label: 'Modules',
items: [
'products/stock-market-pro/data-monitoring/index',
'products/stock-market-pro/technical-analysis/index',
'products/stock-market-pro/signal-generation/index',
],
},
],
},
],
},
/* ── Engineering ─────────────────────────────────────── */
{
type: 'category',
label: 'Engineering',
collapsed: false,
items: [
'engineering/guidelines',
],
},
/* ── Runbooks ────────────────────────────────────────── */
{
type: 'category',
label: 'Runbooks',
collapsed: true,
items: [
'runbooks/index',
],
},
],
};
export default sidebars;