Skip to content

docs: cleanup desktop-capturer doc after chromium audio capture additions - #50091

Merged
jkleinsc merged 3 commits into
mainfrom
desktop-capturer-doc-cleanup
Mar 6, 2026
Merged

jkleinsc merged 3 commits into
mainfrom
desktop-capturer-doc-cleanup

Conversation

@mlaurencin

Copy link
Copy Markdown
Member

Description of Change

This PR is a follow up to #49717 to address some of the documentation problems that it had. The first issue was that the NOTE section had an extra space resulting in the block not being properly formatted (as seen here on the site currently). The second was the line lengths not being between 80 and 100 characters as per the style guide. The lines were updated to be within this range, with exceptions for lines that contain links. (There are other lines within the document that are above 100 characters, but the scope of this PR is to simply correct the last addition as opposed to the document as a whole).

Checklist

Release Notes

Notes: none

@electron-cation electron-cation Bot added documentation 📓 semver/patch backwards-compatible bug fixes new-pr 🌱 PR opened recently labels Mar 5, 2026
@mlaurencin mlaurencin added target/39-x-y PR should also be added to the "39-x-y" branch. target/40-x-y PR should also be added to the "40-x-y" branch. target/41-x-y PR should also be added to the "41-x-y" branch. labels Mar 5, 2026

@erickzhao erickzhao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few other formatting comments while we're at it

Comment thread docs/api/desktop-capturer.md Resolved
Comment thread docs/api/desktop-capturer.md Resolved
Comment thread docs/api/desktop-capturer.md Resolved
Comment thread docs/api/desktop-capturer.md Resolved
Comment thread docs/api/desktop-capturer.md Resolved
Comment thread docs/api/desktop-capturer.md Resolved

@nikwen nikwen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much!

There was also a small typo in the breaking changes doc that would be great to fix: https://github.com/electron/electron/pull/49717/changes#r2813191497

@nikwen nikwen removed the target/39-x-y PR should also be added to the "39-x-y" branch. label Mar 5, 2026
@mlaurencin mlaurencin added the target/39-x-y PR should also be added to the "39-x-y" branch. label Mar 5, 2026
@mlaurencin

Copy link
Copy Markdown
Member Author

Thank you so much!

There was also a small typo in the breaking changes doc that would be great to fix: https://github.com/electron/electron/pull/49717/changes#r2813191497

The intent of this PR is to clean up the desktop capturer document specifically. I think the grammatical error in the breaking change document is passable, but if desired, an edit could be put in another PR to clean up that and any additional grammar mistakes in that document.

@erickzhao erickzhao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs: lgtm

@electron-docs-reviewer electron-docs-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving on behalf of the Electron Docs Team

@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Mar 6, 2026
@jkleinsc
jkleinsc merged commit 86f2c7c into main Mar 6, 2026
31 checks passed
@jkleinsc
jkleinsc deleted the desktop-capturer-doc-cleanup branch March 6, 2026 20:27
@release-clerk

release-clerk Bot commented Mar 6, 2026

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "39-x-y", please check out #50112

@trop

trop Bot commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "40-x-y", please check out #50113

@trop trop Bot removed target/39-x-y PR should also be added to the "39-x-y" branch. target/40-x-y PR should also be added to the "40-x-y" branch. labels Mar 6, 2026
@trop

trop Bot commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "41-x-y", please check out #50114

@trop trop Bot added in-flight/41-x-y merged/39-x-y PR was merged to the "39-x-y" branch. merged/41-x-y PR was merged to the "41-x-y" branch. merged/40-x-y PR was merged to the "40-x-y" branch. and removed target/41-x-y PR should also be added to the "41-x-y" branch. in-flight/39-x-y in-flight/41-x-y in-flight/40-x-y labels Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation 📓 merged/39-x-y PR was merged to the "39-x-y" branch. merged/40-x-y PR was merged to the "40-x-y" branch. merged/41-x-y PR was merged to the "41-x-y" branch. semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants