Skip to content

Native support for "umbrella" Erlang projects #2071

@robertoaloi

Description

@robertoaloi

It is common for Erlang projects to be composed by several distinct applications. This is usually referred to as an umbrella (or release) project. Since ex_doc operates at application level, this means that the user has to figure out a way to produce an index for the project itself.

In the case of a rebar3 project, this is partially solved by the rebar3_ex_doc plugin, which has basic support for umbrella projects. For Erlang projects not using rebar3, this has to be solved case by case.

The most notorious example is Erlang/OTP itself, where an index of all modules is generated here, and a fake index application is defined and used to get the feeling of a single projects. This approach requires custom, duplicated logic for various projects.

Was it ever considered to add native support for umbrella projects to ex_doc itself? I believe it would simplify its usage outside of rebar3 and increase its adoption.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions