Developer documentation for the StaPH-B Nexus application.
Complete documentation for adding and managing searchable content in the Nexus search interface.
| Document | Purpose | Audience | Reading Time |
|---|---|---|---|
| NEXUS_SEARCH_GUIDE.md | Complete implementation guide | Developers | 30 min |
| NEXUS_QUICK_REF.md | Quick reference & cheat sheet | All users | 5 min |
| NEXUS_DIAGRAMS.md | Visual architecture diagrams | Visual learners | 10 min |
| NEXUS_EXAMPLE.md | Complete working example | New developers | 15 min |
Never worked with Nexus before? Start here:
- Follow NEXUS_EXAMPLE.md (complete working example)
- Read NEXUS_QUICK_REF.md (5 min quick overview)
- Scan NEXUS_DIAGRAMS.md (visual architecture)
- Dive into NEXUS_SEARCH_GUIDE.md when you need details
Just need to add content? → Go straight to NEXUS_QUICK_REF.md - 30-Second Quick Add
Adding a new category? → Follow NEXUS_QUICK_REF.md - 5-Minute New Category
Complete working example with:
- Full "Datasets" category implementation
- All code files with exact locations
- Before/after comparisons
- Sample CSV data
- Testing procedures
- Troubleshooting specific to the example
- Expected results and screenshots
Use when:
- First time adding a category
- Learning by example
- Want to see complete implementation
- Testing your understanding
- Need a template to copy
Comprehensive developer guide covering:
- System architecture and component structure
- Step-by-step tutorials for adding categories
- Data format requirements (CSV, JSON, API)
- TypeScript interfaces and type safety
- Advanced customization (fuzzy search, weighted search, custom cards)
- Performance optimization for large datasets
- Complete troubleshooting guide
- Best practices and FAQs
- Real-world examples
Use when:
- Building a new search category
- Customizing search behavior
- Debugging search issues
- Understanding the complete system
- Looking for advanced features
Condensed quick reference with:
- 30-second content addition
- 5-minute new category setup
- Copy-paste code snippets
- Common patterns and solutions
- Field mapping tables
- Debug checklists
- Links to full documentation
Use when:
- Adding content quickly
- Need a reminder of syntax
- Looking for code to copy
- Checking field requirements
- Quick troubleshooting
Visual architecture documentation:
- System overview diagrams
- Data flow pipeline
- Component interaction maps
- Search algorithm visualization
- File organization structure
- State machine diagrams
- Function reference cards
Use when:
- Understanding data flow
- Learning system architecture
- Teaching others about the system
- Planning new features
- Debugging complex issues
- Open
/content/pipelines/piplines.csv - Add row with pipeline details
- Done!
More info: Quick Ref - Quick Add
Option 1: Follow complete example See NEXUS_EXAMPLE.md for step-by-step "Datasets" implementation
Option 2: Quick steps
- Create
/content/tools/tools.csvwith data - Add to
searchCategoriesin nexus.vue - Define
ToolRawDatainterface - Load data with
useAsyncData() - Create
transformToolData()function - Merge into
allResults
More info: Quick Ref - New Category or Full Guide - Adding Category
See Full Guide - Advanced Customization
See Full Guide - Performance Considerations
/app/pages/nexus.vue- Main search page/app/components/Search.vue- Search input component/app/components/SearchResultCard.vue- Result display component
/content/pipelines/piplines.csv- Pipeline data/content/trainings/- Future training data/content/resources/- Future resource data
/app/assets/css/search-results.css- Result card styles/app/assets/css/main.css- Global design system
NEXUS_QUICK_REF.md → Add content via CSV
NEXUS_EXAMPLE.md → Try it yourself → NEXUS_QUICK_REF.md → Full Guide as needed
NEXUS_DIAGRAMS.md → NEXUS_QUICK_REF.md → Code files
NEXUS_SEARCH_GUIDE.md (Architecture) → NEXUS_DIAGRAMS.md → Advanced sections
| I want to... | Read this section... |
|---|---|
| Add a single item | Quick Ref - 30-Second Add |
| Create a category | Quick Ref - 5-Minute Category |
| Understand data flow | Diagrams - Data Flow |
| See all available fields | Quick Ref - Field Mapping |
| Fix search not working | Guide - Troubleshooting |
| Customize search logic | Guide - Advanced |
| Improve performance | Guide - Performance |
| View architecture | Diagrams - System Overview |
| CSV format help | Guide - Data Format |
| See examples | Guide - Examples |
| 4 comprehensive guides + 1 index |
- Code Examples: 70+ snippets
- Diagrams: 10+ visual aids
- Working Examples: Complete category implementation
- Total Pages: 3 comprehensive guides
- Code Examples: 50+ snippets
- Diagrams: 10+ visual aids
- Coverage: Full search system architecture
- Maintenance: Updated with each feature addition
Found an error or want to improve these docs?
- Check if issue already exists
- Create clear, descriptive examples
- Follow existing formatting style
- Test all code snippets
- Update table of contents if needed
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | Jan 22, 2026 | Initial documentation release |
| - Complete search guide | ||
| - Quick reference | ||
| - Architecture diagrams |
- Check documentation first - Answer is likely here
- Review code examples - Working patterns in the guides
- Examine existing implementations - Look at pipelines category
- Debug systematically - Use the troubleshooting checklists
- Ask for help - With specific error messages and context
Documentation maintained by the StaPH-B Development Team
Last Updated: January 22, 2026