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

Strictly lint markdown in /docs #2897

Closed
wants to merge 8 commits into from
Closed

Strictly lint markdown in /docs #2897

wants to merge 8 commits into from

Conversation

SorenSpicknall
Copy link
Contributor

@SorenSpicknall SorenSpicknall commented Aug 16, 2023

Description

For folks using common linting tools and linting-related IDE extensions like markdownlint, the existing markdown in our /docs subfolder is quite noisy. This PR brings that directory much closer to a strict interpretation of markdown rules, without making any content changes.

Suggestion for reviewers: double check that the code blocks with newly added annotations are annotated with the correct language. Obviously, this should be on top of visually inspecting the resulting staging version of the docs site for any weird formatting introduced by these changes.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

How has this been tested?

Markdown linted successfully.

Post-merge follow-ups

  • No action required
  • Actions required (specified below)

@github-actions
Copy link

@SorenSpicknall SorenSpicknall marked this pull request as ready for review August 16, 2023 22:47
Copy link
Contributor

@atvaccaro atvaccaro left a comment

Choose a reason for hiding this comment

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

Is there any mechanism to actually enforce these going forward, preferably automatically so users aren't manually fixing markdown? I'm fine with auto-formatting in pre-commit or CI but formatting-only PRs introduce noise unless someone knows how to ignore whitespace changes in git

@atvaccaro
Copy link
Contributor

@SorenSpicknall SorenSpicknall mentioned this pull request Aug 23, 2023
6 tasks
@SorenSpicknall
Copy link
Contributor Author

Closing in favor of #2906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants