diff --git a/.gitlab/ci/docs.gitlab-ci.yml b/.gitlab/ci/docs.gitlab-ci.yml index 7aae03bb145c488d1befeb14b393a5e701233db7..9ea9b106ec2502ae32217afe37baa2de0b8ffa35 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 1217ffaf7df1fc59156dbbec778389f0b3fd2e2c..b38a843fa1bc1e91b785d77df4504eef7b4b2357 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 616f9d6b929efcfa26a00c00a94317555f6e69df..a799a616c303c0ccfe37c00f3dbfbd01e8416d56 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')