-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
WebExtensions: move {{WebExtExamples}} before {{Compat}} section #22631
Comments
@caugner as a background task, examples are being moved to before the BCD as we have found people miss the examples when below BCD. |
Is this still an active issue? If so, I would love to help! |
This is still relevant. Here is an example: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/commands/getAll In the sidebar, you can see that the "Browser compatibility" section comes before "Examples". The source code is here: content/files/en-us/mozilla/add-ons/webextensions/api/commands/getall/index.md Lines 30 to 47 in 6f9c88d
That should change, and the desired outcome is:
Note: Some articles may have |
Hello! Is someone still actively working on this issue? Otherwise, I would like to be assigned. |
There are no pull requests associated with this ticket, so feel free to submit a pull request. |
I've removed the |
MDN URL
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions
What specific section or headline is this issue about?
Example extensions
What information was incorrect, unhelpful, or incomplete?
While triaging mdn/yari#7703, I noticed that the
{{WebExtExamples}}
macro (i.e. the "Example extensions" section, if there is any example extensions) is sometimes called before and sometimes after the{{Compat}}
macro (i.e. the "Browser compatibility" section).What did you expect to see?
I would expect the "Example extensions" section to always appear either before or (probably better) after the "Browser compatibility" section.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
rg -i '\{\{(WebExtExamples|Compat)' -p --color=never
The text was updated successfully, but these errors were encountered: