Repository navigation
chore(repo): move root internals to owned directories - #2142
Conversation
Move packaging and documentation-site internals out of the repository root so the top level keeps only standard project entrypoints and required control files. What changed: - Move the Hatch build hook to packaging/hatch_build.py and update pyproject.toml. - Move the Pages config to docs/site/pages.toml and update the pages renderer defaults. - Move the OCI Containerfile to packaging/Containerfile and update the container workflow, install docs, and distribution coverage metadata. - Remove a stale distribution gap that claimed the container image only builds on release tags; the dedicated container workflow now smoke-builds PRs touching that surface. - Update repo-layout docs and container comments for the new ownership. Verification: - python -m py_compile packaging/hatch_build.py devtools/render_pages.py devtools/pages_builder.py - devtools test tests/unit/site/test_renderer_behavior.py -> 15 passed - devtools render pages --check -> sources render successfully - uv build --wheel --out-dir .cache/build-smoke -> built wheel - devtools verify-ci-workflows -> 16 workflow files checked, no errors - devtools verify-manifests -> manifest consistency checks passed - devtools render all --check -> all generated surfaces sync OK - devtools verify --quick -> exit_code 0, run_id 20260619T003337Z-quick-3535144-e58d3025
|
Warning Review limit reached
More reviews will be available in 38 minutes and 31 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (10)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Moves repository internals that do not need to live at the top level into their owning directories: packaging/build files under
packaging/and the Pages site config underdocs/site/. The root now keeps the normal project control files and public docs, while packaging and docs tooling own their implementation files.Problem
The repository root had accumulated implementation-specific files (
Containerfile,hatch_build.py,pages.toml) beside canonical root entrypoints likeREADME.md,pyproject.toml,flake.nix, and release configuration. That made the top level noisier than necessary and kept packaging/site internals detached from the directories that own them.Solution
hatch_build.pytopackaging/hatch_build.pyand updated Hatch metadata.pages.tomltodocs/site/pages.tomland updated the Pages renderer defaults.Containerfiletopackaging/Containerfileand updated the container workflow, install docs, and distribution coverage metadata.Verification
python -m py_compile packaging/hatch_build.py devtools/render_pages.py devtools/pages_builder.pydevtools test tests/unit/site/test_renderer_behavior.py-> 15 passeddevtools render pages --check-> sources render successfullyuv build --wheel --out-dir .cache/build-smoke-> built wheeldevtools verify-ci-workflows-> 16 workflow files checked, no errorsdevtools verify-manifests-> manifest consistency checks passeddevtools render all --check-> all generated surfaces sync OKdevtools verify --quick-> exit_code 0, run_id20260619T003337Z-quick-3535144-e58d3025