I'm trying to run mix docs inside this project lib_cleanex
$ mix docs
** (RuntimeError) module Cleanex.Cleanable.Any was not compiled with flag --docs
(ex_doc) lib/ex_doc/retriever.ex:154: ExDoc.Retriever.export_docs?/1
(ex_doc) lib/ex_doc/retriever.ex:138: ExDoc.Retriever.get_module/2
(elixir) lib/enum.ex:1314: 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:107: ExDoc.generate_docs/3
(ex_doc) lib/mix/tasks/docs.ex:202: anonymous fn/6 in Mix.Tasks.Docs.run/3
(elixir) lib/enum.ex:1925: Enum."-reduce/3-lists^foldl/2-0-"/3
(ex_doc) lib/mix/tasks/docs.ex:201: Mix.Tasks.Docs.run/3
Should compile and create docs.
Any thoughts?
Thank you!
Please update your ExDoc version. :) ~> 0.19 should be good enough!
Yep! It was the mix.lock that forced an older version of ex_doc even though I've specified ">= 0.0.0".
Regards!
Most helpful comment
Please update your ExDoc version. :)
~> 0.19should be good enough!