Set up better erlang docs handling