Repository navigation
Closed
Labels
Description
Phase 10 Task
Task ID: D1
Title: Add the CSAPI Entry Point to TypeDoc and VitePress
Source: Approved Phase 10 Roadmap
Roadmap: P10-ROADMAP.md
- Objective: Render the existing public CSAPI subpath in the current API-reference page with its correct consumer import path.
- Acceptance criteria advanced: P10-C3, P10-C4, P10-C5, P10-C6.
- Complexity/risk: Medium; documentation-pipeline integration.
- Locked decisions: One TypeDoc JSON and one API page; two TypeDoc entry points; per-module import-path mapping; no CSAPI root bulk exports; no internal export expansion.
- Expected work:
- add
src/ogc-api/csapi/index.tsto the existingdocs:apiTypeDoc command; - update
app/api.data.jsto process root and CSAPI modules with@camptocamp/ogc-clientand@camptocamp/ogc-client/csapirespectively; - pass the import path into existing class/function processors while preserving sorting and page structure;
- correct CSAPI-attributable unresolved documentation links using public links or code/plain text as appropriate;
- capture the upstream root-only warning baseline and distinguish it from CSAPI-added warnings;
- generate API data, build VitePress, and inspect representative rendered output;
- confirm
src/index.tsdid not gain bulk CSAPI exports.
- add
- Affected areas:
package.json, lockfile only if metadata requires it,app/api.data.js, and the listed CSAPI documentation-comment locations. - Explicit exclusions: Second API site/page/JSON, root export expansion, internal helper exports, unrelated upstream warning fixes, VitePress redesign.
- Automated acceptance gate:
npm run docs:apiandnpm run docs:buildexit 0;- generated data/output contains
CSAPIQueryBuilder,createCSAPIBuilder,parseDatastream, and@camptocamp/ogc-client/csapi; - root entries still display
@camptocamp/ogc-client; - no unexplained CSAPI-attributable TypeDoc warning remains;
- root-export comparison reports no CSAPI bulk export;
- formatter, typecheck, lint, and affected tests exit 0.
- Deliverable: One pushed documentation-pipeline integration commit.
- Closing evidence: Commit SHA, docs commands/results, representative output search, warning comparison, root-export check, files, deviations or
none.
Acceptance Criteria
- The task objective and expected work are complete under the locked decisions.
- Every condition in the automated acceptance gate above passes and its command output is recorded.
- The actual changed-file or evidence set stays within the listed affected areas.
- Every explicit exclusion is respected.
- Required workbench changes and evidence are committed and pushed to phase-10, or the task's stated evidence-only result is linked to an immutable commit.
- The closing comment records the commit SHA or verified immutable SHA, changed files, exact gate results, and Deviation from locked decision: none. or the approved deviation.
Dependencies
Blocked by: #194 — Phase 10 Task C1
Blocks: #196 — Phase 10 Task E1
Definition of Done / Closing Workflow
This issue is not complete until all three steps occur in order:
- Edit this issue so every acceptance checkbox is [x].
- Commit and push/sync all required changes or immutable evidence.
- Post the required summary comment and close the issue as completed.
Do not close without the summary comment. New findings are recorded separately and are not absorbed into this task.
Operational Constraints
Before starting, review AI_OPERATIONAL_CONSTRAINTS.md and use its required task-entry acknowledgment.
Authority order for this issue:
- Adopted standards and specifications.
- Project governance.
- P10 Contribution Goal and Definition.
- P10 Implementation Guide.
- P10 Roadmap.
- This issue.
- Existing repository code and documentation.
- Conversational context.
Preserve minimal diffs, do not refactor adjacent code, do not introduce new features or dependencies, and stop on unresolved scope or architectural conflict.
Activity
Sam-Bolling commentedon Aug 27, 2026
I have reviewed the AI Operational Constraints.
Issue goal: Complete Phase 10 Task D1 by integrating the existing public CSAPI subpath into the single TypeDoc/VitePress API reference with correct per-module consumer import paths.
Assumptions requiring confirmation: none.
docs(api): include CSAPI entry point (#195)
Sam-Bolling commentedon Aug 27, 2026
Completed Phase 10 Task D1.
55c14ec47c72f6d7c9c7e9f4a0acce804c61d7e8package.json,app/api.data.js,src/ogc-api/csapi/index.ts,src/ogc-api/csapi/factory.ts,src/ogc-api/csapi/url_builder.ts,src/ogc-api/csapi/formats/sensorml/parser.ts,src/ogc-api/csapi/formats/schema-response.ts. The lockfile did not require a change.docs:apicommand now generates one JSON fromsrc/index.tsandsrc/ogc-api/csapi/index.ts; the existing loader maps moduleindexto@camptocamp/ogc-clientand modulecsapito@camptocamp/ogc-client/csapiwhile retaining one API page and global alphabetical ordering.npm run docs:api: passed under Node.js 24.20.0.npm run docs:build: passed under Node.js 24.20.0; the existing VitePress JSON-import warning remains upstream/out of scope.indexandcsapi;CSAPIQueryBuilder,createCSAPIBuilder, andparseDatastreamare present incsapiand absent fromindex. Rendered imports use@camptocamp/ogc-client/csapifor those representatives and retain@camptocamp/ogc-clientforOgcApiEndpoint.src/index.tsis byte-for-byte unchanged from the parent commit and contains zero CSAPI matches; no bulk CSAPI export was added.npm run typecheck: passed.npm run lint: passed.format:check,typecheck,lint, browser tests, and Node tests.