Stream: ideas

Topic: Putting name of the package as a header on the docs pages


view this post on Zulip Hannes Nevalainen (Dec 05 2023 at 23:29):

I'm a newcomer, and I spend a lot of time in the docs. When having multiple docs pages open at once it is hard to quickly see which package I'm looking at. Is this docs page referring to builtins, basic-cli or some other package? The only place to differente the windows is to look at the url. I think there should some header each doc page telling which package I'm looking at. Maybe put the name of the package above the search field or something like that.

Id be willing to help out with this, but I would need some pointers on where I should start digging. :)

Skärmavbild-2023-12-06-kl.-00.22.22.png

view this post on Zulip Luke Boswell (Dec 05 2023 at 23:38):

I think you are looking for https://github.com/roc-lang/roc/blob/main/crates/docs/src/lib.rs

view this post on Zulip Luke Boswell (Dec 05 2023 at 23:39):

Sounds like a good idea to me :grinning:

view this post on Zulip Richard Feldman (Dec 05 2023 at 23:53):

yeah! I think the main design question is how to communicate the string that should go there :big_smile:

view this post on Zulip Richard Feldman (Dec 05 2023 at 23:54):

I guess we could make it be an argument to roc docs


Last updated: Jun 16 2026 at 16:19 UTC