Redesigning Haskell docs
One of the first impressions most people mention having about Haskell is that it looks scary. Not just the concepts involved are overwhelming, but the documentation pages are not properly user-friendly and welcoming. Last December I decided to take action and propose a new design to the Hackage and the Haddock repositories.
Edit: find the reddit thread about this blog post here.
More than a year ago I started playing with Elixir
and I noticed quickly that all its official pages look consistent and welcoming. And after seven months working with Haskell daily at work, I realized that our community really misses something of that kind: a consistent, friendly and welcoming look.
Very recently some big names in the Haskell words, namely Simon Peyton Jones, have come forward with a proposal called SLURP
: a Single Liberal Unified Registry of Haskell Packages. In that proposal they say:
Hackage has been extraordinarily successful as a single repository through which to share Haskell packages. (…) But in recent years there has been increasing friction over,
- (..)
- Hackage’s features, especially the visual presentation and package documentation.
What a coincidence and what a timing to take action! I found it significant that even to the big Haskell researchers the visual presentation of the current hackage is rather lacking behind.
Pull requests
You can find my pull requests here:
Preview
Using the links below you can preview how my latest changes look like on the given pages, as well how those pages currently look like. I am hosting the preview pages myself, therefore those pages will keep on being updated accordingly to the changes I push. This is a better way to let others preview and actually try the changes compared to screenshots, which I was doing before.
Hackage preview pages
Haddock preview pages
- Control.Lens.Cons (before)
- Control.Lens.Operators (before)
- Control.Lens.Tutorial (before)
- Numeric.Kalman (before)
Feedback
Thanks to Arian, a wave of people have come to find my pull requests and drop their feedback.
My colleague Nuno has taken a stab at redesigning hackage and haddock UI and would love to have your feedback https://t.co/2UM6O7mBIT pic.twitter.com/7WMX2VzAFM
— Arian van Putten (@ProgrammerDude) January 26, 2018
So far the majority seems very positive about the new look&feel, but there is also feedback preferring the current theme. The number one argument is that the current theme is dense in information, making it more suitable for quick glances and content searching.
What’s your opinion? Drop your comments here, by email or on the pull requests linked above.