We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b42dd3 commit f645cabCopy full SHA for f645cab
lib/puppet-strings/markdown/templates/table_of_contents.erb
@@ -6,7 +6,7 @@ _Public <%= group_name %>_
6
7
<% group.each do |item| -%>
8
<% unless item[:private] -%>
9
-* [`<%= item[:name] %>`](#<%= item[:link] %>)<% unless item[:desc].empty? %>: <%= item[:desc] %><% end %>
+* [`<%= item[:name] %>`](#<%= item[:link] %>)<% unless item[:desc].nil? || item[:desc].empty? %>: <%= item[:desc] %><% end %>
10
<% end -%>
11
12
0 commit comments