mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
Update most URLs to docs.github.com (#1896)
Now that GitHub have moved their documentation from developer.github.com, we should update our links. I have also tried to update the call strings to their new format, but since it was done via regex, some of them may not match exactly.
This commit is contained in:
@@ -43,7 +43,7 @@ INTEGRATION_PREVIEW_HEADERS = {"Accept": Consts.mediaTypeIntegrationPreview}
|
||||
|
||||
class Installation(github.GithubObject.NonCompletableGithubObject):
|
||||
"""
|
||||
This class represents Installations. The reference can be found here https://developer.github.com/v3/apps/installations/
|
||||
This class represents Installations. The reference can be found here https://docs.github.com/en/rest/reference/apps#installations
|
||||
"""
|
||||
|
||||
def __repr__(self):
|
||||
@@ -79,7 +79,7 @@ class Installation(github.GithubObject.NonCompletableGithubObject):
|
||||
|
||||
def get_repos(self):
|
||||
"""
|
||||
:calls: `GET /installation/repositories <https://developer.github.com/v3/integrations/installations/#list-repositories>`_
|
||||
:calls: `GET /installation/repositories <https://docs.github.com/en/rest/reference/integrations/installations#list-repositories>`_
|
||||
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Repository.Repository`
|
||||
"""
|
||||
url_parameters = dict()
|
||||
|
||||
Reference in New Issue
Block a user