Skip to content

Conversation

@jameslamb
Copy link
Member

@jameslamb jameslamb commented Aug 13, 2025

Follow-up to fix the issues noted in #657 (comment)

In #657, I accidentally removed some projects (like cucim, cuxfilter, and rmm) from https://docs.rapids.ai/api/, via a mix of a bad merge conflict resolution and mistakes made reading the diff.

This fixes that, by restoring the dropped entries in _data/docs.yml.

It also proposes changes to prevent this type of thing from slipping through in the future:

  • checking projects-to-versions.json into source control
  • using a pre-commit hook to regenerate it

Notes for Reviewers

How I tested this

Re-generated the docs site locally, following the docs at

### Local macOS development

Confirmed that every expected library was downloaded, the processing worked for all of them, and the API docs pages rendered correctly.

I also tried manually changing entries in releases.json, docs.yml, and projects-to-versions.json, then running

pre-commit run --all-files

In all cases, I saw the hook correctly update that file.

@jameslamb jameslamb added the bug Something isn't working label Aug 13, 2025
@jameslamb jameslamb requested a review from a team as a code owner August 13, 2025 18:58
@netlify
Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for docs-rapids-ai ready!

Name Link
🔨 Latest commit 323de86
🔍 Latest deploy log https://app.netlify.com/projects/docs-rapids-ai/deploys/689cec93eab7620008904938
😎 Deploy Preview https://deploy-preview-669--docs-rapids-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

autoupdate_schedule: quarterly
skip:
# requires 'jq' and 'yq', which dont' come pre-installed in the pre-commit.ci image
- generate-projects-to-versions
Copy link
Member Author

Choose a reason for hiding this comment

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

This was something I hadn't considered when implementing this in a shell script and then introducing a pre-commit hook... for language: system types of hooks, you have to manage your own dependencies (https://pre-commit.com/#system).

And on pre-commit.ci, we don't have any ability (as far as I can tell) to pre-install things before pre-commit runs.

For now, to restore all the API docs, let's just skip this in CI.

I can put up a follow-up switching this to a Python script... that'd be easier to maintain anyway 😁

Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

Approving with a couple of suggestions

cugraph:
name: cuGraph
path: cugraph
desc: 'cuGraph is a GPU accelerated graph analytics library, with functionality like NetworkX, which is seamlessly integrated into the RAPIDS data science platform. cuGraph supports GNNs with PyG, DGL packages, cugraph-service for analytics on a remote graph, and WHOLEGRAPH for memory management.'
Copy link
Contributor

Choose a reason for hiding this comment

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

Non-blocking: This needs to be updated, the GNN functionality has been split out.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll address this in a follow-up... it does need to be updated (to remove DGL and to mention the specific library names for searchability), but not because the GNN functionality has been split out.

The whole family of cugraph packages builds its docs from one repo: https://github.com/rapidsai/cugraph-docs

Instead of uploading from individual projects' CI like the rest of RAPIDS. That is also why you don't see a separate entry for nx-cugraph in https://github.com/rapidsai/docs/blob/main/_data/docs.yml, I think.

I'll put up a follow-up with a proposal we can discuss.

cc @acostadon

Copy link
Member Author

Choose a reason for hiding this comment

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

Put up a proposal at #671

jameslamb and others added 3 commits August 13, 2025 14:46
Co-authored-by: Bradley Dice <bdice@bradleydice.com>
@jameslamb jameslamb merged commit 61afc7a into main Aug 13, 2025
6 checks passed
@jameslamb jameslamb deleted the fix/projects-to-versions branch August 13, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants