Project

General

Profile

Feature #14559

Enable reuse of foreman's #documentation_button in plugins.

Added by Shimon Shtein almost 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin integration
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Currently #documentation_url (source for documentation_button) is hard-coded for foreman documentation pages. If a plugin has its own documentation, it's impossible to reuse these methods, and the plugin has to reinvent its own helpers. For example see https://github.com/theforeman/foreman_remote_execution/blob/master/app/helpers/remote_execution_helper.rb#L207

Associated revisions

Revision b8cc93d5 (diff)
Added by Shimon Shtein almost 5 years ago

Fixes #14559 - Added support for overriding base url for documentation

History

#1 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3407 added

#2 Updated by Shimon Shtein almost 5 years ago

  • Bugzilla link set to 1324616

#3 Updated by Shimon Shtein almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal almost 5 years ago

  • Category set to Plugin integration
  • Legacy Backlogs Release (now unused) set to 136

Also available in: Atom PDF