Skip to content

Omit autosummary pages in PR previews - #3244

Merged
mdboom merged 2 commits into
NVIDIA:mainfrom
mdboom:reduce-doc-preview
Oct 27, 2026
Merged

mdboom merged 2 commits into
NVIDIA:mainfrom
mdboom:reduce-doc-preview

Conversation

@mdboom

@mdboom mdboom commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

This is an implementation for Option #2 mentioned in #3231.

The suggestion in #3231 was to omit the autosummary pages only in the _v2 API (because this is where the vast majority of the /new/ usage was coming from). However, it is much simpler and easier to just omit all of the autosummary pages across all of cuda_bindings, and I don't see any particular reason to treat _v2 as special.

While this removes the ability to visually inspect the output for these autogenerated classes, (1) these docs are auto-generated from the header files, so aren't really part of hand-written content in the cuda_bindings ever, (2) as of Aug 6, 2026 (MR !516) the generator validates that all of the docstrings it generates are valid Google docstring / reStructuredText format. So needing to test that the syntax is valid in cuda_bindings is much less necessary. Docstrings may still have incorrect formatting, but they will have valid formatting so will at least not break the doc build or through the rendered page into chaos.

@mdboom
mdboom requested a review from leofang October 27, 2026 13:35
@mdboom mdboom self-assigned this Oct 27, 2026
@github-actions github-actions Bot added the cuda.bindings Everything related to the cuda.bindings module label Oct 27, 2026
@mdboom mdboom added documentation Improvements or additions to documentation P0 High priority - Must do! BLOCKING CI labels Oct 27, 2026
@mdboom mdboom added this to the cuda.bindings 13.5.0 & 12.9.10 milestone Oct 27, 2026
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 590a8bf and a86d7e9.

Files selected for processing: 1
  • cuda_bindings_13/docs/source/conf.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

📝 Summary

Summary by CodeRabbit

  • Documentation
    • Preview documentation builds no longer generate autosummary API pages.
    • The CI preview announcement now clarifies that these generated API pages are omitted. Other documentation build modes remain unchanged.

When BUILD_PREVIEW is truthy, Sphinx disables autosummary page generation. The CI preview announcement now states that autosummary-generated API pages are omitted.

Changes: Documentation preview behavior

Layer / File(s) Summary
Configure and announce preview output
cuda_bindings_13/docs/source/conf.py
Autosummary generation is disabled when BUILD_PREVIEW is truthy and enabled otherwise. The preview announcement states that autosummary-generated API pages are omitted.

Priority: Low

Change: Other

Merge Risk: Minimal · up to a86d7

No actionable merge-blocking risk was identified.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor
Doc Preview CI
Preview removed because the pull request was closed or merged.

@mdboom
mdboom merged commit 20a4aee into NVIDIA:main Oct 27, 2026
34 checks passed
github-actions Bot pushed a commit that referenced this pull request Oct 28, 2026
Removed preview folders for the following PRs:
- PR #2713
- PR #3128
- PR #3149
- PR #3229
- PR #3244
- PR #3248
- PR #3249
- PR #3255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BLOCKING CI cuda.bindings Everything related to the cuda.bindings module documentation Improvements or additions to documentation P0 High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants