summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/.linting/vale/styles/gitlab/RelativeLinks.yml5
-rw-r--r--doc/administration/geo/disaster_recovery/index.md2
-rw-r--r--doc/administration/geo/replication/troubleshooting.md2
3 files changed, 4 insertions, 5 deletions
diff --git a/doc/.linting/vale/styles/gitlab/RelativeLinks.yml b/doc/.linting/vale/styles/gitlab/RelativeLinks.yml
index fccd29b8a25..95bd60dd6e4 100644
--- a/doc/.linting/vale/styles/gitlab/RelativeLinks.yml
+++ b/doc/.linting/vale/styles/gitlab/RelativeLinks.yml
@@ -1,12 +1,11 @@
---
# Checks for the presence of absolute hyperlinks that should be relative.
#
-# Requires --ignore-syntax CLI flag to find matches.
-#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends: existence
-message: URL '%s' must be relative.
+message: Link %s must be relative.
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation
level: error
+scope: raw
raw:
- '\[.+\]\(https?:\/\/docs\.gitlab\.com\/ee.*\)'
diff --git a/doc/administration/geo/disaster_recovery/index.md b/doc/administration/geo/disaster_recovery/index.md
index 1a336f89615..7ecb4893c88 100644
--- a/doc/administration/geo/disaster_recovery/index.md
+++ b/doc/administration/geo/disaster_recovery/index.md
@@ -139,7 +139,7 @@ do this manually.
sudo gitlab-pg-ctl promote
```
- In GitLab 12.8 and earlier, see [Message: "sudo: gitlab-pg-ctl: command not found"](../replication/troubleshooting.md#message-sudo-gitlab-pg-ctl-command-not-found).
+ In GitLab 12.8 and earlier, see [Message: `sudo: gitlab-pg-ctl: command not found`](../replication/troubleshooting.md#message-sudo-gitlab-pg-ctl-command-not-found).
1. Edit `/etc/gitlab/gitlab.rb` on every machine in the **secondary** to
reflect its new status as **primary** by removing any lines that enabled the
diff --git a/doc/administration/geo/replication/troubleshooting.md b/doc/administration/geo/replication/troubleshooting.md
index 77d1cad071a..e075a2b132e 100644
--- a/doc/administration/geo/replication/troubleshooting.md
+++ b/doc/administration/geo/replication/troubleshooting.md
@@ -514,7 +514,7 @@ or `gitlab-ctl promote-to-primary-node`, either:
bug](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/22021) was
fixed.
-### Message: "sudo: gitlab-pg-ctl: command not found"
+### Message: `sudo: gitlab-pg-ctl: command not found`
When
[promoting a **secondary** node with HA](../disaster_recovery/index.md#promoting-a-secondary-node-with-ha),