jelly-beam / rebar3_ex_doc

rebar3 plugin for generating docs with ex_doc
Apache License 2.0
43 stars 13 forks source link

Allow external config file #39

Closed maxno-kivra closed 1 year ago

maxno-kivra commented 1 year ago

This adds support for an external config file, for example if you want to share the config with Elixir or as an escape hatch to be able to use a fun for :filter_modules.

filmor commented 1 year ago

I like this, I ran into the exact same problem!

maxno-kivra commented 1 year ago

I should note that the external file can also be in Erlang term format, since ExDoc itself supports that. I haven't tried it though.

starbelly commented 1 year ago

@maxno-kivra Do you think we should doc that it can be erlang terms or alternatively exs? I would think most folks with rebar projects would probably prefer erlang terms.

maxno-kivra commented 1 year ago

Yeah, that sounds good. It's mentioned ex_doc --help, but can't hurt to make it easier to find 🙂

starbelly commented 1 year ago

@maxno-kivra Thanks for this ❤️ . Cut 0.2.16 and published to hex 🥳