Skip to content

Commit ef0084a

Browse files
committed
Remove index files, fix cheatsheet link
1 parent 183f701 commit ef0084a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/puppet_references/puppet/type.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ def build_all
3737
end
3838

3939
def build_index(names)
40-
header_data = {title: 'Resource Types: Index',
41-
canonical: "#{@latest}/types/index.md"}
40+
header_data = {title: 'Resource types overview',
41+
canonical: "#{@latest}/types/overview.md"}
4242
links = names.map {|name|
4343
"* [#{name}](./#{name}.md)" unless name == 'component' || name == 'whit'
4444
}
45-
content = make_header(header_data) + "## List of Resource Types\n\n" + links.join("\n") + "\n\n" + PREAMBLE
46-
filename = @output_dir_individual + 'index.md'
45+
content = make_header(header_data) + "## List of resource types\n\n" + links.join("\n") + "\n\n" + PREAMBLE
46+
filename = @output_dir_individual + 'overview.md'
4747
filename.open('w') {|f| f.write(content)}
4848
end
4949

lib/puppet_references/puppet/type_preamble.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,4 @@ The following types were deprecated with Puppet 6.0.0. They are available in mod
143143

144144
## Puppet core types
145145

146-
For a list of core Puppet types, see the [core types cheat sheet](cheatsheet_core_types.md#cheatsheet_core_types).
146+
For a list of core Puppet types, see the [core types cheat sheet](cheatsheet_core_types.dita#cheatsheet_core_types).

0 commit comments

Comments
 (0)