erlang / erlang-org

The erlang.org website
https://www.erlang.org
Apache License 2.0
73 stars 53 forks source link

Sidebar missing until mermaidjs finishes loading #150

Closed vlad-ngn closed 3 months ago

vlad-ngn commented 3 months ago

Hi!

Screenshot 1: Sidebar missing, mermaidjs loading

Screenshot from 2024-08-05 15-59-31

Screenshot 2:

Sidebar appeared after mermaidjs loaded

Screenshot from 2024-08-05 15-59-54

This is a problem for me, because mermaidjs takes ~ 1 minute to load. Problem appeared after website update recently.

Browser: Google Chrome Version 126.0.6478.126 (Official Build) (64-bit)

garazdawi commented 3 months ago

This was done as part of https://github.com/erlang/otp/pull/8197. Maybe @Benjamin-Philip has some idea about how it can be improved?

Benjamin-Philip commented 3 months ago

Hi @vlad-ngn , can you replicate the issue with Elixir's GenServer docs?

The mermaid setup in Erlang was more or else copied as is from Elixir's. It's very likely that this issue affects Elixir's docs too.

vlad-ngn commented 3 months ago

Hi @vlad-ngn , can you replicate the issue with Elixir's GenServer docs?

The mermaid setup in Erlang was more or else copied as is from Elixir's. It's very likely that this issue affects Elixir's docs too.

Yes, same issue with Elixir's docs

Screenshots ![Screenshot from 2024-08-12 18-28-14](https://github.com/user-attachments/assets/0100366f-179a-401c-8d2e-f03b9f831df5) ![Screenshot from 2024-08-12 18-28-45](https://github.com/user-attachments/assets/f4d95493-79bd-41d9-833b-33329f0517f4)
Benjamin-Philip commented 3 months ago

In that case, you should file an issue upstream in the ExDoc or Elixir repo. Please tag me as well.

vlad-ngn commented 3 months ago

Thanks! Created issue in the ExDoc repo: https://github.com/elixir-lang/ex_doc/issues/1941