Commit d642c60d authored by Marcel Amirault's avatar Marcel Amirault Committed by Achilleas Pipinellis

Add backticks and remove square brackets

Square and Angle bracket use causes kramdown warnings,
so changed or enclosed in backticks as needed
parent 9e85bd62
# Issue closing pattern **(CORE ONLY)** # Issue closing pattern **(CORE ONLY)**
>**Note:** >**Note:**
This is the administration documentation. This is the administration documentation. There is a separate [user documentation](../user/project/issues/managing_issues.md#closing-issues-automatically)
There is a separate [user documentation] on issue closing pattern. on issue closing pattern.
When a commit or merge request resolves one or more issues, it is possible to When a commit or merge request resolves one or more issues, it is possible to
automatically have these issues closed when the commit or merge request lands automatically have these issues closed when the commit or merge request lands
...@@ -13,8 +13,8 @@ in the project's default branch. ...@@ -13,8 +13,8 @@ in the project's default branch.
In order to change the pattern you need to have access to the server that GitLab In order to change the pattern you need to have access to the server that GitLab
is installed on. is installed on.
The default pattern can be located in [`gitlab.yml.example`] under the The default pattern can be located in [`gitlab.yml.example`](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/gitlab.yml.example)
"Automatic issue closing" section. under the "Automatic issue closing" section.
> **Tip:** > **Tip:**
You are advised to use <http://rubular.com> to test the issue closing pattern. You are advised to use <http://rubular.com> to test the issue closing pattern.
...@@ -31,7 +31,7 @@ Because Rubular doesn't understand `%{issue_ref}`, you can replace this by ...@@ -31,7 +31,7 @@ Because Rubular doesn't understand `%{issue_ref}`, you can replace this by
gitlab_rails['gitlab_issue_closing_pattern'] = "\b((?:[Cc]los(?:e[sd]|ing)|\b[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?))+)" gitlab_rails['gitlab_issue_closing_pattern'] = "\b((?:[Cc]los(?:e[sd]|ing)|\b[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?))+)"
``` ```
1. [Reconfigure] GitLab for the changes to take effect. 1. [Reconfigure](restart_gitlab.md#omnibus-gitlab-reconfigure) GitLab for the changes to take effect.
**For installations from source** **For installations from source**
...@@ -42,9 +42,4 @@ Because Rubular doesn't understand `%{issue_ref}`, you can replace this by ...@@ -42,9 +42,4 @@ Because Rubular doesn't understand `%{issue_ref}`, you can replace this by
issue_closing_pattern: "\b((?:[Cc]los(?:e[sd]|ing)|\b[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?))+)" issue_closing_pattern: "\b((?:[Cc]los(?:e[sd]|ing)|\b[Ff]ix(?:e[sd]|ing)?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?))+)"
``` ```
1. [Restart] GitLab for the changes to take effect. 1. [Restart](restart_gitlab.md#installations-from-source) GitLab for the changes to take effect.
[gitlab.yml.example]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/gitlab.yml.example
[reconfigure]: restart_gitlab.md#omnibus-gitlab-reconfigure
[restart]: restart_gitlab.md#installations-from-source
[user documentation]: ../user/project/issues/managing_issues.md#closing-issues-automatically
...@@ -852,10 +852,10 @@ Get the users list of a project. ...@@ -852,10 +852,10 @@ Get the users list of a project.
GET /projects/:id/users GET /projects/:id/users
``` ```
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- | | ------------ | ------------- | -------- | ----------- |
| `search` | string | no | Search for specific users | | `search` | string | no | Search for specific users |
| `skip_users` | array[int] | no | Filter out users with the specified IDs | | `skip_users` | integer array | no | Filter out users with the specified IDs |
```json ```json
[ [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment