Stream: helpdesk (published)

Topic: ✔ Find path to Julia install


view this post on Zulip Fredrik Ekre (May 29 2022 at 15:31):

joinpath(Sys.BINDIR, "..", "share", "doc", "julia", "html", "en")

view this post on Zulip Timothy (May 29 2022 at 16:01):

Thanks!

view this post on Zulip Notification Bot (May 29 2022 at 16:01):

Timothy has marked this topic as resolved.

view this post on Zulip Timothy (May 29 2022 at 16:10):

For reference, this has helped with https://github.com/tecosaur/HelpfulErrors.jl/commit/6f6cf3ad60b2861160c82bb2bc2503b11a8fbbe0

view this post on Zulip Sukera (May 29 2022 at 16:18):

Note that this won't necessarily work if you compiled from source (which is why I asked :) )

view this post on Zulip Sukera (May 29 2022 at 16:18):

if you compile from source, by default you don't have built docs installed - you have to run make docs, which builds them in the julia repo locally

view this post on Zulip Timothy (May 30 2022 at 04:24):

Ah, I may add a check that that dir exists else use web -check.

view this post on Zulip Fredrik Ekre (May 30 2022 at 11:28):

make install builds them.

view this post on Zulip Sukera (May 30 2022 at 13:00):

that builds and installs them, yeah


Last updated: Oct 02 2023 at 04:34 UTC