-
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
Remove all line number references to inline code examples #34459
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Josh-Cena
requested review from
sideshowbarker,
teoli2003 and
estelle
and removed request for
a team
June 27, 2024 15:38
github-actions
bot
added
Content:CSS
Cascading Style Sheets docs
Content:WebAPI
Web API docs
Content:JS
JavaScript docs
Content:HTTP
HTTP docs
Content:Accessibility
Accessibility docs
Content:Learn:Client-side
Content under “Client-side JavaScript frameworks” (Svelte, React, Angular, Vue) and related subtrees
Content:Learn:JavaScript
Learning area JavaScript docs
size/m
[PR only] 51-500 LoC changed
labels
Jun 27, 2024
bsmth
approved these changes
Jun 27, 2024
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.
There's a few flaws reported, but I had a look through the diffs and everything looks good to me, so leaving my +1
Yeah they don't seem related to this PR. |
sideshowbarker
approved these changes
Jun 28, 2024
wbamberg
added a commit
to wbamberg/content
that referenced
this pull request
Jun 29, 2024
* upstream/main: (58 commits) Update arrow function documentation to clarify naming and assignment (mdn#34501) update fetch guide (mdn#34278) Replace alert in Learn/JavaScript/First_steps/Variables (mdn#34487) Replace alert in MDN/Writing_guidelines/Page_structures/Live_samples (mdn#34479) Fix typo (mdn#34486) Remove SVG color-profile attribute (mdn#34482) Remove SVG enable-background attribute (mdn#34483) Remove SVG kerning attribute (mdn#34475) Updated the description of `targetOrigin` to specify the intended re… (mdn#34114) Mention CSWH in WebSocket server guide (mdn#34411) Add note to CSP sandbox saying allow-top-navigation is redundant (mdn#34415) Mention navigator.languages may be truncated and Accept-Language may have fallback (mdn#34418) Remove IDB output "example", preferring live example (mdn#34464) Mention that pinch-zoom are also wheel events (mdn#34468) Mention that flex-basis is floored at min-content (mdn#34469) More content to Global object glossary (mdn#34471) Fix IDB cursor prev direction description (mdn#34463) Remove all line number references to inline code examples (mdn#34459) Remove link to notification example (mdn#34412) Replaces HTML entity glossary links/mentions with char reference (mdn#34391) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Content:Accessibility
Accessibility docs
Content:CSS
Cascading Style Sheets docs
Content:HTTP
HTTP docs
Content:JS
JavaScript docs
Content:Learn:Client-side
Content under “Client-side JavaScript frameworks” (Svelte, React, Angular, Vue) and related subtrees
Content:Learn:JavaScript
Learning area JavaScript docs
Content:Learn
Learning area docs
Content:WebAPI
Web API docs
size/m
[PR only] 51-500 LoC changed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #33122.
Since Yari doesn't render line numbers in code examples, these line number references are actually useless and it's better to explain the code conceptually step-by-step rather than line-by-line, so it's also resilient to formatting.