3.0 KiB
3.0 KiB
Developer Portal (Astro/Starlight)
Module
DevPortal
Status
VERIFIED
Description
Static developer portal built with Astro/Starlight, including API reference pages, try-it console assets, docs guides, and offline bundle packaging suitable for offline/air-gapped delivery.
Implementation Details
- Astro/Starlight Site:
src/DevPortal/StellaOps.DevPortal.Site/ - Content Configuration:
src/DevPortal/StellaOps.DevPortal.Site/src/content/config.ts - API Reference Page:
src/DevPortal/StellaOps.DevPortal.Site/src/content/docs/api-reference.mdx - Getting Started Guide:
src/DevPortal/StellaOps.DevPortal.Site/src/content/docs/guides/getting-started.mdx - Navigation Search Guide:
src/DevPortal/StellaOps.DevPortal.Site/src/content/docs/guides/navigation-search.mdx - OpenAPI Spec:
src/DevPortal/StellaOps.DevPortal.Site/public/api/stella.yaml - Try-It Console Assets:
src/DevPortal/StellaOps.DevPortal.Site/public/js/try-it-console.jssrc/DevPortal/StellaOps.DevPortal.Site/public/js/rapidoc-loader.jssrc/DevPortal/StellaOps.DevPortal.Site/public/js/api-reference.js
- Build/Validation Scripts:
src/DevPortal/StellaOps.DevPortal.Site/scripts/build-offline.mjssrc/DevPortal/StellaOps.DevPortal.Site/scripts/check-links.mjssrc/DevPortal/StellaOps.DevPortal.Site/scripts/check-perf.mjssrc/DevPortal/StellaOps.DevPortal.Site/scripts/run-a11y.mjssrc/DevPortal/StellaOps.DevPortal.Site/scripts/sync-spec.mjs
- Integrity Check:
src/DevPortal/StellaOps.DevPortal.Site/SHA256SUMS.devportal-stubs
E2E Test Plan
- Build site and verify static output generation
- Build offline bundle and verify archive output generation
- Run link checker and verify no broken links
- Run accessibility script (with deterministic skip behavior on unsupported host deps)
- Run distribution budget check
- Verify SHA256SUMS entry matches referenced artifact
Verification
- Verified: 2026-02-11
- Method: Tier 0 source verification + Tier 1 build + Tier 2 integration/CLI script replay
- Tier 0 Evidence:
docs/qa/feature-checks/runs/devportal/developer-portal/run-001/tier0-source-check.json - Tier 1 Evidence:
docs/qa/feature-checks/runs/devportal/developer-portal/run-001/tier1-build-check.json - Tier 2 Evidence:
docs/qa/feature-checks/runs/devportal/developer-portal/run-001/tier2-integration-check.json - Tests/Checks:
npm installnpm run sync:specnpm run buildnpm run build:offlinenpm run lint:linksnpm run test:a11ynpm run budget:dist- SHA256 verification against
SHA256SUMS.devportal-stubs
Notes
- DevPortal scripts were patched for cross-platform reliability:
- Windows-safe npm invocation in build/preview scripts.
- Safe process cleanup when
pkillis unavailable. - Correct ESM path resolution in perf checks.
- Link checker fallback for hosts serving directory pages via
/index.html. - Offline tar packaging fallback when host tar lacks GNU deterministic flags.