From 59c754671d6988a9b7d66a2b2f543d0d59aaf75a Mon Sep 17 00:00:00 2001
From: Kev Kloss <kkloss@gitlab.com>
Date: Thu, 27 Feb 2025 18:07:48 +0000
Subject: [PATCH] Fix 'ui-docs-links lint' job referencing removed linter

This fixes that the `ui-docs-links lint` references the old
`DocumentationLinks` linter that was removed in [1].

[1]: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/181453
---
 .gitlab/ci/docs.gitlab-ci.yml                                   | 2 +-
 doc/development/documentation/testing/links.md                  | 2 +-
 .../no_seats_left_in_subscription_alert_component.html.haml     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab/ci/docs.gitlab-ci.yml b/.gitlab/ci/docs.gitlab-ci.yml
index 7aae03bb145c4..9ea9b106ec250 100644
--- a/.gitlab/ci/docs.gitlab-ci.yml
+++ b/.gitlab/ci/docs.gitlab-ci.yml
@@ -109,7 +109,7 @@ ui-docs-links lint:
   stage: lint
   needs: []
   script:
-    - bundle exec haml-lint -i DocumentationLinks
+    - bundle exec haml-lint
 
 docs-lint deprecations-and-removals:
   variables:
diff --git a/doc/development/documentation/testing/links.md b/doc/development/documentation/testing/links.md
index 1217ffaf7df1f..b38a843fa1bc1 100644
--- a/doc/development/documentation/testing/links.md
+++ b/doc/development/documentation/testing/links.md
@@ -51,7 +51,7 @@ To test documentation links from GitLab code files locally, you can run
 1. Run:
 
    ```shell
-   bundle exec haml-lint -i DocumentationLinks
+   bundle exec haml-lint
    ```
 
 If you receive an error the first time you run this test, run `bundle install`, which
diff --git a/ee/app/components/admin/block_seats_overages/no_seats_left_in_subscription_alert_component.html.haml b/ee/app/components/admin/block_seats_overages/no_seats_left_in_subscription_alert_component.html.haml
index 616f9d6b929ef..a799a616c303c 100644
--- a/ee/app/components/admin/block_seats_overages/no_seats_left_in_subscription_alert_component.html.haml
+++ b/ee/app/components/admin/block_seats_overages/no_seats_left_in_subscription_alert_component.html.haml
@@ -3,5 +3,5 @@
     - c.with_body do
       %p= _('You have used all seats in your subscription, so you cannot add new users.')
     - c.with_actions do
-      = render Pajamas::ButtonComponent.new(variant: :confirm, href: help_page_path('subscriptions/self_managed/index', anchor: 'add-seats-to-a-subscription')) do
+      = render Pajamas::ButtonComponent.new(variant: :confirm, href: help_page_path('subscriptions/self_managed/_index.md', anchor: 'add-seats-to-a-subscription')) do
         = s_('Purchase more seats')
-- 
GitLab