Open
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
The sections on Custom URLs do not provide adequate information on the valid formats for a URL.
The following is the entire information:
Custom URL | custom: LINK1 or custom: [LINK1, LINK2, LINK3, LINK4]
Here's an example FUNDING.yml file:github: [octocat, surftocat] patreon: octocat tidelift: npm/octo-package custom: ["https://www.paypal.me/octocat", octocat.com]
Note
If a custom URL in an array includes :, you must wrap the URL in quotes. For example, "https://www.paypal.me/octocat".
The example, and the last note suggests that valid custom URL formats include values such as:
octocat.com
octocat.com/example
octocat.com/example/#fund-me
However there is no schema validation to confirm this.
We encountered this as Packagist treats all of the above valid examples as invalid due to the lack of scheme:
composer/composer#12244
Additional information
No response