provider/datadog: Fix docs sidebar

This commit is contained in:
James Nugent 2016-08-22 06:01:50 +02:00
parent 3264f56860
commit 2070fa44c3
1 changed files with 14 additions and 12 deletions

View File

@ -3,25 +3,27 @@
<div class="docs-sidebar hidden-print affix-top" role="complementary">
<ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-home") %>>
<a href="/docs/providers/index.html">&laquo; Documentation Home</a>
</li>
<a href="/docs/providers/index.html">&laquo; Documentation Home</a>
</li>
<li<%= sidebar_current("docs-datadog-index") %>>
<a href="/docs/providers/datadog/index.html">Datadog Provider</a>
</li>
<a href="/docs/providers/datadog/index.html">Datadog Provider</a>
</li>
<li<%= sidebar_current(/^docs-datadog-resource/) %>>
<a href="#">Resources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-datadog-resource-monitor") %>>
<a href="/docs/providers/datadog/r/monitor.html">datadog_monitor</a>
<a href="/docs/providers/datadog/r/timeboard.html">datadog_timeboard</a>
</li>
</ul>
<a href="#">Resources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-datadog-resource-monitor") %>>
<a href="/docs/providers/datadog/r/monitor.html">datadog_monitor</a>
</li>
<li<%= sidebar_current("docs-datadog-resource-timeboard") %>>
<a href="/docs/providers/datadog/r/timeboard.html">datadog_timeboard</a>
</li>
</ul>
</li>
</ul>
</div>
<% end %>
<%= yield %>
<% end %>
<% end %>