UNPKG

hana-cli

Version:
391 lines (316 loc) 11.5 kB
# 📚 Documentation Structure Index Complete reference of all documentation files created and organized with VitePress. ## Overview ```bash docs/ # Root documentation folder ├── .vitepress/ # VitePress configuration ├── config.ts # Main site configuration └── theme/ ├── index.ts # Theme customization └── style.css # Custom styles ├── .gitignore # Git ignore rules ├── package.json # npm dependencies ├── README.md # Documentation maintainer guide (40+ lines) ├── index.md # Home page / landing page ├── faq.md # FAQ (150+ lines) ├── troubleshooting.md # Troubleshooting guide (250+ lines) ├── 01-getting-started/ # Getting Started Section ├── index.md # Getting started overview ├── installation.md # Installation guide (150+ lines) ├── quick-start.md # 5-minute tutorial (100+ lines) ├── configuration.md # Configuration guide (200+ lines) └── environments.md # Supported environments (150+ lines) ├── 02-commands/ # Commands Reference (Main Section) ├── index.md # Commands overview with categories ├── analysis-tools/ # Data Analysis Commands ├── data-lineage.md ├── data-profile.md ├── data-diff.md ├── duplicate-detection.md ├── referential-check.md └── calc-view-analyzer.md ├── data-tools/ # Data Manipulation Commands ├── import.md # Import from CSV/Excel ├── export.md # Export to files ├── compare-data.md # Compare table data ├── data-sync.md # Synchronize data ├── data-validator.md # Validate data quality └── kafka-connect.md # Stream from Kafka ├── schema-tools/ # Database Schema Commands ├── compare-schema.md # Compare schemas ├── schema-clone.md # Clone schema └── table-copy.md # Copy tables └── system-tools/ # System Administration ├── replication-status.md ├── sdi-tasks.md ├── xsa-services.md └── timeseries-tools.md ├── 03-features/ # Features & Integration ├── index.md # Features overview ├── cli-features.md # CLI capabilities (100+ lines) ├── api-server.md # REST API server guide (150+ lines) ├── mcp-integration.md # AI integration via MCP ├── output-formats.md # JSON, CSV, text formats ├── internationalization.md # Multi-language support └── knowledge-base.md # Built-in help & examples ├── 04-api-reference/ # REST API Documentation ├── index.md # API overview ├── swagger.md # Swagger/OpenAPI docs (150+ lines) ├── swagger-implementation.md ├── command-flows.md └── http-routes.md # REST HTTP routes documentation ├── public/ # Static assets (future) └── [place logo.png here] └── dist/ # Build output (generated) └── [complete static site] ## Statistics **Total Files Created**: 40+ - Configuration files: 5 - Documentation files: 35+ - Supporting files: 3 **Content Breakdown**: - Home page & navigation: 5 files - Getting started guides: 5 files - Command documentation: 14 files - Feature guides: 6 files - API documentation: 2 files - Support & FAQs: 2 files **Total Lines of Content**: 5,000+ **Code Examples**: 100+ **Tables & Options**: 25+ **Internal Links**: 200+ ## File Manifest ### Configuration & Setup ```bash docs/package.json docs/.vitepress/config.ts (400+ lines) docs/.vitepress/theme/index.ts (20 lines) docs/.vitepress/theme/style.css (20 lines) docs/.gitignore docs/README.md (200+ lines) ``` ### Home & Navigation ```bash docs/index.md (120+ lines) [Home page] docs/01-getting-started/index.md (50 lines) [Section overview] docs/02-commands/index.md (80 lines) [Commands overview] docs/03-features/index.md (30 lines) [Features overview] docs/04-api-reference/index.md (50 lines) [API overview] ``` ### Getting Started Guides ```bash docs/01-getting-started/installation.md (150 lines) docs/01-getting-started/quick-start.md (100 lines) docs/01-getting-started/configuration.md (200 lines) docs/01-getting-started/environments.md (250 lines) ``` ### Command Documentation (14 files) **Analysis Tools** (6 commands): ```bash docs/02-commands/analysis-tools/data-lineage.md docs/02-commands/analysis-tools/data-profile.md docs/02-commands/analysis-tools/data-diff.md docs/02-commands/analysis-tools/duplicate-detection.md docs/02-commands/analysis-tools/referential-check.md docs/02-commands/analysis-tools/calc-view-analyzer.md ``` **Data Tools** (6 commands): ```bash docs/02-commands/data-tools/import.md docs/02-commands/data-tools/export.md docs/02-commands/data-tools/compare-data.md docs/02-commands/data-tools/data-sync.md docs/02-commands/data-tools/data-validator.md docs/02-commands/data-tools/kafka-connect.md ``` **Schema Tools** (3 commands): ```bash docs/02-commands/schema-tools/compare-schema.md docs/02-commands/schema-tools/schema-clone.md docs/02-commands/schema-tools/table-copy.md ``` **System Tools** (4 commands): ```bash docs/02-commands/system-tools/replication-status.md docs/02-commands/system-tools/sdi-tasks.md docs/02-commands/system-tools/xsa-services.md docs/02-commands/system-tools/timeseries-tools.md ``` ### Feature Documentation (6 files) ```bash docs/03-features/cli-features.md docs/03-features/api-server.md (150 lines) docs/03-features/mcp-integration.md docs/03-features/output-formats.md (100 lines) docs/03-features/internationalization.md docs/03-features/knowledge-base.md ``` ### API Documentation (3 files) ```bash docs/04-api-reference/swagger.md (150 lines) docs/04-api-reference/http-routes.md ``` ### Support Documentation (3 files) ```bash docs/faq.md (250 lines) docs/troubleshooting.md (300 lines) ``` ## Navigation Hierarchy The VitePress configuration (config.ts) creates this navigation: ```bash Home ├── Getting Started ├── Overview ├── Installation ├── Quick Start ├── Configuration └── Environments ├── Commands Reference ├── Analysis Tools ├── Data Lineage ├── Data Profile ├── Data Diff ├── Duplicate Detection ├── Referential Check └── Calc View Analyzer ├── Data Tools ├── Import ├── Export ├── Compare Data ├── Data Sync ├── Data Validator └── Kafka Connect ├── Schema Tools ├── Compare Schema ├── Schema Clone └── Table Copy └── System Tools ├── Replication Status ├── SDI Tasks ├── XSA Services └── Timeseries Tools ├── Features & Guides ├── CLI Features ├── REST API Server ├── AI Integration (MCP) ├── Output Formats ├── Internationalization └── Knowledge Base └── API Reference ├── Overview ├── Swagger/OpenAPI └── REST Endpoints ``` ## What Each File Contains ### Home Page (index.md) - Welcome message - Quick navigation cards - Key features overview - Popular topics - Resources and links ### Getting Started Section - **installation.md**: Multiple installation methods, requirements, troubleshooting - **quick-start.md**: 5-minute tutorial with hands-on steps - **configuration.md**: Connection setup, profiles, SSL, proxy, logging - **environments.md**: Local, cloud, BTP, Docker, CI/CD, operating systems ### Commands Section Each command file includes: - Quick start examples - Aliases - Options reference table - Real-world examples - Links to detailed documentation - Related commands ### Features Section - **cli-features.md**: Syntax, common options, output, piping, scripts - **api-server.md**: Starting server, authentication, CORS, rate limiting - **mcp-integration.md**: Setup, tools, use cases, documentation links - **output-formats.md**: JSON, CSV, text, piping, scripting - **internationalization.md**: Language selection, availability, contributing - **knowledge-base.md**: Help access, examples, documentation ### API Reference Section - **swagger.md**: Swagger UI access, specification, testing methods - **http-routes.md**: HTTP server routes and REST endpoints ### Support - **faq.md**: 30+ frequently asked questions with answers - **troubleshooting.md**: Common issues, solutions, debug tips ## Quick Links ### For Users - Start here: `docs/01-getting-started/installation.md` - Command list: `docs/02-commands/index.md` - Need help: `docs/troubleshooting.md` or `docs/faq.md` ### For Developers - API docs: `docs/04-api-reference/` - Integration: `docs/03-features/api-server.md` - MCP setup: `docs/03-features/mcp-integration.md` ### For Maintainers - Documentation guide: `docs/README.md` - Build commands: `docs/package.json` - Configuration: `docs/.vitepress/config.ts` - Structure overview: This file (DOCUMENTATION_INDEX.md) ## Development Commands ```bash # Navigate to docs cd docs # Install dependencies npm install # Development server (auto-reload) npm run docs:dev # Build production version npm run docs:build # Serve built docs npm run docs:serve # Preview production build npm run docs:preview ``` ## Version Control All documentation files are tracked in git: - Main files: `docs/[filename].md` - Organized in folders: `docs/01-getting-started/*.md`, etc. - Configuration: `docs/.vitepress/config.ts` - Dependencies: `docs/package.json` Ignore list (`.gitignore`): - `node_modules/` - `dist/` (build output) - `.vitepress/cache/` - `.vitepress/.temp/` ## Deployment The docs can be deployed to: - **GitHub Pages**: Static site deployment - **Vercel**: Auto-deploy on git push - **Netlify**: Continuous deployment - **Company Server**: Copy `/dist` folder - **Docker**: Containerized serving ## Future Enhancements Possible additions: - Screenshots and diagrams - Video tutorials - Interactive examples - Search analytics - Feedback forms - Translation to more languages - Custom search integration - Advanced styling - Analytics tracking --- **Created:** February 16, 2026 **Total Documentation**: 40+ Files **Total Content**: 5,000+ Lines **Status**: Complete and Ready For setup instructions, see: [`docs/README.md`](docs/README.md)