Skip to content

Commit

Permalink
Fix scope names in documentation
Browse files Browse the repository at this point in the history
The scope names on the user side should have dashes instead of
underscores.

Fixes #2117
  • Loading branch information
thardeck committed Jul 5, 2016
1 parent c241ae5 commit fa903ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/man_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class ManTask
def self.compile_documentation
docs = Inspector.all_scopes.map do |scope|
scope_doc = "* #{scope}\n\n"
scope_doc = "* #{scope.tr("_", "-")}\n\n"
scope_doc += YAML.load_file(
File.join(Machinery::ROOT, "plugins/#{scope}/#{scope}.yml")
)[:description]
Expand Down

0 comments on commit fa903ac

Please sign in to comment.