Use self-hosted docs link for Help > GitLab documentation
Purpose
The Help > GitLab documentation link in the nav is currently hardcoded to docs.gitlab.com
. Some of our self-managed customers use a fully air-gapped installation of GitLab, which prevents their users from being able to access our hosted documentation. We need to respect the admin settings for docs pages that are already offered in the product.
Requirements
- If an instance has specified a custom help page URL, the GitLab documentation link should be based off of that URL.
- If no custom help page URL is provided, continue to default to gitlab.com (or the appropriate JiHu override)
Edited by Jeff Tucker