Skip to content

Commit 46b13ce

Browse files
committed
Change man index to overview
1 parent 5a9d518 commit 46b13ce

File tree

1 file changed

+3
-3
lines changed
  • lib/puppet_references/puppet

1 file changed

+3
-3
lines changed

lib/puppet_references/puppet/man.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def build_all
2222
end
2323

2424
def build_index(commands)
25-
puts 'Man pages: Building index page'
25+
puts 'Man pages: Building overview page'
2626
# Categorize subcommands
2727
categories = {
2828
core: %w(
@@ -72,7 +72,7 @@ def build_index(commands)
7272
list.reject! {|sub| !commands.include?(sub)}
7373
end
7474
header_data = {title: 'Puppet Man Pages',
75-
canonical: "#{@latest}/index.html"}
75+
canonical: "#{@latest}/overview.html"}
7676
index_text = <<EOT
7777
#{ make_header(header_data) }
7878
@@ -103,7 +103,7 @@ def build_index(commands)
103103
104104
EOT
105105
# write index
106-
filename = OUTPUT_DIR + 'index.md'
106+
filename = OUTPUT_DIR + 'overview.md'
107107
filename.open('w') {|f| f.write(index_text)}
108108
end
109109

0 commit comments

Comments
 (0)