Skip to content

Fix content linter errors in the contributor style guide #46074

Description

@aniruddhaadak80

Why:

The GitHub Docs content linter reports three reproducible errors in the contributor style guide. These are documentation-quality defects in the source file and can be fixed without changing product guidance.

What article on docs.github.com is affected?

GitHub Docs style guide

What part(s) of the article would you like to see updated?

  • Specify a language for the fenced URL example at content/contributing/style-guide-and-content-model/style-guide.md:193 so it satisfies MD040.
  • Add the documented third-party-action disclaimer reusable to the two google-github-actions/setup-gcloud examples at lines 949 and 961 so they satisfy GHD054 and model the required convention.

The surrounding guidance already defines both requirements, so this change only brings the examples into compliance.

Additional information

Reproduced with Node.js v24.19.0:

npm run lint-content -- --paths content/contributing/style-guide-and-content-model/style-guide.md --rules MD040
npm run lint-content -- --paths content/contributing/style-guide-and-content-model/style-guide.md --rules GHD054

The first command reports MD040 at line 193. The second reports GHD054 at lines 949 and 961. I found no existing issue or pull request covering these three errors. This is a content-only change; no workflow, generated, or translated files are involved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageDo not begin working on this issue until triaged by the team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions