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
Update to allow generating documentation from OTP 27 on #509
Comments
Since kerl already downloads things from the internet and that is the expected behaviour, I would also download ex_doc if the user provides I've opened a pr that removes the warning about documentation not being able to be built. I could also add a command to |
That'd be perfect. Then we'd just add it to the path upon |
I've updated erlang/otp#8129 to now include IMO if an Erlang application wants to use ExDoc they should download it separetly for their needs so that they get the right version, though I can see the appeal of it always being available when erlang is installed with |
I can understand that, but I don't know if it's comparable. From what I understand, from OTP 27 on you're unable to build the docs without Edit: upon re-reading your previous comments better, I believe you mentioned we shouldn't download the tool for anything other than building the docs. With that I'm 100%. Otoh, I'd never consider it, but it could be nice to include @jadeallenx, thoughts on:
? Note: we could also propose, for example, if you're trying to build the docs and don't have |
You cannot build the Erlang/OTP docs, but any docs written by the user of erlang can be built just as before. So there is no reason to install ex_doc when installing erlang docs. However, you do need it build the docs. So I would download ex_doc as part of |
We must have So I am +1 on handling |
Understood, and agreed.
Edit: CI will take care of making sure the post-27 docs build on Ubuntu and macOS, at least. |
@garazdawi, I opened erlang/otp#8188 since I was surprised (while testing) that a few doc targets were removed. I'm adjusting |
Check what is required to have local documentation built from OTP 27 on.
Ref: https://erlangforums.com/t/erlang-otp-27-0-rc1-released/3300/14
Option:
KERL_BUILD_DOCS=true
It is quite possible we need to slightly adjust
kerl
to temporarily install (or ask to install)ex_doc
locally.The text was updated successfully, but these errors were encountered: