<% 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/index.html">Documentation Home</a>
				</li>

				<li<%= sidebar_current("docs-internal") %>>
					<a href="/docs/internals/index.html">Internals</a>
					<ul class="nav">
						<li<%= sidebar_current("docs-internals-architecture") %>>
							<a href="/docs/internals/architecture.html">Architecture</a>
                        </li>

						<li<%= sidebar_current("docs-internals-ha") %>>
							<a href="/docs/internals/high-availability.html">High Availability</a>
						</li>

						<li<%= sidebar_current("docs-internals-security") %>>
							<a href="/docs/internals/security.html">Security Model</a>
                        </li>

						<li<%= sidebar_current("docs-internals-telemetry") %>>
							<a href="/docs/internals/telemetry.html">Telemetry</a>
                        </li>

						<li<%= sidebar_current("docs-internals-token") %>>
							<a href="/docs/internals/token.html">Token Authentication</a>
						</li>
					</ul>
				</li>

				<li<%= sidebar_current("docs-install") %>>
					<a href="/docs/install/index.html">Installation</a>
				</li>

				<li<%= sidebar_current("docs-concepts") %>>
					<a href="/docs/concepts/index.html">Basic Concepts</a>
					<ul class="nav">
						<li<%= sidebar_current("docs-concepts-devserver") %>>
							<a href="/docs/concepts/dev-server.html">"Dev" Server</a>
						</li>

						<li<%= sidebar_current("docs-concepts-seal") %>>
							<a href="/docs/concepts/seal.html">Seal/Unseal</a>
						</li>

						<li<%= sidebar_current("docs-concepts-lease") %>>
							<a href="/docs/concepts/lease.html">Lease, Renew, and Revoke</a>
						</li>

						<li<%= sidebar_current("docs-concepts-auth") %>>
							<a href="/docs/concepts/auth.html">Authentication</a>
						</li>

						<li<%= sidebar_current("docs-concepts-tokens") %>>
							<a href="/docs/concepts/tokens.html">Tokens</a>
						</li>

						<li<%= sidebar_current("docs-concepts-policies") %>>
							<a href="/docs/concepts/policies.html">Access Control Policies</a>
						</li>

						<li<%= sidebar_current("docs-concepts-ha") %>>
							<a href="/docs/concepts/ha.html">High Availability</a>
						</li>
					</ul>
				</li>

				<li<%= sidebar_current("docs-config") %>>
					<a href="/docs/config/index.html">Configuration</a>
				</li>

				<li<%= sidebar_current("docs-commands") %>>
					<a href="/docs/commands/index.html">Commands (CLI)</a>
					<ul class="nav">
						<li<%= sidebar_current("docs-commands-help") %>>
							<a href="/docs/commands/help.html">Help</a>
						</li>

						<li<%= sidebar_current("docs-commands-readwrite") %>>
							<a href="/docs/commands/read-write.html">Reading and Writing Data</a>
						</li>
					</ul>
				</li>

				<li<%= sidebar_current("docs-http") %>>
					<a href="/docs/http/index.html">HTTP API</a>
				</li>

				<hr>

				<li<%= sidebar_current("docs-secrets") %>>
					<a href="/docs/secrets/index.html">Secret Backends</a>
					<ul class="nav">
						<li<%= sidebar_current("docs-secrets-aws") %>>
							<a href="/docs/secrets/aws/index.html">AWS</a>
						</li>

						<li<%= sidebar_current("docs-secrets-consul") %>>
							<a href="/docs/secrets/consul/index.html">Consul</a>
						</li>

						<li<%= sidebar_current("docs-secrets-postgresql") %>>
							<a href="/docs/secrets/postgresql/index.html">PostgreSQL</a>
                        </li>

						<li<%= sidebar_current("docs-secrets-mysql") %>>
							<a href="/docs/secrets/mysql/index.html">MySQL</a>
						</li>

						<li<%= sidebar_current("docs-secrets-transit") %>>
							<a href="/docs/secrets/transit/index.html">Transit</a>
						</li>

						<li<%= sidebar_current("docs-secrets-generic") %>>
							<a href="/docs/secrets/generic/index.html">Generic</a>
						</li>

						<li<%= sidebar_current("docs-secrets-custom") %>>
							<a href="/docs/secrets/custom.html">Custom</a>
						</li>
					</ul>
				</li>

				<li<%= sidebar_current("docs-auth") %>>
					<a href="/docs/auth/index.html">Auth Backends</a>
					<ul class="nav">
						<li<%= sidebar_current("docs-auth-token") %>>
                            <a href="/docs/auth/token.html">Tokens</a>
						</li>

						<li<%= sidebar_current("docs-auth-github") %>>
							<a href="/docs/auth/github.html">GitHub</a>
						</li>

						<li<%= sidebar_current("docs-auth-appid") %>>
							<a href="/docs/auth/app-id.html">App ID</a>
						</li>

						<li<%= sidebar_current("docs-auth-userpass") %>>
							<a href="/docs/auth/userpass.html">Username &amp; Password</a>
                        </li>

						<li<%= sidebar_current("docs-auth-cert") %>>
							<a href="/docs/auth/cert.html">TLS Certificates</a>
						</li>
					</ul>
				</li>

				<li<%= sidebar_current("docs-audit") %>>
					<a href="/docs/audit/index.html">Audit Backends</a>
					<ul class="nav">
						<li<%= sidebar_current("docs-audit-file") %>>
							<a href="/docs/audit/file.html">File</a>
                        </li>

						<li<%= sidebar_current("docs-audit-syslog") %>>
							<a href="/docs/audit/syslog.html">Syslog</a>
						</li>
					</ul>
				</li>
			</ul>
		</div>
	<% end %>

	<%= yield %>
<% end %>
