Upgrades & Suggested Functionalities
Library Upgrades
Recommended Upgrades
| Package | Current | Suggested | Notes |
|---|---|---|---|
| Docusaurus | 3.7.0 | 3.8.x (latest) | Stay on 3.x for stability |
| React | 19.0.0 | 19.x | Already on latest |
| TypeScript | 5.6.2 | 5.7.x | Minor version bump |
| ESLint | 8.56 | 9.x | Major update - config migration needed |
| Prettier | 3.2.4 | 3.4.x | Formatting improvements |
| swagger-ui-react | 5.17.0 | 5.17.x | Already added for OpenAPI |
| @orama/plugin-docusaurus-v3 | 3.1.11 | Latest | Search improvements |
Upgrade Command
npm update
# Or for specific packages:
npm install @docusaurus/core@latest @docusaurus/preset-classic@latest
Suggested Functionalities to Add
1. API Try-It-Out Enhancement
- Add environment selector (Dev/Staging/Prod) for API base URL
- Pre-configure authentication headers for Try-It-Out
- Add request/response examples from OpenAPI spec
2. Versioned Documentation
- Use Docusaurus versioning for API docs (v1, v2)
- Add version dropdown in navbar
- Maintain separate OpenAPI specs per version
3. Changelog / Release Notes
- Add a changelog page or blog for release notes
- Link release notes to roadmap milestones
- Auto-generate from Git tags or JIRA
4. Interactive Diagrams
- Embed Mermaid diagrams with expand/collapse
- Add tabs for different diagram views (data flow, sequence, ER)
- Draw.io integration for editable diagrams (when plugin supports D3)
5. Documentation Feedback
- Add "Was this helpful?" at bottom of docs
- Feedback form or link to JIRA/Confluence
- Page rating or thumbs up/down
6. Cross-Domain Navigation
- Quick links between related domains (e.g., Customer ↔ Vendor)
- Breadcrumb showing current domain
- Related docs sidebar
7. API Specification Sync
- CI/CD step to sync OpenAPI YAML from API-JSON-Schema-Definitions repo
- Validation job to ensure specs are valid before merge
- Auto-generate API reference pages from specs
8. Search Enhancements
- Domain-specific search (filter by Customer, Vendor, etc.)
- Search within API endpoints
- Glossary term highlighting in search results
9. Accessibility & i18n
- Add ARIA labels and keyboard navigation
- Consider internationalization for key docs
- Dark mode support (Docusaurus has built-in)
10. Analytics & Usage
- Track popular pages and API endpoints
- Search query analytics
- Documentation feedback metrics
Implementation Priority
| Priority | Functionality | Effort | Impact |
|---|---|---|---|
| High | API spec sync from repo | Medium | High |
| High | Environment selector for Try-It-Out | Low | High |
| Medium | Versioned docs | High | High |
| Medium | Documentation feedback | Low | Medium |
| Medium | Changelog/Release notes | Low | Medium |
| Low | Cross-domain navigation | Low | Low |
| Low | Search enhancements | Medium | Medium |
Was this page helpful?