Kapeli / Dash-User-Contributions

Dash repo of user contributed docsets
2k stars 851 forks source link

Request: sections in Hex docs #3953

Closed xxdavid closed 1 year ago

xxdavid commented 2 years ago

Hi, thank you for making Dash. I've been happily using it for years!

I also really love the tremendous support of Hex docsets. The only thing I think is missing is sections in the left sidebar. Each module in Elixir has something like an introduction to the module (called moduledoc) with information regarding the module as a whole. The moduledoc is usually structured with headings and these are then shown in the left sidebar on hexdocs.pm to ease the navigation (under Sections). I think all h2s under the section#moduledoc are listed there. See for example GenServer or GenStage (the latter uses an older version of ExDoc thus the page looks a bit different but the section#moduledoc h2 selector should still hold).

I think the headings could also be listed in the left sidebar of Dash, at the top (above Types). What do you think about it?

Kapeli commented 1 year ago

Thanks for suggesting this! I've added support for this.

Please reinstall the docsets you need.

xxdavid commented 1 year ago

Thanks! 🙂