Skip to content

docs: fix link CONTRIBUTE.md link#18372

Closed
dulvui wants to merge 1 commit intocurl:masterfrom
dulvui:master
Closed

docs: fix link CONTRIBUTE.md link#18372
dulvui wants to merge 1 commit intocurl:masterfrom
dulvui:master

Conversation

@dulvui
Copy link
Contributor

@dulvui dulvui commented Aug 22, 2025

Github interprets ../docs/CONTRIBUTE.md correctly when clicked from https://github.com/curl/curl/blob/master/.github/CONTRIBUTING.md, but does not if clicked on the repo landing page on https://github.com/curl/curl?tab=contributing-ov-file#read-contribute. That gives a 404 https://github.com/curl/curl/blob/docs/CONTRIBUTE.md, because it tries to find the docs directory in the upper directory and so removing the /master/ in the URL.

This fixes the CONTRIBUTE.md link, by making it relative to the root with /docs/, instead of the current location with ../docs/

@github-actions github-actions bot added documentation CI Continuous Integration labels Aug 22, 2025
@bagder
Copy link
Member

bagder commented Aug 23, 2025

This shows a bug in the mdlinkcheck script that I'll fix...

bagder added a commit that referenced this pull request Aug 23, 2025
@bagder
Copy link
Member

bagder commented Aug 23, 2025

Thanks!

@dulvui
Copy link
Contributor Author

dulvui commented Aug 23, 2025

Thank you for curl!

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

Labels

CI Continuous Integration documentation

Development

Successfully merging this pull request may close these issues.

2 participants