NVIDIA / NVIDIA/cccl

[FEA]: Add automated, per-PR docs previews

Open
#5,621 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

### Is this a duplicate?

- [x] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cccl/issues) for this request and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)

### Area

Infrastructure

### Is your feature request related to a problem? Please describe.

As a contributor to CCCL, when I make updates to the docs, I would like to be able to easily view the rendered docs to verify and demo my changes.

Today, this would require me to manually build and view the HTML locally. If I wanted to share, I'd have to setup my own GitHub Pages on a fork or find some other way to serve the static site.

### Describe the solution you'd like

I would like an automation that for every PR that touches the docs, a rendered version of those docs will be created, hosted, and a link provided on the PR.

- [x] #5622
- [x] #5623
- [ ] Add a workflow that deletes the `pr-preview/pr-N` when PR #N is merged

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.