elm / elm-lang.org

Server and client code for the Elm website.
http://elm-lang.org/
BSD 3-Clause "New" or "Revised" License
1.99k stars 367 forks source link

elm init page 404 #840

Closed eimfach closed 4 years ago

eimfach commented 4 years ago

After I started a new Elm Project with elm init the output refers to the init documentation for 0.19.1:

Check out <https://elm-lang.org/0.19.1/init> for all the answers!

-> which redirects me to the following link in elm compiler repository:

https://github.com/elm/compiler/blob/master/hints/init%3E.md

-> Which leads me to the 404 Page of GitHub

I guess something went wrong, since there is this %3E character ...

rlefevre commented 4 years ago

What OS, shell and terminal do you use?

For me, clicking in my terminal the link opens https://github.com/elm/compiler/blob/master/hints/init.md which works correctly.

eimfach commented 4 years ago

Oh okay yes, I see... when I opened it manually it works. I am using macOS and open the link with cmd+click from vscode terminal...

rlefevre commented 4 years ago

Then your terminal includes the trailing > in the URL, trying to open https://elm-lang.org/0.19.1/init>. Maybe it would be better to remove the enclosing < and > in terminal URLs to avoid this.

Note that this is not related to elm-lang.org, this is a terminal bug or a potential improvement in the compiler, or both.