Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken links in docs #1329

Merged
merged 8 commits into from
Apr 2, 2024
Merged

Conversation

pentschev
Copy link
Member

It was brought to our attention that some links in our docs are broken, this change should fix those issues.

Closes #1328

@pentschev pentschev requested a review from a team as a code owner April 2, 2024 10:21
@github-actions github-actions bot added the ci label Apr 2, 2024
@pentschev pentschev added 3 - Ready for Review Ready for review by team doc Documentation non-breaking Non-breaking change labels Apr 2, 2024
ci/release/update-version.sh Outdated Show resolved Hide resolved
@@ -14,4 +14,4 @@ Usage
In order to use explicit-comms in Dask/Distributed automatically, simply define the environment variable ``DASK_EXPLICIT_COMMS=True`` or setting the ``"explicit-comms"``
key in the `Dask configuration <https://docs.dask.org/en/latest/configuration.html>`_.

It is also possible to use explicit-comms in tasks manually, see the `API <api.html#explicit-comms>`_ and our `implementation of shuffle <https://github.com/rapidsai/dask-cuda/blob/branch-0.20/dask_cuda/explicit_comms/dataframe/shuffle.py>`_ for guidance.
It is also possible to use explicit-comms in tasks manually, see the `API <api/#explicit-comms>`_ and our `implementation of shuffle <https://github.com/rapidsai/dask-cuda/blob/branch-24.06/dask_cuda/explicit_comms/dataframe/shuffle.py>`_ for guidance.
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion: Use main rather than nightly branch? (see comment above)

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can leave this. However, one thing occurs to me. We now need to go through and update this branch link with every new release, yes?

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 think we can leave this. However, one thing occurs to me. We now need to go through and update this branch link with every new release, yes?

Yes, which is what this change does, this script is launched when a new branch is created.

@@ -56,3 +56,8 @@ for FILE in .github/workflows/*.yaml; do
sed_runner "/shared-workflows/ s/@.*/@branch-${NEXT_SHORT_TAG}/g" "${FILE}"
done
sed_runner "s/RAPIDS_VERSION_NUMBER=\".*/RAPIDS_VERSION_NUMBER=\"${NEXT_SHORT_TAG}\"/g" ci/build_docs.sh

# Docs referencing source code
for FILE in docs/source/*.rst; do
Copy link
Member

Choose a reason for hiding this comment

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

This will only list the .rst files directly in that directory, so docs/source/examples/ucx.rst for example isn't included (it doesn't need to be though).

This could be updated to use find instead: https://github.com/rapidsai/cuml/blob/branch-24.06/ci/release/update-version.sh#L82

Copy link
Member

Choose a reason for hiding this comment

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

I think?

Suggested change
for FILE in docs/source/*.rst; do
find .docs/source/ -type f -name '*.rst' -print0 | while IFS= read -r -d '' FILE; do

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 don't think it's necessary right now but it won't hurt either, so I applied that change in 19522fd . Thanks for linking that find line.

@pentschev
Copy link
Member Author

Thanks @wence- and @raydouglass for the reviews!

@pentschev
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit 127de59 into rapidsai:branch-24.06 Apr 2, 2024
27 checks passed
@pentschev pentschev deleted the fix-docs-links branch April 3, 2024 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team ci doc Documentation non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken link in explicit_comms docs
3 participants