-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
Remove WebRTC custom sidebar #22486
Remove WebRTC custom sidebar #22486
Conversation
Taking a look shortly 👀 |
Why are we deleting https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRTC/Peer-to-peer_communications_with_WebRTC ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @wbamberg, LGTM 👍🏻
Once comment open about rationale for deleting the page, everything else looks good.
Because:
|
Thank you, merging now 👍🏻 |
Co-authored-by: Brian Thomas Smith <[email protected]>
This PR removes all references to the custom sidebar implemented by the WebRTCSidebar macro, and replaces them with references to the standard
DefaultAPISidebar
.The
WebRTCSidebar
macro doesn't really have any features missing inDefaultAPISidebar
. In fact, there is already a group for WebRTC in groupdata.json, and the WebRTC overview page already usesDefaultAPISidebar
(https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API) although its children don't.Because the usage of this sidebar is quite inconsistent, this PR makes a few different changes:
APIRef
:DefaultAPISidebar
. Some of these pages were usingWebRTCSidebar
and some were incorrectly usingAPIRef
.I also added one guide to the groupdata entry for WebRTC - that was the only relevant thing that seemed to be missing, compared with the custom sidebar contents.
All the other changes are Prettier. I hope that's OK (and sorry about the noise).
After merging this we can deprecate
WebRTCSidebar
.