package.elm-lang.org
package.elm-lang.org copied to clipboard
Link "browse source" directly to the relevant code
trafficstars
... not to the top level of the github repo.
Requested, for example, here. I've also felt the same want.
Should be something happening in these lines: https://github.com/elm-lang/package.elm-lang.org/blob/a8f00fba39fd9d82ff6e27f820932859f481475a/frontend/Component/Header.elm#L36-L37
Had a look myself at how this might be doable. It's complicated, by the fact that there is no known directory structure that all packages follow. So one cannot simply build the link by appending "src/" and the module name.
May be possible with https://github.com/elm-lang/elm-make/issues/29