Skip to content

Commit

Permalink
Update other faulty links
Browse files Browse the repository at this point in the history
  • Loading branch information
Muscaw authored and EnricoMi committed Jun 1, 2023
1 parent d03f0b7 commit d944879
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions github/Branch.py
Expand Up @@ -637,7 +637,7 @@ def remove_push_restrictions(self):

def get_required_signatures(self):
"""
:calls: `GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures <https://docs.github.com/en/rest/reference/repos#branches>`
:calls: `GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures <https://docs.github.com/en/rest/reference/repos#branches>`_
"""
headers, data = self._requester.requestJsonAndCheck(
"GET",
Expand All @@ -648,7 +648,7 @@ def get_required_signatures(self):

def add_required_signatures(self):
"""
:calls: `POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures <https://docs.github.com/en/rest/reference/repos#branches>`
:calls: `POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures <https://docs.github.com/en/rest/reference/repos#branches>`_
"""
headers, data = self._requester.requestJsonAndCheck(
"POST",
Expand All @@ -658,7 +658,7 @@ def add_required_signatures(self):

def remove_required_signatures(self):
"""
:calls: `DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures <https://docs.github.com/en/rest/reference/repos#branches>`
:calls: `DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures <https://docs.github.com/en/rest/reference/repos#branches>`_
"""
headers, data = self._requester.requestJsonAndCheck(
"DELETE",
Expand Down
4 changes: 2 additions & 2 deletions github/Repository.py
Expand Up @@ -1742,7 +1742,7 @@ def get_branch(self, branch):

def rename_branch(self, branch, new_name):
"""
:calls: `POST /repos/{owner}/{repo}/branches/{branch}/rename <https://docs.github.com/en/rest/reference/repos#branches>`
:calls: `POST /repos/{owner}/{repo}/branches/{branch}/rename <https://docs.github.com/en/rest/reference/repos#branches>`_
:param branch: :class:`github.Branch.Branch` or string
:param new_name: string
:rtype: bool
Expand Down Expand Up @@ -2506,7 +2506,7 @@ def get_git_refs(self):

def get_git_matching_refs(self, ref):
"""
:calls: `GET /repos/{owner}/{repo}/git/matching-refs/{ref} <https://docs.github.com/en/rest/reference/git#list-matching-references>`
:calls: `GET /repos/{owner}/{repo}/git/matching-refs/{ref} <https://docs.github.com/en/rest/reference/git#list-matching-references>`_
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.GitRef.GitRef`
"""
assert isinstance(ref, str), ref
Expand Down
2 changes: 1 addition & 1 deletion github/Team.py
Expand Up @@ -442,7 +442,7 @@ def has_in_repos(self, repo):

def remove_membership(self, member):
"""
:calls: `DELETE /teams/{team_id}/memberships/{username} <https://docs.github.com/en/rest/reference/teams#remove-team-membership-for-a-user>`
:calls: `DELETE /teams/{team_id}/memberships/{username} <https://docs.github.com/en/rest/reference/teams#remove-team-membership-for-a-user>`_
:param member:
:return:
"""
Expand Down

0 comments on commit d944879

Please sign in to comment.