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 handling of remote URLs for standard libraries, tag 1.2.2 #2372

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

mortenpi
Copy link
Member

These changes are necessary to fix the generation of source URLs for standard libraries in the Julia manual.

  • In relpath_from_remote_root we no longer expand symlinks in the docstring metadata filepaths. This is because for normal builds, the standard libraries in usr/share/julia/stdlib/... are symlinked to stdlib/, and this way we can handle both the CI build and normal build the same way. At the same time, it also doesn't seem important for the packages, since I wouldn't expect there to be any symlinks there normally.
  • In the CI builds, the filepaths in the docstring metadata for standard libraries are actually the /cache/* ones. So if the path doesn't exists, we'll call Base.fixup_stdlib_path on it, to see if that allows us to find the actual source path.

X-ref: JuliaLang/julia#47105 (comment)

CHANGELOG.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant