Viewer Reference
Complete reference for the published site viewer including navigation, search, and content rendering.
The viewer is the published documentation site that readers access. It renders Content Foundry pages with all block types and provides navigation and search.
Viewer Components
| Component | Description |
|---|---|
| Page Viewer | Renders page content and all block types |
| Navigation Sidebar | Expandable tree navigation for content |
| Search | Full-text search across all pages |
| Theme Toggle | Switch between light and dark modes |
| Breadcrumbs | Navigation path showing current location |
Block Rendering
Navigation
| Feature | Description |
|---|---|
| Sidebar Tree | Expandable directory structure following content hierarchy |
| Breadcrumbs | Shows current page path with clickable ancestors |
| Content Links | Internal links between pages |
| Graph Links | Visual navigation component showing related pages |
Search
Responsive Design
Technology
| Technology | Purpose |
|---|---|
| Lit | Web components framework for reactive UI |
| Vite | Build tool for fast development and optimised production |
| TypeScript | Type-safe code for reliability |