https://www.erlang.org/doc/man/assert.hrl is not redirecting to assert.hrl — stdlib v6.0. Instead, it shows a not-found page, unlike, e.g., proplists — stdlib v6.0, which redirects to proplists — stdlib v6.0.
Also, regarding the docs URL, the view does not scroll to the correct menu item when accessing the page, e.g., when googling for “erlang proplists” and accessing the page, the view does not scroll to the proplist item in the menu, but it does if .html
is appended to the URL, see:
Different from Elixir docs. The Elixir docs do not accept the URL without .html
at the end, returning a not-found page and preventing the issue, see:
The redirects are manually created and not all work. I’ve fixed assert.hrl
and bunch more that I found while looking but there are sure to be more that do not work. Please do report to GitHub - erlang/erlang-org: The erlang.org website if you find any more.
The broken sidebar scrolling is most likely a consequence of netlify (our hosting provider) doing URL normalization while ex_doc is not aware of this. It should be easy enough to fix in some javascript file in ex_doc.
Amazing job everyone! Erlang just keeps getting more incredible every day as hard as that is to imagine!
For someone who spends as much time as I do (re)reading documentation, the new documentation system of v27.0 with white characters on dark background truly is most welcome. Congratulations to all involved for such fine work. Thank you!
I have pushed a fix for this, it seems that search without .html
was also not working. I didn’t do a new release though, let me know if you need one!