Skip to content

docs(ci): publish libsy rustdoc previews - #254

Merged
nachiketb-nvidia merged 1 commit into
mainfrom
docs/libsy-rustdoc
Aug 3, 2026
Merged

nachiketb-nvidia merged 1 commit into
mainfrom
docs/libsy-rustdoc

Conversation

@nachiketb-nvidia

@nachiketb-nvidia nachiketb-nvidia commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

What

  • build switchyard-libsy rustdoc in the existing documentation workflow
  • publish rustdoc with the MkDocs site for main and same-repository PR previews
  • trigger documentation builds when libsy, protocol, or workspace Rust inputs change

Why

Make the current libsy crate API documentation directly browsable after CI without requiring a crates.io release or a downloaded workflow artifact.

How

The workflow runs cargo doc --locked --no-deps --package switchyard-libsy, copies target/doc under site/rust, and reuses the existing GitHub Pages deployment and PR preview jobs.

What to review

  • documentation workflow path filters
  • rustdoc build and published site/rust layout
  • reuse of the existing main and PR-preview deployments

Validation

No additional tests were run. The documentation CI job builds and publishes the combined site.

@nachiketb-nvidia
nachiketb-nvidia requested a review from a team as a code owner August 3, 2026 17:19
@github-actions

github-actions Bot commented Aug 3, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.1

🚀 View preview at
https://NVIDIA-NeMo.github.io/Switchyard/pr-preview/pr-254/

Built to branch gh-pages at 2026-08-03 17:40 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 528ea28a-6202-4eb6-9f69-ebfa04045d4c

📥 Commits

Reviewing files that changed from the base of the PR and between 3b9fbd5 and be0b44c.

📒 Files selected for processing (1)
  • .github/workflows/docs.yml

Walkthrough

The documentation workflow now triggers on Rust project changes. It also generates switchyard-libsy Rust documentation and includes it under site/rust in the uploaded site artifact.

Changes

Documentation workflow

Layer / File(s) Summary
Rust change triggers
.github/workflows/docs.yml
Pull-request and push filters now include Rust manifests, toolchain configuration, and libsy and protocol crate paths.
Rust documentation publishing
.github/workflows/docs.yml
The workflow runs locked rustdoc with warnings denied and copies the generated documentation into site/rust.

Estimated code review effort: 2 (Simple) | ~10 minutes

Poem

I’m a rabbit with docs to deploy,
Rust pages now hop into joy.
Triggers watch every crate,
Warnings guard the gate,
And site/rust joins the convoy.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes publishing libsy Rustdoc previews through the documentation CI workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch

Comment @coderabbitai help to get the list of available commands.

@nachiketb-nvidia
nachiketb-nvidia merged commit aac5119 into main Aug 3, 2026
15 checks passed
@nachiketb-nvidia
nachiketb-nvidia deleted the docs/libsy-rustdoc branch August 3, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants