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

Open
wants to merge 1 commit into
base: branch-25.02
Choose a base branch
from

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?

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