Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button to choose module type is missing #47268

Open
menzin opened this issue Mar 27, 2023 · 9 comments
Open

Button to choose module type is missing #47268

menzin opened this issue Mar 27, 2023 · 9 comments
Labels
doc Issues and PRs related to the documentations.

Comments

@menzin
Copy link

menzin commented Mar 27, 2023

API documentation used to have a button which allowed one to choose between CJS and EMS modules. It is gone.

@tniessen tniessen added the doc Issues and PRs related to the documentations. label Mar 27, 2023
@tniessen
Copy link
Member

Which version of the docs are you referring to? Which code samples?

The only recent UI change that I can think of was #46928, but it has not been deployed yet AFAICT.

@menzin
Copy link
Author

menzin commented Mar 27, 2023 via email

@tniessen
Copy link
Member

Which browser are you using? I still see the switch button in the 19.8.1 documentation:

screenshot showing toggle button

@menzin
Copy link
Author

menzin commented Mar 27, 2023 via email

@tniessen
Copy link
Member

cc @nodejs/website @nodejs/documentation

@ovflowd
Copy link
Member

ovflowd commented Mar 27, 2023

I am not able to reproduce this issue. Could more testing parameters be added here?

Does this happen on a specific set of API docs pages? We haven't had any code change recently or in ages that would affect this...

@menzin
Copy link
Author

menzin commented Mar 27, 2023 via email

@mscdex
Copy link
Contributor

mscdex commented Mar 27, 2023

I believe it's because the http module docs are missing ESM versions of various code blocks.

@tniessen
Copy link
Member

That would be my guess, too, but @menzin has said more than once that it works in some browsers but not in others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations.
Projects
None yet
Development

No branches or pull requests

4 participants