Allow top-level GitHub repo URLs as examples (#11691)
* Support top-level GitHub repo URLs Adds support for top-level GitHub repo URLs, e.g. https://github.com/username/my-cool-next-example. This is already possible, but you have to enter "/tree/master" (or the desired branch name) after the repo URL. The change itself simply expands that URL to https://github.com/username/cool-next-example/tree/$DEFAULT_BRANCH_NAME where DEFAULT_BRANCH_NAME is the default branch configured for the repo in GitHub. * Fix formatting issues
Showing
Please
register
or
sign in
to comment