akoutmos / doctor

Ensure that your Elixir project documentation is healthy
MIT License
178 stars 15 forks source link

Handle properly modules with `__using__` macro #39

Closed pnezis closed 3 years ago

pnezis commented 3 years ago

Traverse the AST in case of modules with __using__ macro and extend the docs and specs structs.

Closes #34

pnezis commented 3 years ago

@akoutmos This is not the optimal approach but it does the work. I traverse the AST within __using__ blocks and add the detected docs and specs to the ModuleInformation.

akoutmos commented 3 years ago

Thanks for another great addition to Doctor. I'll take this for a test drive tomorrow and get back to you with feedback :).

pnezis commented 3 years ago

Hello @akoutmos . Did you have the chance to test this PR? Did you encounter any bugs?

akoutmos commented 3 years ago

My bad. Got side tracked with some work stuff. Looks great. Really appreciate you taking this on. I'll cut a new release in the coming days with this new functionality :)