headroom/docs
Parideboy f0975b8de0
docs: add troubleshooting entry for uv build cache errors (#2490)
## Description

Adds a troubleshooting section for a uv build error macOS users hit
installing headroom-ai via uv: `src does not appear to be a Python
project` (typically surfacing on `litellm` or `cryptography`) or
`Unknown wheel data type: .DS_Store`. Root cause is uv build/wheel cache
corruption on the user's machine, not a Headroom dependency pin. Also
cross-references the existing `ast-grep-cli>=0.30.0,!=0.44.1` pin, which
already excludes the compromised 0.44.1 build reported in the same
issue.

Closes #2476

## Type of Change

- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] Documentation update
- [ ] Performance improvement
- [ ] Code refactoring (no functional changes)

## Changes Made

- Added "uv build errors: 'src does not appear to be a Python project'"
subsection under Installation Issues in
`docs/content/docs/troubleshooting.mdx`, with symptom, cause, and `uv
cache clean` fix.
- Cross-referenced the already-shipped `ast-grep-cli` version pin for
the 0.44.1 supply-chain issue.

## Testing

- [ ] Unit tests pass (`pytest`)
- [ ] Linting passes (`ruff check .`)
- [ ] Type checking passes (`mypy headroom`)
- [ ] New tests added for new functionality
- [x] Manual testing performed

### Test Output

```text
N/A — docs-only change, no code paths touched. No pytest/ruff/mypy relevant.
```

## Real Behavior Proof

- Environment: N/A — markdown documentation edit only, no runtime
behavior changed.
- Exact command / steps: Read the modified
`docs/content/docs/troubleshooting.mdx` section against the rendered
structure of adjacent entries (Windows Defender / ast-grep-cli section)
to confirm heading level, code fences, and link formatting match.
- Observed result: New subsection renders consistently with surrounding
Installation Issues entries (same `###` heading depth, Symptom/Cause/Fix
structure, fenced code blocks).
- Not tested: Live docs site build/preview (`cd docs && npm run dev`)
was not run in this environment.

## Review Readiness

- [x] I have performed a self-review
- [x] This PR is ready for human review

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
— N/A, prose docs
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works — N/A, docs-only
- [ ] New and existing unit tests pass locally with my changes — N/A,
docs-only
- [x] I did **not** edit `CHANGELOG.md`

## Screenshots (if applicable)

N/A

## Additional Notes

Docs-only change; no source code touched. `docs && npm run dev` not run
locally in this environment — flagging for maintainer to preview if
desired before merge.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-22 06:06:51 -07:00
..
app docs: improve discoverability for AI agents and search crawlers 2026-05-13 17:36:06 -07:00
components docs: sync Vercel docs with current code and add in-depth proxy config (#2475) 2026-07-21 16:26:56 -07:00
content/docs docs: add troubleshooting entry for uv build cache errors (#2490) 2026-07-22 06:06:51 -07:00
lib docs: sync Vercel docs with current code and add in-depth proxy config (#2475) 2026-07-21 16:26:56 -07:00
overrides fix: repair release and docs pipelines 2026-04-16 12:53:51 -05:00
screenshots Merge pull request #147 from JerrettDavis/feat/anthropic-usage-insights 2026-04-12 10:54:22 -07:00
.gitignore new docs UI + ts doc coverage 2026-04-12 13:15:58 +06:00
bun.lock fix(deps): remediate dependency CVEs and publish SBOM (#1509) 2026-06-27 15:28:12 -07:00
claude-code-bedrock-headroom.md fix(bedrock): route ARNs via converse, named AWS profiles, and au. re… (#1456) 2026-07-02 22:51:05 -05:00
next.config.mjs new docs UI + ts doc coverage 2026-04-12 13:15:58 +06:00
observability.md fix(observability): G3 remediation — bound cardinality + wire dead metrics 2026-05-24 10:41:56 -07:00
package-lock.json deps: bump the npm-minor-patch group across 3 directories with 7 updates (#2276) 2026-07-21 11:21:14 -05:00
package.json deps: bump the npm-minor-patch group across 3 directories with 7 updates (#2276) 2026-07-21 11:21:14 -05:00
platform-feature-matrix.json fix: harden persistent install startup (#1851) 2026-07-10 00:40:34 -04:00
platform-stabilization.md fix: harden persistent install startup (#1851) 2026-07-10 00:40:34 -04:00
postcss.config.mjs new docs UI + ts doc coverage 2026-04-12 13:15:58 +06:00
proxy.ts new docs UI + ts doc coverage 2026-04-12 13:15:58 +06:00
README.md new docs UI + ts doc coverage 2026-04-12 13:15:58 +06:00
rtk-architecture.md fix(observability): wire Phase G PR-G3 RTK + proxy metrics (H-blocker) 2026-05-22 13:18:42 -07:00
source.config.ts docs(ci): add CI/CD flow diagrams (#1062) 2026-06-16 23:05:15 -07:00
tsconfig.json new docs UI + ts doc coverage 2026-04-12 13:15:58 +06:00
vercel.json fix: add Vercel deploy config and workflow for docs site (#1739) 2026-07-14 13:25:18 -04:00

docs

This is a Next.js application generated with Create Fumadocs.

Run development server:

npm run dev
# or
pnpm dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Explore

In the project, you can see:

  • lib/source.ts: Code for content source adapter, loader() provides the interface to access your content.
  • lib/layout.shared.tsx: Shared options for layouts, optional but preferred to keep.
Route Description
app/(home) The route group for your landing page and other pages.
app/docs The documentation layout and pages.
app/api/search/route.ts The Route Handler for search.

Fumadocs MDX

A source.config.ts config file has been included, you can customise different options like frontmatter schema.

Read the Introduction for further details.

Learn More

To learn more about Next.js and Fumadocs, take a look at the following resources: