diff options
author | Evan Read <eread@gitlab.com> | 2019-03-04 11:21:33 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2019-03-04 11:21:33 +0300 |
commit | 0ddb1c53b5a5ec1540ab383e48f919538c66e4f6 (patch) | |
tree | a7c5663e10466684a98d3115f590357af0d170d1 | |
parent | c187ac1abc976cfcbc30673d6394f8280dd1a190 (diff) |
Fix edit this page URL for charts docs
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | lib/helpers/edit_on_gitlab.rb | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -47,7 +47,7 @@ See [LICENSE](LICENSE). ## Projects we pull from -There are currently 4 products that are pulled and generate the docs website: +There are currently 5 products that are pulled and generate the docs website: - [GitLab Enterprise Edition](https://gitlab.com/gitlab-org/gitlab-ee) - [GitLab Community Edition](https://gitlab.com/gitlab-org/gitlab-ce) diff --git a/lib/helpers/edit_on_gitlab.rb b/lib/helpers/edit_on_gitlab.rb index 658b6407..48b0010c 100644 --- a/lib/helpers/edit_on_gitlab.rb +++ b/lib/helpers/edit_on_gitlab.rb @@ -17,6 +17,9 @@ module Nanoc::Helpers elsif product == "runner" # gitlab-runner repo gitlab_url = "https://gitlab.com/gitlab-org/gitlab-#{product}/blob/master/docs/#{docs_content_filename}" + elsif product == "charts" + # GitLab Helm chart repo + gitlab_url = "https://gitlab.com/#{product}/gitlab/blob/master/doc/#{docs_content_filename}" elsif %w[ce ee].include?(product) # gitlab-ce and gitlab-ee repos if product == "ee" |