Hello!
Lately I’ve been thinking about Elm documentation and these two blogposts:
I wonder whether there would be a general interest to make our Elm docs better. If I adopt the terminology from the blogposts, that might mean consolidating some resources we already have into a central place:
Tutorials
Stuff like building Counter and RandomGif, step by step, from the “I don’t even have Elm installed” to “Yay, it shows me cat pictures!”
How-to guides
Stuff like:
- adding a port doing
element.scrollIntoView() to an Elm application
- creating a JSON decoder for some API, etc.
Reference
That would be probably both package docs AND docs for the language itself.
Judging from posts like this one, we could probably make that second one a bit better?
Explanations
Why is stuff in Elm done the way it is. Context, history, perspective. What Evan talks and writes about. What advantages and disadvantages does it bring. How to think about stuff.
Do you think this would be a good thing to have? To clean the onboarding and developer experience a bit? Somewhere like docs.elm-lang.org? (I was playing with the idea of buying an elm-docs.com or elm-learning.com domain, but haven’t bought anything.)