mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
Remove /en slug in docs.github.com links (and stop VSCode from formatting on save) (#2573)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Octokit
|
||||
/// A client for GitHub's Enterprise Pre-receive Hooks API
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://docs.github.com/en/enterprise-server/rest/reference/enterprise-admin#pre-receive-hooks">Enterprise Pre-receive Hooks API documentation</a> for more information.
|
||||
/// See the <a href="https://docs.github.com/enterprise-server/rest/reference/enterprise-admin#pre-receive-hooks">Enterprise Pre-receive Hooks API documentation</a> for more information.
|
||||
///</remarks>
|
||||
public class EnterprisePreReceiveHooksClient : ApiClient, IEnterprisePreReceiveHooksClient
|
||||
{
|
||||
@@ -23,7 +23,7 @@ namespace Octokit
|
||||
/// Gets all <see cref="PreReceiveHook"/>s.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://docs.github.com/en/enterprise-server/rest/reference/enterprise-admin#list-pre-receive-hooks">API documentation</a> for more information.
|
||||
/// See the <a href="https://docs.github.com/enterprise-server/rest/reference/enterprise-admin#list-pre-receive-hooks">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
[ManualRoute("GET", "/admin/pre-receive-hooks")]
|
||||
@@ -36,7 +36,7 @@ namespace Octokit
|
||||
/// Gets all <see cref="PreReceiveHook"/>s.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://docs.github.com/en/enterprise-server/rest/reference/enterprise-admin#list-pre-receive-hooks">API documentation</a> for more information.
|
||||
/// See the <a href="https://docs.github.com/enterprise-server/rest/reference/enterprise-admin#list-pre-receive-hooks">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <param name="options">Options for changing the API response</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
@@ -51,7 +51,7 @@ namespace Octokit
|
||||
/// Gets a single <see cref="PreReceiveHook"/>.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://docs.github.com/en/enterprise-server/rest/reference/enterprise-admin#get-a-pre-receive-hook">API documentation</a> for more information.
|
||||
/// See the <a href="https://docs.github.com/enterprise-server/rest/reference/enterprise-admin#get-a-pre-receive-hook">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <param name="hookId">The id of the pre-receive hook</param>
|
||||
/// <exception cref="NotFoundException">Thrown when the specified <paramref name="hookId"/> does not exist.</exception>
|
||||
@@ -67,7 +67,7 @@ namespace Octokit
|
||||
/// Creates a new <see cref="PreReceiveHook"/>.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://docs.github.com/en/enterprise-server/rest/reference/enterprise-admin#create-a-pre-receive-hook">API documentation</a> for more information.
|
||||
/// See the <a href="https://docs.github.com/enterprise-server/rest/reference/enterprise-admin#create-a-pre-receive-hook">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <param name="newPreReceiveHook">A description of the pre-receive hook to create</param>
|
||||
/// <exception cref="ApiException">Thrown when a general API error occurs.</exception>
|
||||
@@ -84,7 +84,7 @@ namespace Octokit
|
||||
/// Edits an existing <see cref="PreReceiveHook"/>.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://docs.github.com/en/enterprise-server/rest/reference/enterprise-admin#update-a-pre-receive-hook">API documentation</a> for more information.
|
||||
/// See the <a href="https://docs.github.com/enterprise-server/rest/reference/enterprise-admin#update-a-pre-receive-hook">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <param name="hookId">The id of the pre-receive hook</param>
|
||||
/// <param name="updatePreReceiveHook">A description of the pre-receive hook to edit</param>
|
||||
@@ -103,7 +103,7 @@ namespace Octokit
|
||||
/// Deletes an existing <see cref="PreReceiveHook"/>.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// See the <a href="https://docs.github.com/en/enterprise-server/rest/reference/enterprise-admin#delete-a-pre-receive-hook">API documentation</a> for more information.
|
||||
/// See the <a href="https://docs.github.com/enterprise-server/rest/reference/enterprise-admin#delete-a-pre-receive-hook">API documentation</a> for more information.
|
||||
/// </remarks>
|
||||
/// <param name="hookId">The id of the pre-receive hook</param>
|
||||
/// <exception cref="NotFoundException">Thrown when the specified <paramref name="hookId"/> does not exist.</exception>
|
||||
|
||||
Reference in New Issue
Block a user