Beautiful, modern documentation for QubeSec β a Kubernetes operator for post-quantum cryptography.
Built with Docusaurus 3.9.
- Node.js v18+
- npm or yarn
# Install dependencies
npm install
# Start development server
npm startOpen http://localhost:3000 in your browser.
# Build static files
npm run build
# Test production build locally
npm run servequbesec.github.io/
βββ docs/ # Documentation markdown files
β βββ index.md # Homepage (hero, features, CTA)
β βββ quickstart.md # Installation & examples
β βββ architecture.md # System design & data flows
β βββ keyexchange.md # Post-Quantum Key Exchange (Kyber)
β βββ signatures.md # Digital Signatures (Dilithium)
β βββ certificates.md # X.509 Certificate generation
β βββ qrng.md # Quantum Random Number Generation
β βββ api-reference.md # Complete CRD specifications
βββ src/
β βββ css/
β βββ custom.css # Custom styling
βββ static/
β βββ img/
β βββ qubesec.png # Logo and static assets
βββ docusaurus.config.ts # Docusaurus configuration
βββ sidebars.ts # Sidebar navigation structure
βββ package.json # Dependencies and scripts
The documentation uses a professional gradient-based design:
- Primary: Purple gradient (
#667eeato#764ba2) - Accent Colors: Quantum-themed blues and purples
- Dark Mode: Dracula theme for code blocks
- Light Mode: GitHub theme for code blocks
β¨ Dark/Light Mode β Respects user preference
π± Responsive Design β Mobile-first approach
π― Feature Cards β Interactive hover effects
π Clean Navigation β Sidebar with collapsible sections
β‘ Fast Build β Optimized with Webpack
π CTA Buttons β Clear call-to-action elements
π§© Mermaid Diagrams β Architecture visualizations
π¨ Syntax Highlighting β Prism with multiple languages
Edit src/css/custom.css to change colors and styles:
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
/* ... more color variables */
}- Hero section with gradient background
- 6 feature cards highlighting QubeSec capabilities
- Quick start guide (3 steps)
- Resource links and community section
- Call-to-action buttons
-
- Installation with kubectl
- 5 progressive examples
- Common operations and troubleshooting
-
- System design overview
- 9 CRD types with Mermaid diagrams
- Data flow visualization
-
- Kyber (ML-KEM-1024) implementation
- Complete workflows with encapsulation/decapsulation
- Key derivation patterns
-
- Dilithium (ML-DSA) implementation
- Sign and verify workflows
- Real-world examples
-
- X.509 certificate generation
- Self-signed and CA-issued certificates
- Integration with Kubernetes Ingress
-
- Cryptographically secure random numbers
- Use cases and patterns
- Fingerprinting and verification
-
- Complete CRD specifications
- Field descriptions
- Status conditions
The repository uses GitHub Actions for automatic deployment to GitHub Pages:
- Triggered on push to main branch
- Builds with latest Node.js
- Deploys to gh-pages branch
# Build production files
npm run build
# Deploy to GitHub Pages (requires setup)
npm run deployKey settings:
- Docs-only mode:
routeBasePath: '/' - Mermaid support: Enabled via
@docusaurus/theme-mermaid - Syntax highlighting: Bash, YAML, JSON, TypeScript, Nginx, Docker
- Dark theme: Dracula for code blocks
- Light theme: GitHub for code blocks
Navigation structure defining doc ordering and grouping.
- Pages: 8 documentation pages
- Code Examples: 50+ working examples
- Diagrams: Mermaid architecture diagrams
- CRDs: 9 Custom Resource Definitions
- Algorithms: Kyber, Dilithium, Falcon, SPHINCS+
- QubeSec GitHub: https://github.com/QubeSec/QubeSec
- Docusaurus: https://docusaurus.io/
- NIST PQC: https://csrc.nist.gov/projects/post-quantum-cryptography
- Open Quantum Safe: https://openquantumsafe.org/
Before committing:
- Run
npm run buildsuccessfully - Test all internal links
- Verify code examples are accurate
- Check responsive design on mobile
- Validate Mermaid diagrams render
- Test both light and dark modes
- No console errors
To improve documentation:
- Fork the repository
- Create a feature branch
- Make your changes
- Test locally with
npm start - Build with
npm run build - Submit a pull request
Same as QubeSec project.
Made with β€οΈ for a quantum-safe future π