Remove '.md' extension from docs link helpers and add rubocop rules
Why are we doing this work
We have a number of url helper links which have the .md
extension present. Per linking to help, this extension should be omitted.
$ grep -rE 'help_page_(path|url)\(['\''"].*\.md['\''"]\)' app ee/app
app/models/user.rb: u.website_url = Gitlab::Routing.url_helpers.help_page_url('user/application_security/security_bot/index.md')
app/serializers/issue_entity.rb: help_page_path('user/project/issues/confidential_issues.md')
app/serializers/merge_request_widget_entity.rb: help_page_path('user/project/merge_requests/conflicts.md')
app/serializers/merge_request_widget_entity.rb: help_page_path('ci/pipelines/merge_request_pipelines.md')
app/views/ci/variables/_index.html.haml: aws_tip_learn_link: help_page_path('ci/cloud_deployment/index.md'),
app/views/projects/commit/_signature_badge.html.haml: = link_to(_('Learn more about X.509 signed commits'), help_page_path('user/project/repository/x509_signed_commits/index.md'), class: 'gl-link gl-display-block')
app/views/projects/commit/_signature_badge.html.haml: = link_to(_('Learn about signing commits with SSH keys.'), help_page_path('user/project/repository/ssh_signed_commits/index.md'), class: 'gl-link gl-display-block gl-mt-3')
app/views/projects/commit/_signature_badge.html.haml: = link_to(_('Learn about signing commits'), help_page_path('user/project/repository/gpg_signed_commits/index.md'), class: 'gl-link gl-display-block gl-mt-3')
app/views/projects/settings/ci_cd/_autodevops_form.html.haml: - autodevops_help_link = link_to _('Learn more.'), help_page_path('topics/autodevops/index.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/projects/settings/operations/_alert_management.html.haml: = link_to _('Learn more.'), help_page_path('operations/incident_management/integrations.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/projects/environments/show.html.haml: = render Pajamas::ButtonComponent.new(variant: :confirm, href: help_page_path("ci/environments/index.md")) do
app/views/projects/environments/index.html.haml: "help-page-path" => help_page_path("ci/environments/index.md"),
app/views/projects/_merge_request_merge_method_settings.html.haml: = link_to s_('ProjectSettings|How do they differ?'), help_page_path('user/project/merge_requests/methods/index.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/projects/_merge_request_squash_commit_template.html.haml: - configure_the_squash_commit_message_help_link_url = help_page_path('user/project/merge_requests/commit_templates.md')
app/views/projects/usage_quotas/index.html.haml: %a{ href: help_page_path('user/usage_quotas.md'), target: '_blank', rel: 'noopener noreferrer' }
app/views/projects/_merge_request_merge_commit_template.html.haml: - configure_the_merge_commit_message_help_link_url = help_page_path('user/project/merge_requests/commit_templates.md')
app/views/projects/merge_requests/_page.html.haml:- suggest_changes_help_path = help_page_path('user/project/merge_requests/reviews/suggestions.md')
app/views/projects/merge_requests/_widget.html.haml: window.gl.mrWidgetData.ci_troubleshooting_docs_path = '#{help_page_path('ci/troubleshooting.md')}';
app/views/projects/merge_requests/_widget.html.haml: window.gl.mrWidgetData.license_compliance_docs_path = '#{help_page_path('user/compliance/license_compliance/index.md')}';
app/views/projects/merge_requests/_widget.html.haml: window.gl.mrWidgetData.approvals_help_path = '#{help_page_path("user/project/merge_requests/approvals/index.md")}';
app/views/projects/mirrors/_mirror_repos.html.haml: = link_to _('How do I mirror repositories?'), help_page_path('user/project/repository/mirror/index.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/projects/cleanup/_show.html.haml: help_page_path('user/project/repository/reducing_the_repo_size_using_git.md'),
app/views/projects/runners/_group_runners.html.haml:- link = link_to _('Runner API'), help_page_path('api/runners.md')
app/views/projects/issues/_new_branch.html.haml: #js-forked-project{ data: { namespace_path: @project.namespace.full_path, project_path: @project.full_path, new_fork_path: new_project_fork_path(@project), help_page_path: help_page_path('user/project/merge_requests/index.md') } }
app/views/projects/blob/viewers/_metrics_dashboard_yml_loading.html.haml:= link_to _('Learn more'), help_page_path('operations/metrics/dashboards/yaml.md')
app/views/projects/blob/viewers/_metrics_dashboard_yml.html.haml:= link_to _('Learn more'), help_page_path('operations/metrics/dashboards/index.md')
app/views/projects/pages_domains/_certificate.html.haml: - docs_link_url = help_page_path("user/project/pages/custom_domains_ssl_tls_certification/lets_encrypt_integration.md")
app/views/projects/_merge_request_squash_options_settings.html.haml: = link_to s_('ProjectSettings|What is squashing?'), help_page_path('user/project/merge_requests/squash_and_merge.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/clusters/clusters/_namespace.html.haml:- managed_namespace_help_link = link_to _('More information'), help_page_path('user/project/clusters/gitlab_managed_clusters.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/clusters/clusters/cloud_providers/_cloud_provider_selector.html.haml:- eks_help_path = help_page_path('user/infrastructure/clusters/connect/new_eks_cluster.md')
app/views/clusters/clusters/cloud_providers/_cloud_provider_selector.html.haml:- gke_help_path = help_page_path('user/infrastructure/clusters/connect/new_gke_cluster.md')
app/views/clusters/clusters/cloud_providers/_cloud_provider_selector.html.haml:- civo_help_path = help_page_path('user/infrastructure/clusters/connect/new_civo_cluster.md')
app/views/clusters/clusters/show.html.haml: help_path: help_page_path('user/infrastructure/clusters/index.md'),
app/views/clusters/clusters/show.html.haml: clusters_help_path: help_page_path('user/project/clusters/deploy_to_cluster.md'),
app/views/clusters/clusters/_advanced_settings.html.haml: = link_to _('More information'), help_page_path('user/clusters/management_project.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/clusters/clusters/user/_form.html.haml: = link_to _('Learn more.'), help_page_path('user/project/clusters/gitlab_managed_clusters.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/clusters/clusters/_provider_details_form.html.haml: = link_to _('More information'), help_page_path('user/project/clusters/gitlab_managed_clusters.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/clusters/clusters/_multiple_clusters_message.html.haml:- autodevops_help_url = help_page_path('topics/autodevops/multiple_clusters_auto_devops.md')
app/views/clusters/clusters/_deprecation_alert.html.haml: - docs_link_start = link_start % { url: help_page_path('user/clusters/agent/index.md') }
app/views/admin/application_settings/metrics_and_profiling.html.haml: = link_to _('Learn more.'), help_page_path('administration/monitoring/performance/grafana_configuration.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_ci_cd.html.haml: - devops_help_link_url = help_page_path('topics/autodevops/index.md')
app/views/admin/application_settings/_repository_storage.html.haml: - repository_storage_help_link_url = help_page_path('administration/repository_storage_types.md')
app/views/admin/application_settings/_repository_storage.html.haml: = link_to _('Learn more.'), help_page_path('administration/repository_storage_paths.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_localization.html.haml: - time_tracking_help_link = help_page_path('user/project/time_tracking.md')
app/views/admin/application_settings/repository.html.haml: = link_to _('Learn more.'), help_page_path('user/project/repository/mirror/index.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/repository.html.haml: = link_to _('Learn more.'), help_page_path('administration/repository_storage_paths.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/repository.html.haml: - repository_checks_link_url = help_page_path('administration/repository_checks.md')
app/views/admin/application_settings/repository.html.haml: - housekeeping_link_url = help_page_path('administration/housekeeping.md')
app/views/admin/application_settings/repository.html.haml: = link_to _('Learn more.'), help_page_path('administration/static_objects_external_storage.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_gitlab_shell_operation_limits.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limits_on_git_ssh_operations.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/general.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/sign_in_restrictions.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/general.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/terms.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/user_and_ip_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/package_registry_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Which API requests are affected?'), help_page_path('user/admin_area/settings/deprecated_api_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/git_lfs_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('security/webhooks.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/protected_paths.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limit_on_issues_creation.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limit_on_notes_creation.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limit_on_users_api.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/import_export_rate_limits.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/network.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limit_on_pipelines_creation.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/reporting.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/review_abuse_reports.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_signin.html.haml: - help_link = link_to _('Learn more.'), help_page_path('security/two_factor_authentication.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/preferences.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/help_page.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/preferences.html.haml: = link_to _('Learn more.'), help_page_path('administration/polling.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/preferences.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/gitaly_timeouts.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/preferences.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/sidekiq_job_limits.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/preferences.html.haml: = link_to s_('TerraformLimits|Learn more about Terraform limits.'), help_page_path('user/admin_area/settings/terraform_limits.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_plantuml.html.haml: = link_to _('Learn more.'), help_page_path('administration/integration/plantuml.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_sourcegraph.html.haml: = link_to s_('SourcegraphAdmin|Learn more.'), help_page_path('integration/sourcegraph.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_kroki.html.haml: = link_to _('Learn more.'), help_page_path('administration/integration/kroki.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_error_tracking.html.haml: = _('Allows projects to track errors using an Opstrace integration.').html_safe % { link: help_page_path('operations/error_tracking.md') }
app/views/admin/application_settings/_error_tracking.html.haml: = link_to _('Learn more.'), help_page_path('operations/error_tracking.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_projects_api_limits.html.haml: = link_to _('Learn more.'), help_page_path('user/admin_area/settings/rate_limit_on_projects_api.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_diagramsnet.html.haml: = link_to _('Learn more.'), help_page_path('administration/integration/diagrams_net.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_spam.html.haml: - spam_help_link_url = help_page_path('integration/recaptcha.md')
app/views/admin/application_settings/_spam.html.haml: = link_to _('How do I configure Akismet?'), help_page_path('integration/akismet.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_gitpod.html.haml: = link_to sprite_icon('question-o'), help_page_path('integration/gitpod.md'), target: '_blank', class: 'has-tooltip', title: _('More information')
app/views/admin/application_settings/_terms.html.haml: = link_to _('What is Markdown?'), help_page_path('user/markdown.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/admin/application_settings/_floc.html.haml: - floc_link_url = help_page_path('user/admin_area/settings/floc.md')
app/views/admin/dashboard/index.html.haml: doc_href: help_page_path('administration/auth/ldap/index.md'))
app/views/admin/dev_ops_report/_score.html.haml: #js-devops-service-ping-disabled{ data: { is_admin: current_user&.admin.to_s, empty_state_svg_path: image_path('illustrations/convdev/convdev_no_index.svg'), enable_service_ping_path: metrics_and_profiling_admin_application_settings_path(anchor: 'js-usage-settings'), docs_link: help_page_path('development/service_ping/index.md') } }
app/views/shared/_auto_devops_callout.html.haml: - link = link_to(s_('AutoDevOps|Auto DevOps documentation'), help_page_path('topics/autodevops/index.md'), target: '_blank', rel: 'noopener noreferrer')
app/views/shared/_custom_attributes.html.haml: = link_to(_('Custom Attributes'), help_page_path('api/custom_attributes.md'))
app/views/shared/empty_states/_snippets.html.haml: = link_button_to s_('SnippetsEmptyState|Documentation'), help_page_path('user/snippets.md'), title: s_('SnippetsEmptyState|Documentation')
app/views/shared/issuable/form/_type_selector.html.haml: - incident_docs_url = help_page_path('operations/incident_management/incidents.md')
app/views/shared/integrations/mattermost_slash_commands/_help.html.haml: = link_to help_page_path('user/project/integrations/mattermost_slash_commands.md'), target: '_blank' do
app/views/shared/integrations/slack_slash_commands/_help.html.haml: = link_to help_page_path('user/project/integrations/slack_slash_commands.md'), target: '_blank' do
app/views/shared/integrations/prometheus/_metrics.html.haml: = link_to s_('PrometheusService|More information'), help_page_path('operations/metrics/index.md')
app/views/shared/integrations/prometheus/_custom_metrics.html.haml: = link_to s_('PrometheusService|More information'), help_page_path('operations/metrics/index.md'), target: '_blank', rel: "noopener noreferrer"
app/views/shared/integrations/gitlab_slack_application/_help.html.haml: = link_to _('Learn more'), help_page_path('user/project/integrations/gitlab_slack_application.md')
app/views/shared/_auto_devops_implicitly_enabled_banner.html.haml: = link_button_to _('More information'), help_page_path('topics/autodevops/index.md'), target: '_blank', class: 'alert-link gl-ml-3'
app/views/shared/_service_ping_consent.html.haml: - docs_link = link_to '', help_page_path('user/admin_area/settings/usage_statistics.md'), class: 'gl-link'
app/views/shared/deploy_tokens/_index.html.haml: deploy_tokens_help_url: help_page_path('user/project/deploy_tokens/index.md')
app/views/shared/deploy_tokens/_new_deploy_token.html.haml: - link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/project/deploy_tokens/index.md') }
app/views/shared/deploy_tokens/_form.html.haml: - group_deploy_tokens_help_link_url = help_page_path('user/project/deploy_tokens/index.md')
app/views/groups/settings/ci_cd/_auto_devops_form.html.haml: - learn_more_link = link_to _('Learn more.'), help_page_path('topics/autodevops/index.md'), target: '_blank', rel: 'noopener noreferrer'
app/views/profiles/gpg_keys/index.html.haml: - help_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/project/repository/gpg_signed_commits/index.md') }
app/views/profiles/keys/index.html.haml: - help_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/ssh.md') }
app/helpers/merge_requests_helper.rb: help_page_path: help_page_path('user/project/merge_requests/reviews/suggestions.md'),
app/helpers/projects/alert_management_helper.rb: 'alerts-help-url' => help_page_url('operations/incident_management/alerts.md'),
app/helpers/ide_helper.rb: 'web-ide-help-page-path' => help_page_path('user/project/web_ide/index.md'),
app/helpers/environments_helper.rb: 'documentation_path' => help_page_path('administration/monitoring/prometheus/index.md'),
app/helpers/preferences_helper.rb: views << { name: 'gitpod', message: gitpod_enable_description, message_url: gitpod_url_placeholder, help_link: help_page_path('integration/gitpod.md') } if Gitlab::CurrentSettings.gitpod_enabled
ee/app/views/projects/settings/ci_cd/_protected_environments.html.haml: api_link: help_page_path('api/protected_environments.md'),
ee/app/views/projects/settings/ci_cd/_pipeline_subscriptions.html.haml: - default_branch_docs = link_to(_("default branch"), help_page_path('user/project/repository/branches/default.md'))
ee/app/views/projects/settings/merge_requests/_suggested_reviewers_settings.html.haml: = link_to _("Learn more."), help_page_path("user/project/merge_requests/reviews/index.md"), target: '_blank', rel: 'noopener noreferrer'
ee/app/views/projects/settings/merge_requests/_merge_request_approvals_settings.html.haml: = link_to _("Learn more."), help_page_path("user/project/merge_requests/approvals/index.md"), target: '_blank', rel: 'noopener noreferrer'
ee/app/views/projects/settings/_analytics_dashboards.html.haml: = link_to(s_('ProjectSettings|What is Analytics Dashboards?'), help_page_path('user/analytics/value_streams_dashboard.md'))
ee/app/views/projects/security/policies/index.html.haml: documentation_path: help_page_path('user/application_security/policies/index.md'),
ee/app/views/projects/_merge_trains_settings.html.haml:- merge_trains_help_link_url = help_page_path('ci/pipelines/merge_trains.md')
ee/app/views/projects/merge_requests/show.html.haml: window.gl.mrWidgetData.geo_secondary_help_path = '#{help_page_path("administration/geo/replication/configuration.md")}';
ee/app/views/projects/mirrors/_branch_filter.html.haml: = link_to _('Learn more.'), help_page_path('user/project/repository/mirror/index.md'), target: '_blank', rel: 'noopener noreferrer'
ee/app/views/admin/application_settings/_ldap_access_setting.html.haml: - help_link_group = link_to sprite_icon('question-o'), help_page_path('administration/auth/ldap/index.md')
ee/app/views/admin/application_settings/_custom_templates_form.html.haml: - link_start = '<a href="%{url}">'.html_safe % { url: help_page_path('user/admin_area/custom_project_templates.md') }
ee/app/views/admin/dashboard/_elastic_and_geo.html.haml: doc_href: help_page_path('administration/geo/index.md'),
ee/app/views/admin/push_rules/_merge_request_approvals.html.haml: = link_to _("Learn more."), help_page_path("user/project/merge_requests/approvals/index.md"), target: '_blank', rel: 'noopener noreferrer'
ee/app/views/admin/push_rules/_merge_request_approvals_fields.html.haml: = link_to _("Learn more."), help_page_path("user/admin_area/merge_requests_approvals.md"), target: '_blank', rel: 'noopener noreferrer'
ee/app/views/shared/empty_states/_geo_replication.html.haml:- geo_troubleshooting_link = help_page_path('administration/geo/replication/troubleshooting.md')
ee/app/views/shared/promotions/_promote_mr_features.html.haml: = link_to s_('Promotions|Merge request approvals'), help_page_path('user/project/merge_requests/approvals/index.md'), target: '_blank', rel: 'noopener noreferrer'
ee/app/views/shared/promotions/_promote_advanced_search.html.haml: = link_to _('Read more'), help_page_path('user/search/advanced_search.md'), target: '_blank', rel: 'noopener noreferrer'
ee/app/views/shared/promotions/_promote_mobile_devops.html.haml: = link_button_to s_('Promotions|Get started with GitLab Mobile DevOps'), help_page_path('ci/mobile_devops.md'), class: 'gl-mb-3', variant: :confirm
ee/app/views/shared/promotions/_promote_burndown_charts.html.haml: = link_to _('Read more'), help_page_path('user/project/milestones/burndown_and_burnup_charts.md'), target: '_blank', rel: 'noopener noreferrer'
ee/app/views/shared/promotions/_promote_group_webhooks.html.haml: = link_to _('Read more'), help_page_path('user/project/integrations/webhooks.md'), target: '_blank', rel: 'noopener noreferrer'
ee/app/views/shared/promotions/_promote_repository_features.html.haml: = link_to s_('Promotions|Push Rules'), help_page_path('user/project/repository/push_rules.md'), target: '_blank', rel: 'noopener noreferrer', class: 'gl-display-block'
ee/app/views/shared/promotions/_promote_repository_features.html.haml: = link_to s_('Promotions|Repository Mirroring'), help_page_path('user/project/repository/mirror/index.md'), target: '_blank', rel: 'noopener noreferrer', class: 'gl-display-block'
ee/app/views/shared/promotions/_promote_repository_features.html.haml: = link_to s_('Promotions|Better Protected Branches'), help_page_path('user/project/protected_branches.md'), target: '_blank', rel: 'noopener noreferrer', class: 'gl-display-block'
ee/app/views/shared/_new_user_signups_cap_reached_alert.html.haml:- user_cap_help_url = help_page_path('user/admin_area/settings/sign_up_restrictions.md')
ee/app/views/groups/settings/domain_verification/_certificate.html.haml: - docs_link_url = help_page_path("user/project/pages/custom_domains_ssl_tls_certification/lets_encrypt_integration.md")
ee/app/views/groups/security/policies/index.html.haml: documentation_path: help_page_path('user/application_security/policies/index.md'),
ee/app/views/groups/_custom_project_templates_setting.html.haml: - link_start = '<a href="%{url}">'.html_safe % { url: help_page_path('user/group/custom_project_templates.md') }
ee/app/views/groups/_insights.html.haml: = link_to(s_('GroupSettings|What is Insights?'), help_page_path('user/group/insights/index.md'), target: '_blank', rel: 'noopener noreferrer')
ee/app/views/groups/_analytics_dashboards.html.haml: = link_to(s_('GroupSettings|What is Analytics Dashboards?'), help_page_path('user/analytics/value_streams_dashboard.md'))
ee/app/views/groups/_compliance_frameworks.html.haml:- compliance_framework_doc_link = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/group/compliance_frameworks.md') }
ee/app/views/compliance_management/compliance_framework/_project_settings.html.haml:- gitlab_ci_yaml_doc_link = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('ci/yaml/gitlab_ci_yaml.md') }
ee/app/helpers/ee/operations_helper.rb: 'empty-dashboard-help-path' => help_page_path('user/operations_dashboard/index.md'),
ee/app/helpers/ee/operations_helper.rb: 'operations-dashboard-help-path' => help_page_path('user/operations_dashboard/index.md')
ee/app/helpers/ee/operations_helper.rb: 'empty-dashboard-help-path' => help_page_path('ci/environments/environments_dashboard.md'),
ee/app/helpers/ee/operations_helper.rb: 'environments-dashboard-help-path' => help_page_path('ci/environments/environments_dashboard.md')
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
- Add a new cop which flags file extensions being passed to
help_page_path
andhelp_page_url
. - Remove the file extensions from the existing usages.