Skip to content

Help making my first contribution #903

@English3000

Description

@English3000

Currently, :ex_doc organizes functions using the navigation hierarchy:

Module > Alphabet

I proposed adding functionality for:

Category > Module > Alphabet

For starters, I looked at a similar pull request by @lackac

Taking a closer look, it appears I could add @doc category: :data in a file,

# mix.exs, project/0
docs: [
  groups_for_functions: [
    Data: & &1[:category] == :data
  ]
]

and this would generate a + Data dropdown tab (once the next release of :ex_doc comes out), creating the nav hierarchy:

Module > Category > Alphabet

In all honesty, there's a lot going on in retriever.ex, where I believe the "action" happens--setting up structs which are used to render the UI--and I'm having a hard time understanding.

If there's the bandwidth, it would be helpful to get a high-level overview (or guidance on how I'd add control over the navigation hierarchy to the codebase). In addition, this would reduce the barrier for others in making a contribution.

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