parroty / extwitter

Twitter client library for elixir.
MIT License
409 stars 129 forks source link

Docs do not generate on Elixir 1.8.x #112

Closed jbrowning closed 4 years ago

jbrowning commented 5 years ago

Tested on Elixir 1.8.1.

$ mix docs
...
** (RuntimeError) module ExTwitter.API.Auth was not compiled with flag --docs
    (ex_doc) lib/ex_doc/retriever.ex:152: ExDoc.Retriever.export_docs?/1
    (ex_doc) lib/ex_doc/retriever.ex:136: ExDoc.Retriever.get_module/2
    (elixir) lib/enum.ex:1327: Enum."-map/2-lists^map/1-0-"/2
    (ex_doc) lib/ex_doc/retriever.ex:116: ExDoc.Retriever.docs_from_modules/2
    (ex_doc) lib/ex_doc.ex:101: ExDoc.generate_docs/3
    (ex_doc) lib/mix/tasks/docs.ex:159: anonymous fn/6 in Mix.Tasks.Docs.run/3
    (elixir) lib/enum.ex:1940: Enum."-reduce/3-lists^foldl/2-0-"/3
    (ex_doc) lib/mix/tasks/docs.ex:158: Mix.Tasks.Docs.run/3
mdlkxzmcp commented 5 years ago

This started happening from 1.7.0-rc.0

parroty commented 4 years ago

Thanks for reporting and sorry being late to respond. Updated the dependencies with the commit above.