# Provisioning Platform Documentation\n\nComplete documentation for the Provisioning Platform infrastructure automation system built with Nushell,\nNickel, and Rust.\n\n## πŸ“– Browse Documentation\n\nAll documentation is **directly readable** as markdown files in Git/GitHubβ€”mdBook is optional.\n\n- **[Table of Contents](src/SUMMARY.md)** – Complete documentation index (188+ pages)\n- **[Browse src/ directory](src/)** – All markdown files organized by topic\n\n---\n\n## πŸš€ Quick Navigation\n\n### For Users & Operators\n\n- **[Getting Started](src/getting-started/)** – Installation, setup, and first deployment\n- **[Operations Guide](src/operations/)** – Deployment, monitoring, orchestrator management\n- **[Troubleshooting](src/troubleshooting/troubleshooting-guide.md)** – Common issues and solutions\n- **[Security](src/security/)** – Authentication, encryption, secrets management\n\n### For Developers & Architects\n\n- **[Architecture Overview](src/architecture/)** – System design and integration patterns\n- **[Infrastructure Guide](src/infrastructure/)** – CLI, configuration system, workspaces\n- **[Development Guide](src/development/)** – Extensions, providers, taskservs, build system\n- **[API Reference](src/api-reference/)** – REST API, WebSocket, SDKs, integration examples\n\n### For Advanced Users\n\n- **[Deployment Guides](src/guides/)** – Multi-provider setup, customization, infrastructure examples\n- **[Integration Guides](src/integration/)** – Gitea, OCI, service mesh, secrets integration\n- **[Testing](src/testing/)** – Test environment setup and validation\n\n---\n\n## πŸ“š Documentation Structure\n\n```{$detected_lang}\nprovisioning/docs/\nβ”œβ”€β”€ README.md # This file – navigation hub\nβ”œβ”€β”€ book.toml # mdBook configuration\nβ”œβ”€β”€ src/ # Source markdown files (version-controlled)\nβ”‚ β”œβ”€β”€ SUMMARY.md # Complete table of contents\nβ”‚ β”œβ”€β”€ getting-started/ # Installation and setup\nβ”‚ β”œβ”€β”€ architecture/ # System design and ADRs\nβ”‚ β”œβ”€β”€ infrastructure/ # CLI, configuration, workspaces\nβ”‚ β”œβ”€β”€ operations/ # Deployment, orchestrator, monitoring\nβ”‚ β”œβ”€β”€ development/ # Extensions, providers, build system\nβ”‚ β”œβ”€β”€ api-reference/ # APIs and SDKs\nβ”‚ β”œβ”€β”€ security/ # Authentication, secrets, encryption\nβ”‚ β”œβ”€β”€ integration/ # Third-party integrations\nβ”‚ β”œβ”€β”€ guides/ # How-to guides and examples\nβ”‚ β”œβ”€β”€ troubleshooting/ # Common issues\nβ”‚ └── ... # 12 other sections\nβ”œβ”€β”€ book/ # Generated HTML output (Git-ignored)\n└── examples/ # Example workspace configurations\n```\n\n### Why `src/` subdirectory\n\nThis is the **standard mdBook convention**:\n- **Source (`src/`)**: Version-controlled markdown files, directly readable\n- **Output (`book/`)**: Generated HTML/CSS/JS, Git-ignored (regenerated on build)\n\nThis separation allows the same source files to generate multiple output formats (HTML, PDF, EPUB) without\ncluttering the version-controlled repository.\n\n---\n\n## πŸ”¨ Building HTML with mdBook\n\nIf you prefer a formatted HTML website with search, themes, and copy buttons, build with mdBook:\n\n### Prerequisites\n\n```bash\ncargo install mdbook\n```\n\n### Build & Serve\n\n```bash\n# Navigate to docs directory\ncd provisioning/docs\n\n# Build HTML to book/ directory\nmdbook build\n\n# Serve locally at http://localhost:3000 (with live reload)\nmdbook serve\n```\n\n### Output\n\nGenerated HTML is available in `provisioning/docs/book/` after building.\n\n**Note**: mdBook is entirely optional. The markdown files in `src/` work perfectly fine in any Git\nviewer or text editor.\n\n---\n\n## πŸ“– Reading Markdown Directly\n\nAll documentation is standard GitHub Flavored Markdown. You can:\n\n- **GitHub/GitLab**: Click `provisioning/docs/src/` and browse directly\n- **Local Git**: Clone the repo and open any `.md` file in your editor\n- **Text Search**: Use `grep` or your editor's search to find topics across all markdown files\n- **mdBook (optional)**: Build HTML for formatted reading with search and theming\n\n---\n\n## πŸ”— Key Reference Pages\n\n| Document | Purpose |\n| ------------------------------------------------------------------------------ | --------------------------------- |\n| [System Overview](src/architecture/system-overview.md) | High-level architecture |\n| [Installation Guide](src/getting-started/installation-guide.md) | Step-by-step setup |\n| [CLI Reference](src/infrastructure/cli-reference.md) | Command reference |\n| [Configuration System](src/infrastructure/configuration-system.md) | Config management |\n| [Security System](src/security/security-system.md) | Authentication & encryption |\n| [Orchestrator](src/operations/orchestrator.md) | Service orchestration |\n| [Workspace Guide](src/infrastructure/workspaces/workspace-guide.md) | Infrastructure workspaces |\n| [ADRs](src/architecture/adr/) | Architecture Decision Records |\n\n---\n\n## ❓ Questions\n\n- **Getting started** β†’ Start with [Installation Guide](src/getting-started/installation-guide.md)\n- **Having issues** β†’ Check [Troubleshooting](src/troubleshooting/troubleshooting-guide.md)\n- **Looking for API docs** β†’ See [API Reference](src/api-reference/)\n- **Want architecture details** β†’ Read [Architecture Overview](src/architecture/architecture-overview.md)\n\nFor complete navigation, see [Table of Contents](src/SUMMARY.md).