From bee6906a1aaa82d6cb7ca788e16fa487235120d5 Mon Sep 17 00:00:00 2001 From: Suzanne Selhorn <sselhorn@gitlab.com> Date: Sat, 18 Apr 2020 01:01:47 +0000 Subject: [PATCH] Removed reflinks in docs Related to https://gitlab.com/gitlab-org/gitlab/-/issues/212770 --- doc/administration/database_load_balancing.md | 29 ++++++------------- doc/administration/pseudonymizer.md | 4 +-- doc/api/README.md | 16 ++++------ doc/api/lint.md | 4 +-- doc/api/projects.md | 4 +-- doc/api/services.md | 8 ++--- doc/development/interacting_components.md | 2 +- doc/push_rules/push_rules.md | 17 ++++------- doc/security/crime_vulnerability.md | 20 +++++-------- doc/user/feature_highlight.md | 4 +-- doc/user/group/index.md | 9 ++---- doc/user/group/subgroups/index.md | 5 ---- doc/user/project/git_attributes.md | 4 +-- doc/user/project/protected_tags.md | 4 +-- doc/user/project/repository/file_finder.md | 7 ++--- .../project/repository/forking_workflow.md | 2 -- doc/user/project/web_ide/index.md | 15 ++++------ 17 files changed, 47 insertions(+), 107 deletions(-) diff --git a/doc/administration/database_load_balancing.md b/doc/administration/database_load_balancing.md index b6ce6883dd67f..cecc372f3874c 100644 --- a/doc/administration/database_load_balancing.md +++ b/doc/administration/database_load_balancing.md @@ -1,6 +1,6 @@ # Database Load Balancing **(PREMIUM ONLY)** -> [Introduced][ee-1283] in [GitLab Premium][eep] 9.0. +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/1283) in [GitLab Premium](https://about.gitlab.com/pricing/) 9.0. Distribute read-only queries among multiple database servers. @@ -11,7 +11,7 @@ multiple computing resources. Load balancing aims to optimize resource use, maximize throughput, minimize response time, and avoid overload of any single resource. Using multiple components with load balancing instead of a single component may increase reliability and availability through redundancy. -[_Wikipedia article_][wikipedia] +[_Wikipedia article_](https://en.wikipedia.org/wiki/Load_balancing_(computing)) When database load balancing is enabled in GitLab, the load is balanced using a simple round-robin algorithm, without any external dependencies such as Redis. @@ -27,8 +27,8 @@ sent to the primary (unless necessary), the primary (`db3`) hardly has any load. ## Requirements For load balancing to work you will need at least PostgreSQL 9.2 or newer, -[**MySQL is not supported**][db-req]. You also need to make sure that you have -at least 1 secondary in [hot standby][hot-standby] mode. +[**MySQL is not supported**](../install/requirements.md#database). You also need to make sure that you have +at least 1 secondary in [hot standby](https://www.postgresql.org/docs/9.6/hot-standby.html) mode. Load balancing also requires that the configured hosts **always** point to the primary, even after a database failover. Furthermore, the additional hosts to @@ -78,7 +78,7 @@ the following. This will balance the load between `host1.example.com` and gitlab_rails['db_load_balancing'] = { 'hosts' => ['host1.example.com', 'host2.example.com'] } ``` -1. Save the file and [reconfigure GitLab][] for the changes to take effect. +1. Save the file and [reconfigure GitLab](restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect. --- @@ -97,11 +97,11 @@ the following. This will balance the load between `host1.example.com` and - host2.example.com ``` -1. Save the file and [restart GitLab][] for the changes to take effect. +1. Save the file and [restart GitLab](restart_gitlab.md#installations-from-source) for the changes to take effect. ## Service Discovery -> [Introduced][ee-5883] in [GitLab Premium][eep] 11.0. +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/5883) in [GitLab Premium](https://about.gitlab.com/pricing/) 11.0. Service discovery allows GitLab to automatically retrieve a list of secondary databases to use, instead of having to manually specify these in the @@ -161,7 +161,7 @@ When the list of hosts is updated, it might take a while for the old connections to be terminated. The `disconnect_timeout` setting can be used to enforce an upper limit on the time it will take to terminate all old database connections. -Some nameservers (like [Consul][consul-udp]) can return a truncated list of hosts when +Some nameservers (like [Consul](https://www.consul.io/docs/agent/dns.html#udp-based-dns-queries)) can return a truncated list of hosts when queried over UDP. To overcome this issue, you can use TCP for querying by setting `use_tcp` to `true`. @@ -239,7 +239,7 @@ For example: ## Handling Stale Reads -> [Introduced][ee-3526] in [GitLab Premium][eep] 10.3. +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3526) in [GitLab Premium](https://about.gitlab.com/pricing/) 10.3. To prevent reading from an outdated secondary the load balancer will check if it is in sync with the primary. If the data is determined to be recent enough the @@ -270,14 +270,3 @@ production: max_replication_lag_time: 30 replica_check_interval: 30 ``` - -[hot-standby]: https://www.postgresql.org/docs/9.6/hot-standby.html -[ee-1283]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/1283 -[eep]: https://about.gitlab.com/pricing/ -[reconfigure gitlab]: restart_gitlab.md#omnibus-gitlab-reconfigure "How to reconfigure Omnibus GitLab" -[restart gitlab]: restart_gitlab.md#installations-from-source "How to restart GitLab" -[wikipedia]: https://en.wikipedia.org/wiki/Load_balancing_(computing) -[db-req]: ../install/requirements.md#database -[ee-3526]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3526 -[ee-5883]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/5883 -[consul-udp]: https://www.consul.io/docs/agent/dns.html#udp-based-dns-queries diff --git a/doc/administration/pseudonymizer.md b/doc/administration/pseudonymizer.md index 36bb446da7896..22543a5c743d2 100644 --- a/doc/administration/pseudonymizer.md +++ b/doc/administration/pseudonymizer.md @@ -1,6 +1,6 @@ # Pseudonymizer **(ULTIMATE)** -> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/5532) in [GitLab Ultimate][ee] 11.1. +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/5532) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 11.1. As GitLab's database hosts sensitive information, using it unfiltered for analytics implies high security requirements. To help alleviate this constraint, the Pseudonymizer @@ -101,5 +101,3 @@ This will produce some CSV files that might be very large, so make sure the After the pseudonymizer has run, the output CSV files should be uploaded to the configured object storage and deleted from the local disk. - -[ee]: https://about.gitlab.com/pricing/ diff --git a/doc/api/README.md b/doc/api/README.md index 3c8d3dc490283..99d74aab83fd7 100644 --- a/doc/api/README.md +++ b/doc/api/README.md @@ -58,7 +58,7 @@ Currently only API version v4 is available. Version v3 was removed in ## Basic usage API requests should be prefixed with `api` and the API version. The API version -is defined in [`lib/api.rb`][lib-api-url]. For example, the root of the v4 API +is defined in [`lib/api.rb`](https://gitlab.com/gitlab-org/gitlab-foss/tree/master/lib/api/api.rb). For example, the root of the v4 API is at `/api/v4`. Example of a valid API request using cURL: @@ -119,7 +119,7 @@ Read more about [GitLab as an OAuth2 provider](oauth2.md). ### Personal access tokens -You can use a [personal access token][pat] to authenticate with the API by passing it in either the +You can use a [personal access token](../user/profile/personal_access_tokens.md) to authenticate with the API by passing it in either the `private_token` parameter or the `Private-Token` header. Example of using the personal access token in a parameter: @@ -140,7 +140,7 @@ You can also use personal access tokens with OAuth-compliant headers: curl --header "Authorization: Bearer <your_access_token>" https://gitlab.example.com/api/v4/projects ``` -Read more about [personal access tokens][pat]. +Read more about [personal access tokens](../user/profile/personal_access_tokens.md). ### Session cookie @@ -163,9 +163,9 @@ to authenticate with the API: ### Impersonation tokens -> [Introduced][ce-9099] in GitLab 9.0. Needs admin permissions. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9099) in GitLab 9.0. Needs admin permissions. -Impersonation tokens are a type of [personal access token][pat] +Impersonation tokens are a type of [personal access token](../user/profile/personal_access_tokens.md) that can only be created by an admin for a specific user. They are a great fit if you want to build applications or scripts that authenticate with the API as a specific user. @@ -642,9 +642,3 @@ For administrator documentation on rate limit settings, see [Rate limits](../security/rate_limits.md). To find the settings that are specifically used by GitLab.com, see [GitLab.com-specific rate limits](../user/gitlab_com/index.md#gitlabcom-specific-rate-limits). - -[lib-api-url]: https://gitlab.com/gitlab-org/gitlab-foss/tree/master/lib/api/api.rb -[ce-3749]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/3749 -[ce-5951]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5951 -[ce-9099]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9099 -[pat]: ../user/profile/personal_access_tokens.md diff --git a/doc/api/lint.md b/doc/api/lint.md index 4ecce92df2603..f0e4ad5655a9d 100644 --- a/doc/api/lint.md +++ b/doc/api/lint.md @@ -1,6 +1,6 @@ # Validate the `.gitlab-ci.yml` (API) -> [Introduced][ce-5953] in GitLab 8.12. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5953) in GitLab 8.12. Checks if your `.gitlab-ci.yml` file is valid. @@ -47,5 +47,3 @@ Example responses: "error": "content is missing" } ``` - -[ce-5953]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5953 diff --git a/doc/api/projects.md b/doc/api/projects.md index f0b65b9ac6acc..b9513cc767eb5 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -912,7 +912,7 @@ the `approvals_before_merge` parameter: } ``` -**Note**: The `web_url` and `avatar_url` attributes on `namespace` were [introduced][ce-27427] in GitLab 11.11. +**Note**: The `web_url` and `avatar_url` attributes on `namespace` were [introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/27427) in GitLab 11.11. If the project is a fork, and you provide a valid token to authenticate, the `forked_from_project` field will appear in the response. @@ -2252,5 +2252,3 @@ GET /projects/:id/snapshot | --------- | ---- | -------- | ----------- | | `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) | | `wiki` | boolean | no | Whether to download the wiki, rather than project, repository | - -[ce-27427]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/27427 diff --git a/doc/api/services.md b/doc/api/services.md index 3a5268f427131..823e2e0b5eb97 100644 --- a/doc/api/services.md +++ b/doc/api/services.md @@ -567,7 +567,7 @@ Set Hangouts Chat service for a project. PUT /projects/:id/services/hangouts-chat ``` ->**Note:** Specific event parameters (for example, `push_events` flag) were [introduced in v10.4][11435] +>**Note:** Specific event parameters (for example, `push_events` flag) were [introduced in v10.4](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/11435) Parameters: @@ -1068,7 +1068,7 @@ Set Slack service for a project. PUT /projects/:id/services/slack ``` ->**Note:** Specific event parameters (for example, `push_events` flag and `push_channel`) were [introduced in v10.4][11435] +>**Note:** Specific event parameters (for example, `push_events` flag and `push_channel`) were [introduced in v10.4](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/11435) Parameters: @@ -1177,7 +1177,7 @@ Set Mattermost service for a project. PUT /projects/:id/services/mattermost ``` ->**Note:** Specific event parameters (for example, `push_events` flag and `push_channel`) were [introduced in v10.4][11435] +>**Note:** Specific event parameters (for example, `push_events` flag and `push_channel`) were [introduced in v10.4](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/11435) Parameters: @@ -1369,8 +1369,6 @@ Get MockCI service settings for a project. GET /projects/:id/services/mock-ci ``` -[11435]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/11435 - ## YouTrack YouTrack issue tracker diff --git a/doc/development/interacting_components.md b/doc/development/interacting_components.md index 4639bd7cc2066..697c64986b170 100644 --- a/doc/development/interacting_components.md +++ b/doc/development/interacting_components.md @@ -10,7 +10,7 @@ when making _backend_ changes that might involve multiple features or [component ## Uploads GitLab supports uploads to [object storage](https://docs.gitlab.com/charts/advanced/external-object-storage/). That means every feature and -change that affects uploads should also be tested against [object storage], +change that affects uploads should also be tested against [object storage](https://docs.gitlab.com/charts/advanced/external-object-storage/), which is _not_ enabled by default in [GDK](https://gitlab.com/gitlab-org/gitlab-development-kit). When working on a related feature, make sure to enable and test it diff --git a/doc/push_rules/push_rules.md b/doc/push_rules/push_rules.md index eca1f8c24a407..d5b9b20f0511d 100644 --- a/doc/push_rules/push_rules.md +++ b/doc/push_rules/push_rules.md @@ -9,11 +9,11 @@ regular expressions to reject pushes based on commit contents, branch names or f ## Overview -GitLab already offers [protected branches][protected-branches], but there are +GitLab already offers [protected branches](../user/project/protected_branches.md), but there are cases when you need some specific rules like preventing Git tag removal or enforcing a special format for commit messages. -Push rules are essentially [pre-receive Git hooks][hooks] that are easy to +Push rules are essentially [pre-receive Git hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) that are easy to enable in a user-friendly interface. They are defined globally if you are an admin or per project so you can have different rules applied to different projects depending on your needs. @@ -74,7 +74,7 @@ The following options are available. | Removal of tags with `git push` | **Starter** 7.10 | Forbid users to remove Git tags with `git push`. Tags will still be able to be deleted through the web UI. | | Check whether author is a GitLab user | **Starter** 7.10 | Restrict commits by author (email) to existing GitLab users. | | Committer restriction | **Premium** 10.2 | GitLab will reject any commit that was not committed by the current authenticated user | -| Check whether commit is signed through GPG | **Premium** 10.1 | Reject commit when it is not signed through GPG. Read [signing commits with GPG][signing-commits]. | +| Check whether commit is signed through GPG | **Premium** 10.1 | Reject commit when it is not signed through GPG. Read [signing commits with GPG](../user/project/repository/gpg_signed_commits/index.md). | | Prevent committing secrets to Git | **Starter** 8.12 | GitLab will reject any files that are likely to contain secrets. Read [what files are forbidden](#prevent-pushing-secrets-to-the-repository). | | Restrict by commit message | **Starter** 7.10 | Only commit messages that match this regular expression are allowed to be pushed. Leave empty to allow any commit message. Uses multiline mode, which can be disabled using `(?-m)`. | | Restrict by commit message (negative match)| **Starter** 11.1 | Only commit messages that do not match this regular expression are allowed to be pushed. Leave empty to allow any commit message. Uses multiline mode, which can be disabled using `(?-m)`. | @@ -88,14 +88,14 @@ GitLab uses [RE2 syntax](https://github.com/google/re2/wiki/Syntax) for regular ## Prevent pushing secrets to the repository -> [Introduced][ee-385] in [GitLab Starter][ee] 8.12. +> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/385) in [GitLab Starter](https://about.gitlab.com/pricing/) 8.12. You can turn on a predefined blacklist of files which won't be allowed to be pushed to a repository. By selecting the checkbox *Prevent committing secrets to Git*, GitLab prevents pushes to the repository when a file matches a regular expression as read from -[`files_blacklist.yml`][list] (make sure you are at the right branch +[`files_blacklist.yml`](https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/gitlab/checks/files_blacklist.yml) (make sure you are at the right branch as your GitLab version when viewing this file). NOTE: **Note:** @@ -171,10 +171,3 @@ questions that you know someone might ask. Each scenario can be a third-level heading, e.g. `### Getting error message X`. If you have none to add when creating a doc, leave this section in place but commented out to help encourage others to add to it in the future. --> - -[protected-branches]: ../user/project/protected_branches.md -[signing-commits]: ../user/project/repository/gpg_signed_commits/index.md -[ee-385]: https://gitlab.com/gitlab-org/gitlab/issues/385 -[list]: https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/gitlab/checks/files_blacklist.yml -[hooks]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks -[ee]: https://about.gitlab.com/pricing/ diff --git a/doc/security/crime_vulnerability.md b/doc/security/crime_vulnerability.md index 93edbc69eb020..f3ad2969a642a 100644 --- a/doc/security/crime_vulnerability.md +++ b/doc/security/crime_vulnerability.md @@ -16,12 +16,12 @@ The TLS Protocol CRIME Vulnerability affects systems that use data compression over HTTPS. Your system might be vulnerable to the CRIME vulnerability if you use SSL Compression (for example, gzip) or SPDY (which optionally uses compression). -GitLab supports both gzip and [SPDY][ngx-spdy] and mitigates the CRIME +GitLab supports both gzip and [SPDY](http://nginx.org/en/docs/http/ngx_http_spdy_module.html) and mitigates the CRIME vulnerability by deactivating gzip when HTTPS is enabled. The sources of the files are here: -- [Source installation NGINX file][source-nginx] -- [Omnibus installation NGINX file][omnibus-nginx] +- [Source installation NGINX file](https://gitlab.com/gitlab-org/gitlab/blob/master/lib/support/nginx/gitlab-ssl) +- [Omnibus installation NGINX file](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb) Although SPDY is enabled in Omnibus installations, CRIME relies on compression (the 'C') and the default compression level in NGINX's SPDY module is 0 @@ -29,7 +29,7 @@ Although SPDY is enabled in Omnibus installations, CRIME relies on compression ## Nessus -The Nessus scanner, [reports a possible CRIME vulnerability][nessus] in GitLab +The Nessus scanner, [reports a possible CRIME vulnerability](https://www.tenable.com/plugins/index.php?view=single&id=62565) in GitLab similar to the following format: ```plaintext @@ -55,15 +55,9 @@ vulnerability. ## References -- NGINX ["Module ngx_http_spdy_module"][ngx-spdy] -- Tenable Network Security, Inc. ["Transport Layer Security (TLS) Protocol CRIME Vulnerability"][nessus] -- Wikipedia contributors, ["CRIME"][wiki-crime] Wikipedia, The Free Encyclopedia - -[source-nginx]: https://gitlab.com/gitlab-org/gitlab/blob/master/lib/support/nginx/gitlab-ssl -[omnibus-nginx]: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb -[ngx-spdy]: http://nginx.org/en/docs/http/ngx_http_spdy_module.html -[nessus]: https://www.tenable.com/plugins/index.php?view=single&id=62565 -[wiki-crime]: https://en.wikipedia.org/wiki/CRIME +- NGINX ["Module ngx_http_spdy_module"](http://nginx.org/en/docs/http/ngx_http_spdy_module.html) +- Tenable Network Security, Inc. ["Transport Layer Security (TLS) Protocol CRIME Vulnerability"](https://www.tenable.com/plugins/index.php?view=single&id=62565) +- Wikipedia contributors, ["CRIME"](https://en.wikipedia.org/wiki/CRIME) Wikipedia, The Free Encyclopedia <!-- ## Troubleshooting diff --git a/doc/user/feature_highlight.md b/doc/user/feature_highlight.md index df85a129ce1c1..47f8671afae33 100644 --- a/doc/user/feature_highlight.md +++ b/doc/user/feature_highlight.md @@ -1,6 +1,6 @@ # Feature highlight -> [Introduced][ce-16379] in GitLab 10.5 +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/16379) in GitLab 10.5 Feature highlights are represented by a pulsing blue dot. Hovering over the dot will open up callout with more information. @@ -11,5 +11,3 @@ at the bottom of the callout. There isn't a way to restore the feature highlight after it has been dismissed.  - -[ce-16379]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/16379 diff --git a/doc/user/group/index.md b/doc/user/group/index.md index b819e3e971ec9..941462f84a090 100644 --- a/doc/user/group/index.md +++ b/doc/user/group/index.md @@ -211,8 +211,8 @@ There are two different ways to add a new project to a group: ### Default project-creation level -> - [Introduced][ee-2534] in [GitLab Premium][ee] 10.5. -> - Brought to [GitLab Starter][ee] in 10.7. +> - [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/2534) in [GitLab Premium](https://about.gitlab.com/pricing/) 10.5. +> - Brought to [GitLab Starter](https://about.gitlab.com/pricing/) in 10.7. > - [Moved](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/25975) to [GitLab Core](https://about.gitlab.com/pricing/) in 11.10. By default, [Developers and Maintainers](../permissions.md#group-members-permissions) can create projects under a group. @@ -308,7 +308,7 @@ See [the GitLab Enterprise Edition documentation](../../integration/ldap.md) for ## Epics **(ULTIMATE)** -> Introduced in [GitLab Ultimate][ee] 10.2. +> Introduced in [GitLab Ultimate](https://about.gitlab.com/pricing/) 10.2. Epics let you manage your portfolio of projects more efficiently and with less effort by tracking groups of issues that share a theme, across projects and @@ -623,6 +623,3 @@ questions that you know someone might ask. Each scenario can be a third-level heading, e.g. `### Getting error message X`. If you have none to add when creating a doc, leave this section in place but commented out to help encourage others to add to it in the future. --> - -[ee]: https://about.gitlab.com/pricing/ -[ee-2534]: https://gitlab.com/gitlab-org/gitlab/issues/2534 diff --git a/doc/user/group/subgroups/index.md b/doc/user/group/subgroups/index.md index e73623a2f0e70..49f6ddc3986b9 100644 --- a/doc/user/group/subgroups/index.md +++ b/doc/user/group/subgroups/index.md @@ -191,11 +191,6 @@ Here's a list of what you can't do with subgroups: with `group`, but can be shared with `group/subgroup02` or `group/subgroup01/subgroup03`. -[ce-2772]: https://gitlab.com/gitlab-org/gitlab-foss/issues/2772 -[permissions]: ../../permissions.md#group-members-permissions -[reserved]: ../../reserved_names.md -[issue]: https://gitlab.com/gitlab-org/gitlab-foss/issues/30472#note_27747600 - <!-- ## Troubleshooting Include any troubleshooting steps that you can foresee. If you know beforehand what issues diff --git a/doc/user/project/git_attributes.md b/doc/user/project/git_attributes.md index 21ef94e61f76e..260e618ba03ec 100644 --- a/doc/user/project/git_attributes.md +++ b/doc/user/project/git_attributes.md @@ -1,6 +1,6 @@ # Git Attributes -GitLab supports defining custom [Git attributes][gitattributes] such as what +GitLab supports defining custom [Git attributes](https://git-scm.com/docs/gitattributes) such as what files to treat as binary, and what language to use for syntax highlighting diffs. @@ -18,5 +18,3 @@ ignored. The `.gitattributes` file can be used to define which language to use when syntax highlighting files and diffs. See ["Syntax Highlighting"](highlighting.md) for more information. - -[gitattributes]: https://git-scm.com/docs/gitattributes diff --git a/doc/user/project/protected_tags.md b/doc/user/project/protected_tags.md index 6f68a2c99079c..b134d283ba9b4 100644 --- a/doc/user/project/protected_tags.md +++ b/doc/user/project/protected_tags.md @@ -4,7 +4,7 @@ type: reference, howto # Protected Tags -> [Introduced][ce-10356] in GitLab 9.1. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/10356) in GitLab 9.1. Protected Tags allow control over who has permission to create tags as well as preventing accidental update or deletion once created. Each rule allows you to match either an individual tag name, or use wildcards to control multiple tags at once. @@ -67,5 +67,3 @@ questions that you know someone might ask. Each scenario can be a third-level heading, e.g. `### Getting error message X`. If you have none to add when creating a doc, leave this section in place but commented out to help encourage others to add to it in the future. --> - -[ce-10356]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/10356 "Protected Tags" diff --git a/doc/user/project/repository/file_finder.md b/doc/user/project/repository/file_finder.md index 91e6d2912d119..1361053dac37a 100644 --- a/doc/user/project/repository/file_finder.md +++ b/doc/user/project/repository/file_finder.md @@ -4,7 +4,7 @@ disqus_identifier: 'https://docs.gitlab.com/ee/workflow/file_finder.html' # File finder -> [Introduced][gh-9889] in GitLab 8.4. +> [Introduced](https://github.com/gitlabhq/gitlabhq/pull/9889) in GitLab 8.4. The file finder feature allows you to search for a file in a repository using the GitLab UI. @@ -32,7 +32,7 @@ The File finder feature is powered by the [Fuzzy filter](https://github.com/jean It implements a fuzzy search with highlight, and tries to provide intuitive results by recognizing patterns that people use while searching. -For example, consider the [GitLab CE repository][ce] and that we want to open +For example, consider the [GitLab CE repository](https://gitlab.com/gitlab-org/gitlab-foss/tree/master) and that we want to open the `app/controllers/admin/deploy_keys_controller.rb` file. Using fuzzy search, we start by typing letters that get us closer to the file. @@ -40,6 +40,3 @@ Using fuzzy search, we start by typing letters that get us closer to the file. **Tip:** To narrow down your search, include `/` in your search terms.  - -[gh-9889]: https://github.com/gitlabhq/gitlabhq/pull/9889 "File finder pull request" -[ce]: https://gitlab.com/gitlab-org/gitlab-foss/tree/master "GitLab CE repository" diff --git a/doc/user/project/repository/forking_workflow.md b/doc/user/project/repository/forking_workflow.md index 126144de70373..a49701017f330 100644 --- a/doc/user/project/repository/forking_workflow.md +++ b/doc/user/project/repository/forking_workflow.md @@ -72,5 +72,3 @@ changes are added to the repository and branch you're merging into. ## Removing a fork relationship You can unlink your fork from its upstream project in the [advanced settings](../settings/index.md#removing-a-fork-relationship). - -[gitlab flow]: https://about.gitlab.com/blog/2014/09/29/gitlab-flow/ "GitLab Flow blog post" diff --git a/doc/user/project/web_ide/index.md b/doc/user/project/web_ide/index.md index c98448ff9049c..d383db2d62b39 100644 --- a/doc/user/project/web_ide/index.md +++ b/doc/user/project/web_ide/index.md @@ -1,6 +1,6 @@ # Web IDE -> - [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/4539) in [GitLab Ultimate][ee] 10.4. +> - [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/4539) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 10.4. > - [Brought to GitLab Core](https://gitlab.com/gitlab-org/gitlab-foss/issues/44157) in 10.7. The Web IDE editor makes it faster and easier to contribute changes to your @@ -15,7 +15,7 @@ and from merge requests. ## File finder -> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/18323) in [GitLab Core][ce] 10.8. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/18323) in [GitLab Core](https://about.gitlab.com/pricing/) 10.8. The file finder allows you to quickly open files in the current branch by searching. The file finder is launched using the keyboard shortcut `Command-p`, @@ -73,7 +73,7 @@ shows you a preview of the merge request diff if you commit your changes. ## View CI job logs -> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/19279) in [GitLab Core][ce] 11.0. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/19279) in [GitLab Core](https://about.gitlab.com/pricing/) 11.0. You can use the Web IDE to quickly fix failing tests by opening the branch or merge request in the Web IDE and opening the logs of the failed @@ -86,7 +86,7 @@ left. ## Switching merge requests -> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/19318) in [GitLab Core][ce] 11.0. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/19318) in [GitLab Core](https://about.gitlab.com/pricing/) 11.0. To switch between your authored and assigned merge requests, click the dropdown in the top of the sidebar to open a list of merge requests. You will @@ -95,7 +95,7 @@ request. ## Switching branches -> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/20850) in [GitLab Core][ce] 11.2. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/20850) in [GitLab Core](https://about.gitlab.com/pricing/) 11.2. To switch between branches of the current project repository, click the dropdown in the top of the sidebar to open a list of branches. @@ -104,7 +104,7 @@ different branch. ## Client Side Evaluation -> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/19764) in [GitLab Core][ce] 11.2. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/19764) in [GitLab Core](https://about.gitlab.com/pricing/) 11.2. You can use the Web IDE to preview JavaScript projects right in the browser. This feature uses CodeSandbox to compile and bundle the JavaScript used to @@ -302,6 +302,3 @@ active terminal at a time. - If the terminal displays **Connection Failure**, then the terminal could not connect to the runner. Please try to stop and restart the terminal. If the problem persists, double check your runner configuration. - -[ce]: https://about.gitlab.com/pricing/ -[ee]: https://about.gitlab.com/pricing/ -- GitLab