javascript icon indicating copy to clipboard operation
javascript copied to clipboard

[Documentation] Group utilities by category

Open lucascarrias opened this issue 5 years ago • 5 comments

At brazilian-utils site, All utilities are listed together without grouping by utility group/category, e.g CPF utilities, Boletos utilities and so on. Grouping the categories can make the navigation easier.

As you can see bellow, this is the current sidebar: image

One suggestion is just to add a group title for each category in the docs, as this example from date-fns docs: image

lucascarrias avatar Jun 10 '21 17:06 lucascarrias

Nice idea @LucasCarrias we just need to confirm if Docsify has support for that, can you help us with that?

hyanmandian avatar Jun 10 '21 18:06 hyanmandian

What do you think @LucasCarrias of something like this?

image

hyanmandian avatar Jun 15 '21 16:06 hyanmandian

We can enjoy that we going to change the docs and change sections names for something like that:

CPF -> Validate CPF -> Generate CPF -> Format

hyanmandian avatar Jun 15 '21 16:06 hyanmandian

@hyanmandian That looks pretty good! I really liked the grouping.

However, I'm not quite sure if changing the function name by its action name is a common pattern in documentations. At least, thinking about docs like date-fns and lodash.

That is just an impression that I'm bringing into discussion. Besides that, the docs seems to be cleaner and easier to navigate.

lucascarrias avatar Jun 15 '21 19:06 lucascarrias

Melhoraremos a doc na proxima versao!

hyanmandian avatar Jan 29 '25 23:01 hyanmandian