diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-11-07 23:39:06 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-11-09 23:20:11 +0300 |
commit | 04f25524d1efbb2b1365d6ece8c65fdb00018602 (patch) | |
tree | 7bced9426951e1d2915a233c0eaf46e8f52760af /lib | |
parent | e124cfe44b289ad32be4e66fc4f8fb3eb655c36b (diff) |
Init addition of GitLab Runner
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filters/edit_on_gitlab_link.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/filters/edit_on_gitlab_link.rb b/lib/filters/edit_on_gitlab_link.rb index bcd6bba6..ec35044d 100644 --- a/lib/filters/edit_on_gitlab_link.rb +++ b/lib/filters/edit_on_gitlab_link.rb @@ -20,6 +20,9 @@ module Nanoc::Filters if product == "omnibus" # omnibus-gitlab repo result.gsub!(/EDIT_ON_GITLAB_LINK/, "https://gitlab.com/gitlab-org/#{product}-gitlab/blob/master/doc/#{content_filename}") + elsif product == "runner" + # omnibus-gitlab repo + result.gsub!(/EDIT_ON_GITLAB_LINK/, "https://gitlab.com/gitlab-org/gitlab-ci-multi-#{product}/blob/master/doc/#{content_filename}") else # gitlab-ce and gitlab-ee repos result.gsub!(/EDIT_ON_GITLAB_LINK/, "https://gitlab.com/gitlab-org/gitlab-#{product}/blob/master/doc/#{content_filename}") |