Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/linux-x64-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ jobs:
fi
npm run clean

- name: Validate current JSDoc
if: ${{ matrix.ros_distribution == 'lyrical' && matrix['node-version'] == '24.X' }}
run: npm run docs

- name: Coveralls
if: ${{ matrix.ros_distribution == 'lyrical' && matrix['node-version'] == '24.X' }}
uses: coverallsapp/github-action@v2
Expand Down
6 changes: 5 additions & 1 deletion lib/openapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ function topLevelSchema(typeName, subType, components) {
* not the rclnodejs release that generated the document, and there's no
* source for the former today — so it's a fixed `'0.0.0'` placeholder.
*
* @param {{call: object, publish: object, subscribe: object, action?: object}} capabilities
* @param {object} capabilities
* @param {object} capabilities.call
* @param {object} capabilities.publish
* @param {object} capabilities.subscribe
* @param {object} [capabilities.action]
* @param {object} [options]
* @param {string} [options.title]
* @param {string} [options.basePath] - default '/capability'
Expand Down
9 changes: 9 additions & 0 deletions tools/jsdoc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@ Because the manifest plus the Git tags fully describe the published set, the
live site is always reconstructed from a fresh build — nothing can silently
drop off.

### Pull Request and Push Validation

The [Linux x64 build/test workflow](../../.github/workflows/linux-x64-build-and-test.yml)
runs `npm run docs` in its Lyrical / Node 24 lane for pull requests and pushes.
The check builds the current checkout's API docs and landing page using the
publication template; invalid JSDoc annotations or generation errors fail the job.
It does not rebuild historical tags, upload artifacts or deploy to Pages.
The full publication dry run remains necessary to verify all tagged versions.

### Testing

- Run the workflow manually with `dry_run` enabled first to verify the build
Expand Down
Loading