Merge pull request #9180 from hashicorp/bitbucket-docs-layout

provider/bitbucket: Add the bitbucket documentation
This commit is contained in:
Paul Stack 2016-10-03 14:07:00 +01:00 committed by GitHub
commit 59cfe7bebb
2 changed files with 33 additions and 1 deletions

View File

@ -1,6 +1,6 @@
--- ---
layout: "bitbucket" layout: "bitbucket"
page_title: "Bitbucket: bitbucket_hoook" page_title: "Bitbucket: bitbucket_hook"
sidebar_current: "docs-bitbucket-resource-hook" sidebar_current: "docs-bitbucket-resource-hook"
description: |- description: |-
Provides a Bitbucket Webhook Provides a Bitbucket Webhook

View File

@ -0,0 +1,32 @@
<% wrap_layout :inner do %>
<% content_for :sidebar do %>
<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>
<li<%= sidebar_current("docs-bitbucket-index") %>>
<a href="/docs/providers/bitbucket/index.html">Bitbucket Provider</a>
</li>
<li<%= sidebar_current(/^docs-bitbucket-resource/) %>>
<a href="#">Resources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-bitbucket-resource-default-reviewers") %>>
<a href="/docs/providers/bitbucket/r/default_reviewers.html">bitbucket_default_reviewers</a>
</li>
<li<%= sidebar_current("docs-bitbucket-resource-hook") %>>
<a href="/docs/providers/bitbucket/r/hook.html">bitbucket_hook</a>
</li>
<li<%= sidebar_current("docs-bitbucket-resource-repository") %>>
<a href="/docs/providers/bitbucket/r/repository.html">bitbucket_repository</a>
</li>
</ul>
</li>
</ul>
</div>
<% end %>
<%= yield %>
<% end %>