Use helpPagePath to Render terraform module registry links
requested to merge gitlab-community/gitlab:439049-helpPagePath-to-render-terraform-module-links into master
What does this MR do and why?
Use helpPagePath function to render Terraform Module registry links for empty and non-empty state. This affects both groups and projects. The link now points to https://docs.gitlab.com/ee/user/packages/terraform_module_registry/index.html.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
Groups (non-empty state) | |
Groups (empty state) | |
Project (non-empty state) | |
Project (empty state) |
Before images essentially are the same UI but links pointing to: https://docs.gitlab.com/ee/user/infrastructure/index.html
How to set up and validate locally
- Testing empty state
- Go to Groups & Projects
- On sidebar click on Operate < Terraform modules
- The link should point to https://docs.gitlab.com/ee/user/packages/terraform_module_registry/index.html.
- Testing non-empty state
- Follow this guide to upload Terraform modules for both groups and projects: https://docs.gitlab.com/ee/api/packages/terraform-modules.html
- Go to Groups & Projects
- On sidebar click on Operate < Terraform modules
- The link should point to https://docs.gitlab.com/ee/user/packages/terraform_module_registry/index.html.
Related to #439049 (closed)
Edited by Justin Zeng