Make edoc an optional dependency
Some distributions (like the RabbitMQ Erlang distribution for RHEL/Fedora) may not include it, and as it's not installed via hex, start up will fail.
Hi @filmor and thanks. Won't this causes some runtime errors if the application is not available? If we make the application optional, we should probably ensure those use cases degrade gracefully (eg not to show docs).
It seemed to be doing exactly that (degrading gracefully), but I can check again.
It does seem to degrade half-way gracefully, it doesn't take down all of erlang-ls, just the edoc calls are crashing. Definitely much better than the current state of things for me :)