Skip to content

Commit 9f958e1

Browse files
committed
(DOC-5036) Fix generated anchor links
1 parent f54219b commit 9f958e1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: lib/puppet_references/puppet/type_template.erb

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
* [Provider Features](#<%= name %>-provider-features)
99
<% end -%>
1010

11-
### [Description](#<%= name %>-description)
11+
### Description {#<%= name %>-description}
1212

1313
<%= this_type['description'] %>
1414

15-
### [Attributes](#<%= name %>-attributes)
15+
### Attributes {#<%= name %>-attributes}
1616

1717
<pre><code><%= name %> { 'resource title':
1818
<% sorted_attribute_list.each do |attribute_name| -%>
@@ -23,7 +23,7 @@
2323

2424
<% sorted_attribute_list.each do |attribute_name| -%>
2525

26-
#### [<%= attribute_name %>](#<%= name %>-attribute-<%= attribute_name %>)
26+
#### <%= attribute_name %> {#<%= name %>-attribute-<%= attribute_name %>}
2727

2828
<% if this_type['attributes'][attribute_name]['namevar'] -%>
2929
<% if attribute_name != 'provider' %>_(**Namevar:** If omitted, this attribute's value defaults to the resource's title.)_<%= "\n\n" -%>
@@ -44,17 +44,17 @@ Requires features <%= this_type['attributes'][attribute_name]['required_features
4444
-%>
4545

4646
<% if !this_type['providers'].empty? -%>
47-
### [Providers](#<%= name %>-providers)
47+
### Providers {#<%= name %>-providers}
4848

4949
<% end -%>
5050
<% this_type['providers'].keys.sort.each do |provider_name| -%>
51-
#### [<%= provider_name %>](#<%= name %>-provider-<%= provider_name %>)
51+
#### <%= provider_name %> {#<%= name %>-provider-<%= provider_name %>}
5252

5353
<%= this_type['providers'][provider_name]['description'] %>
5454

5555
<% end -%>
5656
<% if !this_type['features'].empty? -%>
57-
### [Provider Features](#<%= name %>-provider-features)
57+
### Provider Features {#<%= name %>-provider-features}
5858

5959
Available features:
6060

0 commit comments

Comments
 (0)