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

Add linguist-documentation attribute to docs/ dir #62651

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

sirreal
Copy link
Member

@sirreal sirreal commented Jun 18, 2024

What?

Mark docs/ as documentation for GitHub stats.

Why?

This will more accurately show the project stats on GitHub:

Documentation
Just like vendored files, Linguist excludes documentation files from your project's language stats. documentation.yml lists common documentation paths and excludes them from the language statistics for your repository.

How?

Add the linguist-documentation git attribute.

Testing Instructions

None necessary.

@sirreal sirreal requested review from desrosj and gziolo June 18, 2024 11:42
@sirreal sirreal added the [Type] Code Quality Issues or PRs that relate to code quality label Jun 18, 2024
@sirreal sirreal marked this pull request as ready for review June 18, 2024 11:42
Copy link

github-actions bot commented Jun 18, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: sirreal <jonsurrell@git.wordpress.org>
Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@sirreal sirreal force-pushed the update/mark-docs-as-documentation-for-github branch from fa4a2a4 to 6a9d4c3 Compare June 18, 2024 14:12
@sirreal sirreal force-pushed the update/mark-docs-as-documentation-for-github branch from 6a9d4c3 to 0c6dab7 Compare June 28, 2024 11:16
Copy link
Contributor

@cbravobernal cbravobernal left a comment

Choose a reason for hiding this comment

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

LGTM

@cbravobernal cbravobernal merged commit 237e09d into trunk Jun 28, 2024
64 checks passed
@cbravobernal cbravobernal deleted the update/mark-docs-as-documentation-for-github branch June 28, 2024 12:26
@github-actions github-actions bot added this to the Gutenberg 18.8 milestone Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Code Quality Issues or PRs that relate to code quality
2 participants