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

docs: ensure all links are on a single line #42235

Merged
merged 1 commit into from
May 28, 2024

Conversation

erickzhao
Copy link
Member

Description of Change

Due to a bug in Docusaurus 3 (facebook/docusaurus#9048), having links on multiple lines will break relative linking in the website build process.

[This link will not
work properly in Docusaurus 3](https://electronjs.org)

This PR changes some whitespace around to fix all instances of this case in the Electron docs. These instances were vetted with electron/lint-roller@f68f469 (thanks @dsanders11!), which will be applied to this repository in a separate PR.

cc @electron/docs

Release Notes

Notes: none

@erickzhao erickzhao requested a review from a team as a code owner May 21, 2024 22:12
@electron-cation electron-cation bot added documentation 📓 semver/patch backwards-compatible bug fixes new-pr 🌱 PR opened in the last 24 hours labels May 21, 2024
@erickzhao erickzhao added target/30-x-y PR should also be added to the "30-x-y" branch. target/31-x-y PR should also be added to the "31-x-y" branch. and removed new-pr 🌱 PR opened in the last 24 hours labels May 21, 2024
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label May 21, 2024
Copy link
Member

@dsanders11 dsanders11 left a comment

Choose a reason for hiding this comment

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

@erickzhao, I don't feel strongly about it, but alternatively we can skip the rule for certain files (CONTRIBUTING.md, README.md, docs/breaking-changes.md) which aren't rendered on the website using <!-- markdownlint-disable-file no-newline-in-links --> at the bottom of those files.

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label May 22, 2024
@VerteDinde VerteDinde merged commit 09fb892 into electron:main May 28, 2024
27 of 28 checks passed
Copy link

release-clerk bot commented May 28, 2024

No Release Notes

@trop
Copy link
Contributor

trop bot commented May 28, 2024

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

@trop trop bot added in-flight/31-x-y and removed target/31-x-y PR should also be added to the "31-x-y" branch. labels May 28, 2024
@trop
Copy link
Contributor

trop bot commented May 28, 2024

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

@trop trop bot added in-flight/30-x-y merged/30-x-y PR was merged to the "30-x-y" branch. merged/31-x-y PR was merged to the "31-x-y" branch. and removed target/30-x-y PR should also be added to the "30-x-y" branch. in-flight/30-x-y in-flight/31-x-y labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📓 merged/30-x-y PR was merged to the "30-x-y" branch. merged/31-x-y PR was merged to the "31-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants