-
Notifications
You must be signed in to change notification settings - Fork 351
Description
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.