I'm looking to find the path to the installed documentation (e.g. /opt/julias/julia-1.7.3/share/doc/julia/html/en
), but I'm not sure how to go about it.
how did you install julia?
joinpath(Sys.BINDIR, "..", "share", "doc", "julia", "html", "en")
Thanks!
Timothy has marked this topic as resolved.
For reference, this has helped with https://github.com/tecosaur/HelpfulErrors.jl/commit/6f6cf3ad60b2861160c82bb2bc2503b11a8fbbe0
Note that this won't necessarily work if you compiled from source (which is why I asked :) )
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
Ah, I may add a check that that dir exists else use web -check.
make install
builds them.
that builds and installs them, yeah
Last updated: Nov 22 2024 at 04:41 UTC