-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Overview
Based on feedback from PR #276 and analysis of the current documentation structure, there are several areas where the documentation can be improved for better organization, discoverability, and completeness.
Current Issues Identified
1. Scattered Slot Documentation
- Problem:
OAOperationandOASpeccomponents share many slots, but their documentation is scattered - Current State:
- Components > OAOperation lists slots briefly
- Customizations > Custom Slots provides detailed slot descriptions
- Components > OASpec also lists slots
- Impact: Users have to navigate multiple pages to understand available slots
2. Missing Component in Overview
- Problem:
OAOperationLinkcomponent is not listed in Components > Available Components - Current State: Component is documented in Customizations > Operation Links but missing from main component listing
- Impact: Reduced discoverability of available components
3. Undocumented Configuration Options
- Problem: Some
useThemeconfiguration options are not documented - Impact: Users may not be aware of all available customization options
4. Cross-Reference Links Missing
- Problem: Related documentation pages don't link to each other effectively
- Impact: Poor navigation experience and information silos
Proposed Solutions
Phase 1: Immediate Improvements
-
Add cross-reference links:
- Add links from component pages to detailed slot documentation
- Link from
Components > OAOperationtoCustomizations > Custom Slots - Link from
Components > OASpectoCustomizations > Custom Slots
-
Update Available Components list:
- Add
OAOperationLinkto the Components Overview - Include brief description and link to detailed documentation
- Add
Phase 2: Structural Reorganization (Optional)
Consider one of these approaches:
Option A: Dedicated Slots Section
- Create
Components > Slotssection - Move all slot descriptions there
- Reference from component pages
Option B: Enhanced Cross-Linking
- Keep current structure
- Add comprehensive cross-references
- Improve navigation between related sections
Phase 3: Documentation Audit
-
Complete
useThemedocumentation:- Document all available configuration options
- Add examples for each option
- Include TypeScript interfaces
-
Review all components for completeness:
- Ensure all public components are listed
- Verify all props, slots, and events are documented
- Add missing examples where needed
Files to Update
Immediate Changes:
docs/components/index.md- Add OAOperationLinkdocs/components/oa-operation.md- Add cross-reference linksdocs/components/oa-spec.md- Add cross-reference links
Future Changes:
docs/customizations/- Review and potentially reorganize- Create comprehensive
useThemedocumentation
Success Criteria
- All public components listed in Components Overview
- Clear navigation paths between related documentation
- Complete
useThemeconfiguration documentation - No orphaned or hard-to-find documentation pages
- Consistent documentation structure across all components
References
- Original discussion: PR docs: add component API documentation for OASpec and OAOperation #276
- Feedback from: @alexchexes
- Requested by: @enzonotario
This issue was created to track the documentation improvements discussed in PR #276.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels