Skip to content

Commit

Permalink
Rely on the plugin_manual mechanism in Foreman
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Nov 27, 2023
1 parent 54dc5ed commit 7a85704
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/helpers/remote_execution_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ def time_in_words_span(time)
end

def documentation_button_rex(section = '')
url = "https://theforeman.org/plugins/foreman_remote_execution/#{rex_doc_version}/index.html#"
documentation_button section, :root_url => url
documentation_button section, type: 'plugin_manual', name: 'foreman_remote_execution', version: rex_doc_version, section: "##{section}"
end

def description_checkbox_f(f, job_template, disabled)
Expand Down

0 comments on commit 7a85704

Please sign in to comment.