Skip to content

Commit

Permalink
- Make link anchors just be the config name, not 'setting_someconfig'
Browse files Browse the repository at this point in the history
this is mainly to make it easier to have a human write the link and also
make it more readable.
  • Loading branch information
jordansissel committed Aug 15, 2013
1 parent 54a8764 commit 96c5684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/plugin-doc.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This is what it might look like in your config file:
end
annotation += ", default: #{config[:default].inspect}" if config.include?(:default)
-%>
<a href="#setting_<%= name %>"><%= name %></a> => ... # <%= annotation %>
<a href="#<%= name %>"><%= name %></a> => ... # <%= annotation %>
<% end -%>
}
}
Expand All @@ -69,7 +69,7 @@ This is what it might look like in your config file:
end
-%>
<h4>
<a name="setting_<%= name %>">
<a name="<%= name %>">
<%= name %><%= " (required setting)" if config[:required] %>
<%= " <strong>DEPRECATED</strong>" if config[:deprecated] %>
</a>
Expand Down

0 comments on commit 96c5684

Please sign in to comment.