Skip to content

Fix stale documentation section links - #45664

Open
raulkolaric wants to merge 1 commit into
github:mainfrom
raulkolaric:fix/broken-doc-links
Open

Fix stale documentation section links#45664
raulkolaric wants to merge 1 commit into
github:mainfrom
raulkolaric:fix/broken-doc-links

Conversation

@raulkolaric

Copy link
Copy Markdown
Contributor

Summary

This small change updates five stale section anchors so the affected links open the intended headings instead of the top of the destination article.

Production links checked

Changed anchors

#use-conditional-requests-if-appropriate
→ #use-conditional-requests

#about-using-enforcement-statuses
→ #using-ruleset-enforcement-statuses

#viewing-and-revoking-authorized-credentials
→ #viewing-and-revoking-authorized-credentials-for-a-single-member

#inviting-an-organization-to-join-your-enterprise-account
→ #inviting-an-existing-organization

#transferring-an-organization-between-enterprise-accounts
→ #transferring-an-existing-organization

Validation

  • Content linter passes for all six changed files.
  • Internal-link checks were run for Free/Pro/Team, Enterprise Cloud, and Enterprise Server 3.22. The repository-wide checks still report unrelated pre-existing broken links; the five stale source fragments changed here are removed.

Point five documentation references at the current destination headings so readers land on the intended sections instead of the top of each article.

Changes:
- content/code-security/tutorials/secret-scanning-partner-program.md
  - Link conditional-request guidance to its current section anchor.

- content/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/troubleshooting-rules.md
  - Link Evaluate-mode guidance to the current enforcement-status anchor.

- content/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets.md
  - Link ruleset workflow guidance to the current enforcement-status anchor.

- content/organizations/managing-programmatic-access-to-your-organization/about-programmatic-access-in-your-organization.md
  - Link SAML credentials guidance to the single-member section.

- data/reusables/enterprise-accounts/invite-organization.md
  - Link enterprise invitations to the current invitation section.

- content/admin/managing-your-enterprise-account/deleting-an-enterprise-account.md
  - Link organization transfer guidance to the current transfer section.

Validation:
- npm run lint-content -- --paths <six changed files>
- npm run check-links-internal -- --version free-pro-team@latest
- npm run check-links-internal -- --version enterprise-cloud@latest
- npm run check-links-internal -- --version enterprise-server@3.22
- git diff --staged --check
@github-actions

Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
admin/managing-your-enterprise-account/deleting-an-enterprise-account.md ghec
ghec
code-security/tutorials/secret-scanning-partner-program.md fpt
ghec
fpt
ghec
organizations/managing-programmatic-access-to-your-organization/about-programmatic-access-in-your-organization.md fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets.md fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/troubleshooting-rules.md fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
organizations/collaborating-with-groups-in-organizations/about-organizations.md fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
from reusable
organizations/managing-organization-settings/transferring-organization-ownership.md fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
from reusable

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Aug 29, 2026
@raulkolaric
raulkolaric marked this pull request as ready for review August 29, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant