Prohlížeč zdrojového kódu
docs/specs/index.md
# Living Specs
Design documents describing how features in this application work. Each spec is a permanent reference — updated as behaviour evolves.
| Spec | Description |
|--------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Home Page](home-page.md) | Entry point with a hero section and a preview of up to six examples linking to the examples and source browser sections. |
| [Examples System](examples.md) | File-based Ruby code examples with metadata, tag filtering, and source display. |
| [Examples Runner](examples-runner.md) | Interactive scenario execution: dropdown inputs, server-side Ruby execution, inline Turbo Frame result display. |
| [Rich Example Content](example-content.md) | Markdown-driven detail page layout with placeholder tags for embedding source code and scenario forms. |
| [Source Browser](source-browser.md) | File tree that lets visitors browse the application's own source code with syntax highlighting. |
| [Source Browser — Claude Workflow Files](source-browser-claude.md) | Exposes living specs, slash-command definitions, and `CLAUDE.md` in the source browser so visitors can see how the project is developed with AI assistance. |
| [Source Browser — Markdown Links](source-browser-md-links.md) | Relative links in Markdown files are rewritten to their Source Browser URL so navigation works correctly. |
| [Markdown Code Block Syntax Highlighting](markdown-code-highlighting.md) | Rouge syntax highlighting for fenced code blocks inside rendered Markdown content. |
| [Styling and CSS](styling.md) | Pico CSS v2 base with custom SCSS partials, dark mode toggle persisted to localStorage, and Rouge syntax highlighting themes. |
| [Light/Dark Theme Switching](themes.md) | Theme toggle button persists light/dark preference to localStorage; applied on load via Stimulus controller before first paint. |
---
**Adding a new spec:** use the [template](TEMPLATE.md) and the `/spec` slash command.