-
Notifications
You must be signed in to change notification settings - Fork 31
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
Remove LibGit2 dep #167
Remove LibGit2 dep #167
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That works too.
e41b383
to
aec4f32
Compare
So my suggestion is that we keep doing that here. I took the liberty of pushing a change in 245a9cf to that effect. |
One question to anyone who knows the code loading better: is LibGit2 always loaded in a normal Julia session? Because it's no longer in the package environment, so I would expect this not to work:
But it clearly does. The case I'm wondering if we should be making sure that LibGit2 gets loaded in Documenter, to guarantee that these links get correctly generated in the manual. Or it's fine, as long as you're building the docs with a normal Julia binary..? |
LibGit2 is in sysimage in 1.10. In 1.11 it doesn't work anymore (LibGit2 is not in sysimage). |
|
It doesn't do that right now, and any fix upstream would also only be in 1.12+. So should we add that handling here? I.e. if |
That seems the most reasonable behaviour to me. Keeps the current behaviour in CI where we expect |
Since |
Alternative to #165
This only supports GitHub URLs right now. Ultimately it would be nice if this could somehow hook into https://documenter.juliadocs.org/stable/lib/remote-links/#remotes-for-files