Skip to content

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)

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