Files
headlamp-sealed-secrets-plugin/docs
Chris Farhood ebbdb42c05 docs: implement Phase 2 - API documentation with TypeDoc
Set up TypeDoc to auto-generate comprehensive API reference documentation
from TypeScript source code.

Changes:
- Installed typedoc and typedoc-plugin-markdown (v0.2.0 plugins)
- Created typedoc.json configuration with 9 entry points
- Added docs:api and docs:watch npm scripts
- Fixed test file imports (validateNamespace → isValidNamespace)
- Updated tsconfig.json to exclude test files from compilation
- Generated markdown API documentation in docs/api-reference/generated/

Generated API documentation:
- 9 modules documented (lib/, hooks/, types/)
- lib/crypto - 14 encryption/certificate functions
- lib/controller - 5 Kubernetes API functions
- lib/validators - 6 validation functions
- lib/retry - Exponential backoff utilities
- lib/rbac - RBAC permission checking
- types - Result types, branded types, interfaces
- hooks/useSealedSecretEncryption - Encryption React hook
- hooks/usePermissions - RBAC React hooks
- hooks/useControllerHealth - Health monitoring hook

Benefits:
- Auto-generated from TypeScript source (stays in sync)
- Markdown format for easy integration
- Type signatures and JSDoc included
- Function parameters and return types documented
- Links between related types and functions

Phase 2 deliverables (2-3 days estimated, completed in 1 session):
 TypeDoc installed and configured
 Entry points identified for all core modules
 API documentation generated (9 modules, 40+ functions)
 npm scripts added for docs generation
 Test files excluded from documentation

Next: Phase 3 - User tutorials and guides

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-02-11 23:27:18 -05:00
..

Headlamp Sealed Secrets Plugin Documentation

Complete documentation for the Headlamp Sealed Secrets plugin.

📚 Documentation Index

Getting Started

New to the plugin? Start here:

User Guide

Learn how to use all the features:

Tutorials

Step-by-step guides for common workflows:

Troubleshooting

Solutions for common issues:

Development

Contributing to the plugin:

API Reference

Technical documentation:

Architecture

Technical design and decisions:

Deployment

Production deployment guides:

External Resources

📖 About This Documentation

This documentation is organized by user journey:

  • Getting Started - For new users
  • User Guide - For daily usage
  • Tutorials - For specific workflows
  • Troubleshooting - For problem-solving
  • Development - For contributors
  • API Reference - For developers using the plugin
  • Architecture - For understanding the design
  • Deployment - For production deployments

🤝 Contributing to Docs

Found an error or want to improve the documentation?

  1. Quick fixes: Edit on GitHub and submit a PR
  2. Larger changes: Open an issue first to discuss
  3. New tutorials: Share your use case in Discussions

See CONTRIBUTING.md for guidelines.

📝 Documentation Status

Completed

  • Installation guides
  • Quick start tutorial
  • Development workflow documentation
  • Testing guides
  • Architecture overview

In Progress 🚧

  • User guide sections (creating secrets, managing keys, scopes)
  • Tutorial content (CI/CD, multi-cluster, rotation)
  • Troubleshooting guides
  • API reference (auto-generated coming soon)

Planned 📅

  • Video tutorials
  • Interactive examples
  • Detailed architecture diagrams
  • More CI/CD platform examples
  • Advanced use cases

🔄 Documentation Updates

This documentation is kept in sync with code changes:

  • Version: Matches plugin version (currently v0.2.0)
  • Auto-generated: API reference generated from TypeScript source
  • CI Checks: Links validated on every pull request
  • Examples Tested: Code examples validated against current API

Last updated: 2026-02-12