Docs: Implement oranda integration for unified project site
Overview
Implement oranda to create a unified project website that integrates the existing mdBook documentation with cargo-dist release artifacts, providing users with a seamless experience from project discovery to download to documentation.
Current State Analysis
✅ Already Implemented:
- mdBook documentation fully configured with comprehensive setup
- cargo-dist release system configured and working (v0.29.0)
- GitHub Pages deployment workflow operational
- rustdoc API documentation integration
- Comprehensive documentation structure with multiple sections
❌ Missing Components:
- oranda configuration (oranda.json)
- oranda integration in GitHub Pages workflow
- Unified site generation combining existing components
Simplified Implementation Plan
Phase 1: Oranda Configuration
Phase 2: Workflow Integration
Phase 3: Validation & Polish
Technical Implementation
Required oranda.json Configuration
{
"build": {
"path_prefix": "/gold_digger"
},
"project": {
"name": "Gold Digger",
"repository": "https://github.com/unclesp1d3r/gold_digger",
"homepage": "https://unclesp1d3r.github.io/gold_digger",
"description": "A powerful MySQL/MariaDB query tool with structured output for penetration testers and security professionals"
},
"marketing": {
"social": {
"image": "assets/social-card.png"
}
},
"components": {
"mdbook": {
"path": "./docs"
},
"artifacts": {
"cargo_dist": true
}
}
}
Updated GitHub Workflow
The existing .github/workflows/docs.yml needs modification to:
- Install oranda CLI
- Build oranda site instead of direct mdBook
- Maintain existing rustdoc integration
- Deploy oranda output to GitHub Pages
Minimal Changes Required
- Add
oranda.json to project root
- Update
docs.yml workflow to use oranda
- All existing mdBook configuration and content can remain unchanged
- cargo-dist integration will be automatic via oranda
Success Criteria
Implementation Estimate
Time Required: 2-4 hours
Complexity: Low-Medium (mostly configuration changes)
Risk: Low (existing functionality preserved)
Next Steps
- Create oranda.json with basic configuration
- Test oranda build locally
- Update GitHub workflow
- Deploy and validate functionality
Related Issues
The implementation is significantly simpler than originally outlined since the foundational components (mdBook, cargo-dist, GitHub Pages) are already fully functional.
Docs: Implement oranda integration for unified project site
Overview
Implement oranda to create a unified project website that integrates the existing mdBook documentation with cargo-dist release artifacts, providing users with a seamless experience from project discovery to download to documentation.
Current State Analysis
✅ Already Implemented:
❌ Missing Components:
Simplified Implementation Plan
Phase 1: Oranda Configuration
docs/directoryPhase 2: Workflow Integration
.github/workflows/docs.ymlto use orandaPhase 3: Validation & Polish
Technical Implementation
Required oranda.json Configuration
{ "build": { "path_prefix": "/gold_digger" }, "project": { "name": "Gold Digger", "repository": "https://github.com/unclesp1d3r/gold_digger", "homepage": "https://unclesp1d3r.github.io/gold_digger", "description": "A powerful MySQL/MariaDB query tool with structured output for penetration testers and security professionals" }, "marketing": { "social": { "image": "assets/social-card.png" } }, "components": { "mdbook": { "path": "./docs" }, "artifacts": { "cargo_dist": true } } }Updated GitHub Workflow
The existing
.github/workflows/docs.ymlneeds modification to:Minimal Changes Required
oranda.jsonto project rootdocs.ymlworkflow to use orandaSuccess Criteria
/api/pathImplementation Estimate
Time Required: 2-4 hours
Complexity: Low-Medium (mostly configuration changes)
Risk: Low (existing functionality preserved)
Next Steps
Related Issues
The implementation is significantly simpler than originally outlined since the foundational components (mdBook, cargo-dist, GitHub Pages) are already fully functional.