| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Builds on main's PF_API_ONLY feature with two changes: 1. Flip the default: `build` now produces the API only; the full documentation site UI is opt-in via `build --site` (BUILD_SITE). The dev server always serves the full site. 2. Actually exclude the heavy site pages from the API-only build. The site UI pages move from src/pages to src/site-pages so they leave Astro's file-based routing and are no longer part of the SSR bundle. An `optional-site-pages` integration injects them only for full-site builds; for API-only builds it injects a lightweight api-landing.astro stub at `/` so the route still resolves without heavy modules. Adds architecture.md documenting the split, the build pipeline, and measured build cost. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 5a0ef9cd-a01e-4893-9a96-aff615e68a18 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. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
Deploying patternfly-doc-core with
|
| Latest commit: | 0a9b8fe |
| Status: | ✅ Deploy successful! |
| Preview URL: | https://881ff937.patternfly-doc-core.pages.dev |
| Branch Preview URL: | https://api-only-default.patternfly-doc-core.pages.dev |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Builds on main's existing PF_API_ONLY feature and delivers the two follow-ups discussed:
How it works
Scripts
Verification
Breaking change
The --api-only CLI flag is removed in favor of the inverted --site flag (API-only is now the default). Anyone invoking build --api-only should switch to plain build; anyone relying on build producing the full site should switch to build --site / npm run build:all.
🤖 Generated with Claude Code