Skip to content

X-ORG-2491: Publish API docs to docs.nvidia.com - #2492

Merged
rapids-bot[bot] merged 4 commits into
rapidsai:mainfrom
josephine-wolf-oberholtzer:josephine/x-org-2491-publish-api-docs
Jul 29, 2026
Merged

X-ORG-2491: Publish API docs to docs.nvidia.com#2492
rapids-bot[bot] merged 4 commits into
rapidsai:mainfrom
josephine-wolf-oberholtzer:josephine/x-org-2491-publish-api-docs

Conversation

@josephine-wolf-oberholtzer

@josephine-wolf-oberholtzer josephine-wolf-oberholtzer commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description

Contributes to #2491

As part of publishing API docs to docs.nvidia.com, we need to integrate a new shared workflow into the build workflow.

This integration will take the docs publish by the docs-build job and push them to the docs.nvidia.com S3 bucket. It does not automatically make those docs go live - that needs to be handled out-of-band by the docs team themselves.

N.B. This does not replace publishing docs to docs.rapidsai.org. This is in addition to.

XREF: rapidsai/shared-workflows#596

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@josephine-wolf-oberholtzer
josephine-wolf-oberholtzer requested a review from a team as a code owner July 23, 2026 21:05
@josephine-wolf-oberholtzer josephine-wolf-oberholtzer added doc Documentation non-breaking Non-breaking change labels Jul 23, 2026
@josephine-wolf-oberholtzer josephine-wolf-oberholtzer added improvement Improvement / enhancement to an existing function ci and removed doc Documentation labels Jul 23, 2026
@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Adds branch-gated publish-api-docs jobs to build and pull-request workflows. Each runs after docs-build, invokes a pinned reusable workflow, passes Akamai/AWS credentials and documentation settings, and disables dry-run mode.

Changes

API documentation publishing

Layer / File(s) Summary
Configure API documentation publishing
.github/workflows/build.yaml, .github/workflows/pr.yaml
Adds publishing jobs that depend on docs-build, publish rmm,librmm, map versions 26.08 and 26.10, pass Akamai/AWS credentials, and connect the pull-request job to pr-builder.

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

Possibly related issues

  • rapidsai/cudf#23411 — Adds the shared API documentation publishing workflow after docs-build.
  • rapidsai/rmm#2491 — Covers the shared API documentation publishing workflow integration.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: publishing API docs to docs.nvidia.com.
Description check ✅ Passed The description matches the change by explaining the new shared workflow and docs.nvidia.com publishing flow.
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
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@josephine-wolf-oberholtzer
josephine-wolf-oberholtzer force-pushed the josephine/x-org-2491-publish-api-docs branch from d938c89 to 4af8f56 Compare July 23, 2026 21:08
@josephine-wolf-oberholtzer

Copy link
Copy Markdown
Contributor Author

/ok to test

@gforsyth gforsyth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good -- few small questions that are more about process and less about implementation.

Is the plan to merge this in while it's still pointing at your branch on shared-workflows or will that stabilize before this goes in?

Comment thread .github/workflows/build.yaml Outdated
Comment thread .github/workflows/build.yaml Outdated
akamai-emails-to-notify: joberholtzer@nvidia.com
docs-projects: rmm,librmm
dry-run: false
version-map: '{"26.08": "legacy", "26.10": "stable"}'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

26.08 isn't released yet -- is this indicative of when we expect these docs to go live in their new home?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, exactly. The docs are slated for going live on docs.nvidia.com at/just after the upcoming release.

@bdice bdice Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At that point, 26.08 would be stable and 26.10 would be nightly. (legacy is 26.06 after the 26.08 release.) Do we need to make a change here?

@josephine-wolf-oberholtzer josephine-wolf-oberholtzer Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably just misunderstanding on my end!

I'm updating the map like so: {"26.06": "legacy", "26.08": "stable"}

So, in this moment:

  • main has version 26.10 in its VERSION file, but 26.10 is no longer in the map, so merges to main get published to /rmm/26.10/, /rmm/latest/ and /rmm/nightly/
  • 26.08 is in the map as stable, so merges to the release/26.08 branch should get published to /rmm/26.08/ and /rmm/stable/
  • 26.06 is also in the map, but nobody's pushing to release/26.06 anymore, so it's unlikely we'll see any 26.06 docs show up on docs.nvidia.com unless you go out of your way to do it

Lemme know if I'm on the right track here.

@bdice bdice Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really close. That will be the correct state after the 26.08 release -- with the one caveat that we won't publish /rmm/latest/.

The current state (2026-07-28) is that the 26.08 burndown process has begun (and we've hit code freeze for some libraries), but the 26.08 release hasn't happened yet. When burndown begins, we open release/26.08 and update main to 26.10. The current mapping should be:

branch endpoints
main /rmm/26.10/ and /rmm/nightly/
release/26.08 /rmm/26.08/ (no special tag 😢)
release/26.06 /rmm/26.06/ and /rmm/stable/
release/26.04 /rmm/26.04/ and /rmm/legacy/

After the 26.08 release happens, it should be basically what you wrote above:

branch endpoints
main /rmm/26.10/ and /rmm/nightly/
release/26.08 /rmm/26.08/ and /rmm/stable/
release/26.06 /rmm/26.06/ and /rmm/legacy/

But don't worry about 26.06 or earlier for docs.nvidia.com, as you're saying -- we don't need to publish retroactively (at least not right now).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, will adjust the mapping to {"26.04": "legacy", "26.06": "stable"}.

@josephine-wolf-oberholtzer

Copy link
Copy Markdown
Contributor Author

@gforsyth re: your top-level review question, once I verify this works end-to-end in this PR with my shared-workflows branch, I'll finalize both the shared-actions and shared-workflows changes and merge them to their respective mains, then update the branch reference here to point to shared-workflows@main.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
.github/workflows/pr.yaml (2)

24-24: 🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

Do not make pr-builder depend on the conditional publishing job.

When docs-build is skipped because build_docs is false (Line 327), publish-api-docs is also skipped, and GitHub Actions consequently skips pr-builder because of this new needs dependency. This prevents normal PR validation whenever documentation files are unchanged.

Remove publish-api-docs from pr-builder.needs; retain the dependency chain only for the publishing job.

Also applies to: 334-355

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/pr.yaml at line 24, Remove publish-api-docs from the needs
list for pr-builder in the workflow, while preserving its dependency chain for
the publishing job. Ensure pr-builder runs normally when conditional
documentation jobs are skipped.

335-355: 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Restrict non-dry-run publishing to a trusted target.

github.ref_type == 'branch' permits publication from every branch, while dry-run: false and the 26.10stable mapping target the live documentation bucket. A same-repository feature branch could therefore overwrite stable docs. Use a dedicated test bucket/environment for integration, or gate this job to an explicitly trusted branch with deployment approval.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/pr.yaml around lines 335 - 355, Restrict the non-dry-run
publish job guarded by github.ref_type and using publish-api-docs.yaml to an
explicitly trusted branch or deployment-approved environment instead of allowing
every branch. Preserve the existing stable version mapping only for the trusted
production target; use a dedicated test bucket/environment for integration
branches if they must continue publishing.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In @.github/workflows/pr.yaml:
- Line 24: Remove publish-api-docs from the needs list for pr-builder in the
workflow, while preserving its dependency chain for the publishing job. Ensure
pr-builder runs normally when conditional documentation jobs are skipped.
- Around line 335-355: Restrict the non-dry-run publish job guarded by
github.ref_type and using publish-api-docs.yaml to an explicitly trusted branch
or deployment-approved environment instead of allowing every branch. Preserve
the existing stable version mapping only for the trusted production target; use
a dedicated test bucket/environment for integration branches if they must
continue publishing.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 8f66eb06-b5ce-4d6d-91f2-51568012a666

📥 Commits

Reviewing files that changed from the base of the PR and between acaf10c and dba64f6.

📒 Files selected for processing (1)
  • .github/workflows/pr.yaml

@gforsyth gforsyth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving an approval here for when this gets unblocked.

We should see that the shared-workflows branch is pointed at main.

Thanks for all the work on this @josephine-wolf-oberholtzer !

@josephine-wolf-oberholtzer
josephine-wolf-oberholtzer force-pushed the josephine/x-org-2491-publish-api-docs branch from 6337691 to d96388d Compare July 28, 2026 17:03
@josephine-wolf-oberholtzer
josephine-wolf-oberholtzer force-pushed the josephine/x-org-2491-publish-api-docs branch from e7dc034 to 4ea0400 Compare July 29, 2026 00:20
@josephine-wolf-oberholtzer

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit eeea5f7 into rapidsai:main Jul 29, 2026
89 checks passed
@josephine-wolf-oberholtzer
josephine-wolf-oberholtzer deleted the josephine/x-org-2491-publish-api-docs branch July 29, 2026 19:16
@coderabbitai coderabbitai Bot mentioned this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants