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 link to python doc #2537

Merged
merged 4 commits into from
Jan 16, 2025
Merged

Conversation

lowener
Copy link
Contributor

@lowener lowener commented Jan 10, 2025

Apply the same change as rapidsai/cuml#6202 to fix Python links to source code

@lowener lowener added bug Something isn't working documentation Improvements or additions to documentation 3 - Ready for Review non-breaking Non-breaking change labels Jan 10, 2025
fn = os.path.abspath(os.path.join("..", "python", fn))
if fn.endswith(".pyx"):
sp_path = next(x for x in sys.path if re.match(".*site-packages$", x))
fn = fn.replace("/opt/conda/conda-bld/work/python/cuvs", sp_path)
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 we need to make sure this builds for developers and not just by CI, right? Won't this break developers trying to build the docs locally?

@cjnolet
Copy link
Member

cjnolet commented Jan 16, 2025

/merge

@rapids-bot rapids-bot bot merged commit 8ea0e7e into rapidsai:branch-25.02 Jan 16, 2025
49 checks passed
@lowener lowener deleted the 25.02-doc-fix branch January 19, 2025 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review bug Something isn't working documentation Improvements or additions to documentation non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants