Global Search
Complete guide to the global search functionality
Global Search
The documentation includes a global search bar that allows users to quickly find documentation pages across the entire site.
Overview
The search bar is available in the top navigation menu site-wide and provides real-time search results as you type.
Features
- ✅ Always Visible: Search bar is available in the top navigation menu site-wide
- ✅ Real-Time Search: Results update as you type (debounced for performance)
- ✅ Keyboard Shortcut: Press
⌘K(Mac) orCtrl+K(Windows/Linux) to open search - ✅ Centered Modal: Search modal appears centered on the screen
- ✅ Keyboard Navigation: Use arrow keys to navigate results, Enter to select
- ✅ Escape to Close: Press Escape or click outside to close
How to Use
- Click the search icon in the navigation bar or press
⌘K/Ctrl+K - Type your search query - results appear in real-time
- Navigate results with arrow keys or mouse
- Click or press Enter to navigate to a result
- Press Escape or click outside to close
Search Results
Results show:
- Title: The document title
- Path: Breadcrumb showing the document location (e.g.,
docs › api › endpoints)
Search Behavior
- Searches: Page titles, descriptions, URL paths, and full document content
- Debounced: Input is debounced (150-300ms) for performance
- No Backend Required: All search is done client-side
- Case Insensitive: Search is case-insensitive
Example
When you type "installation", you might see:
- Installation Overview (
docs › installation › overview) - Installation Prerequisites (
docs › installation › prerequisites) - Installation Setup (
docs › installation › setup)
Tips
- Use specific keywords for better results
- Search works across all documentation sections
- Results are sorted by relevance
- The search includes all documentation pages
Keyboard Shortcuts
⌘K/Ctrl+K: Open search↑/↓: Navigate resultsEnter: Select resultEscape: Close search
Next Steps
- Table of Contents - Learn about auto-generated TOC
- Adding Documentation - Learn how to add docs
- Features Overview - See all features