Skip to content

Fix link to AI Policy in CONTRIBUTING.md#7576

Merged
nateprewitt merged 2 commits into
psf:mainfrom
yamac-kurtulus:fix-link-to-ai-policy
Jul 9, 2026
Merged

Fix link to AI Policy in CONTRIBUTING.md#7576
nateprewitt merged 2 commits into
psf:mainfrom
yamac-kurtulus:fix-link-to-ai-policy

Conversation

@yamac-kurtulus

Copy link
Copy Markdown
Contributor

The AI Policy is not accessible with a relative link inside .github folder, this PR fixes it.

Comment thread .github/CONTRIBUTING.md Outdated
Before opening any issues or proposing any pull requests, please read
our [Contributor's Guide](https://requests.readthedocs.io/en/latest/dev/contributing/)
as well as our [AI Policy](./AI_POLICY.md).
as well as our [AI Policy](./.github/AI_POLICY.md).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We may need a fully qualified link here. The reason it's broken is because it's rendered at two different points.

It's correct if you're viewing CONTRIBUTING.md directly, but broken for when you click the link for Contributing on the repo.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah well I just checked it if it works on the tab, not by viewing the file on repo. Good catch.

Comment thread .github/CONTRIBUTING.md
Before opening any issues or proposing any pull requests, please read
our [Contributor's Guide](https://requests.readthedocs.io/en/latest/dev/contributing/)
as well as our [AI Policy](./.github/AI_POLICY.md).
as well as our [AI Policy](/.github/AI_POLICY.md).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Tested on my repo, works both from the tab, and the file itself, turns out absolute path from root is sufficient, not a full path.

@nateprewitt nateprewitt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Alright, I think this'll work. Thanks, @yamac-kurtulus!

@nateprewitt nateprewitt merged commit d38495c into psf:main Jul 9, 2026
33 checks passed
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