* feat: migrate tooling and runtimes to bun * fix: serialize act installs and adapt backup checks * fix: finish bun scripts and rootless act setup * fix: support bun images in runtime benchmarks * fix: keep a single bun toolchain configuration * fix: include docs mascot sources in workshop build * docs: use bun in remaining tool commands * fix: complete bun sqlite development tooling * docs: explain sqlite development adapter * fix: align remaining commands and local ci validation * fix: use renovate regex fallback with bun * fix: finalize bun sqlite connections during cleanup * fix: preserve sqlite foreign key enforcement * fix: align docker build frontends * fix: prepare release versions with bun * Add Bun benchmarks and preserve SQLite connection defaults * Benchmark Bun installs, conflicts and production workloads * Force Bun workspace tools and HTTP/1.1 upstream streaming * Exclude benchmark evidence from Docker contexts * Expose branch benchmarks through CI * Verify hydrated widget data in production benchmarks * Measure image archives and document benchmark protocol * Audit dependency sharing across every workspace * Pin pnpm for nested baseline benchmark scripts * Preserve nested manager pinning on benchmark resume * Include application and runtime image footprints * Fail benchmark gates on candidate command errors * Report complete build overhead and sampled memory bounds * Validate migration comparisons across pinned revisions * Record configurable runtime memory budgets * Retain out-of-memory kills in runtime budget probes * Reject OOM events consistently across runtime metrics * Record complete Bun migration benchmarks * Record memory diagnosis and correct Turbo caching * Use Bun package management while preserving Node runtimes * Keep native build fallbacks and exclude development artifacts * Fix Node ESM metadata and isolate local CI configuration * Measure development performance and isolate act environment * Support isolated environment files in rootless act * Validate the full migration range with act * Preserve native SQLite binding for bundled migrations * Use documented dev defaults and report benchmark scope * Validate dev defaults and isolate restart measurements * Record package-manager and development benchmarks * Keep benchmark measurements and link full command artifacts * Clean up temporary act environment files * Validate Node runtimes in package-manager comparisons * Validate every workspace in manual CI runs * Retain patched nested brace expansion versions * Complete package-manager and Node performance report * Normalize archived benchmark logs * Record final hosted validation * Cache both Next builds with platform isolation * Prime cache with write-only mode * Split Next artifacts below Cloudflare upload limit * Assemble coherent standalone cache outputs * Preserve traced middleware entrypoints * Assemble traced directory links before files * Separate cached dependencies from assembled output * Record signed Turbo cache benchmarks * Remove archived benchmark captures Full benchmark evidence is preserved at 8f7d3bcd14109bfb13fa664d31710b88d820ad66. * Remove migration benchmark harness * fix: correct migration launch and local Act prerequisites * Consolidate Turbo caches and production artifacts * Exclude generated files from Docker cache inputs * fix: address Bun migration review findings * fix: check restored compiler bundle manifests
4.0 KiB
name, description
| name | description |
|---|---|
| documentation-sync | Write Homarr docs only when users need information to set up, use, or troubleshoot the app. Skip routine, obvious, or self-explanatory changes. |
Documentation Sync
Apply the audience and scope rules in AGENTS.md first. Documentation exists only for information users need to set up, use, or troubleshoot Homarr. A code, UI, or API change alone does not warrant documentation; if a user does not need to know it, do not add it.
For hidden capabilities such as the advanced widget feature, explain discovery, activation, and non-obvious behavior. For visible standard controls such as Delete, omit narration of what the label already conveys. Use the shortest explanation that preserves necessary technical detail; remove redundant prose in the passage being edited.
When an update is warranted, inspect adjacent pages for structure and types, not as a verbosity target. The mappings below locate needed information; they do not require a page for every feature or code change.
Locate a needed update
These are destinations for warranted updates, not triggers to add documentation:
| Code change | Documentation target |
|---|---|
| New integration | apps/docs/docs/integrations/<slug>/index.mdx and index.ts |
| New widget | apps/docs/docs/widgets/<slug>/index.mdx and index.ts |
| Changed public or management API | apps/docs/docs/management/api/index.mdx |
| New or changed environment variable | Relevant page under apps/docs/docs/advanced/ or installation docs |
| New or changed CLI command | apps/docs/docs/advanced/command-line/ |
| Authentication/provider change | Relevant SSO or authentication page under apps/docs/docs/advanced/ |
| UI or workflow change | Relevant getting-started, management, widget, or integration page |
| Cron-job behavior | apps/docs/docs/management/tasks.mdx |
| Permission behavior | apps/docs/docs/management/users.mdx and the affected feature page |
| Custom Widget or Workshop behavior | Relevant Custom Widget, Assistant, or Workshop documentation |
If no existing row fits, search by the user-visible term and update the page where a user would look for the behavior:
rg -n "<term>" apps/docs/docs apps/docs/src
Follow existing typed patterns
For an integration:
- Add or update
apps/docs/docs/integrations/<slug>/index.tswith the localIntegrationDefinitionpattern. - Add or update
index.mdxwith the establishedIntegrationHeader,IntegrationCapabilites, andIntegrationSecretscomponents as applicable. - Reuse metadata from
@homarr/definitionswhen the docs app already exposes it.
For a widget:
- Add or update
apps/docs/docs/widgets/<slug>/index.tswith the localWidgetDefinitionpattern. - Add or update
index.mdxwith the establishedWidgetHeader,WidgetConfig, andAddingWidgetcomponents as applicable. - Explain only non-obvious option semantics, integration prerequisites, permission constraints, or behavior that the interface does not make clear.
Completion criteria
- Every passage adds information a user needs and cannot reasonably infer from the interface. Remove obvious, repetitive, or unnecessary prose.
- Keep names, defaults, paths, screenshots, links, and prerequisites consistent with code.
- Update every affected page and remove superseded guidance.
- Run the narrowest useful docs validation. Use
bun run turbo build --filter=@homarr/docswhen links, MDX, generated definitions, or navigation can fail; otherwise run the docs package formatter on touched files. - Treat broken links and anchors as failures; run
bun run --filter @homarr/docs validate:linksafter the static build.