DOCS: update environment variables page

- Relocate Environment Variables page to Agent section
- Correct front matter newlines issue
This commit is contained in:
Brian Shumate 2017-01-06 09:42:49 -05:00
parent 5500009ae4
commit f5e76a7125
No known key found for this signature in database
GPG Key ID: B2E211633F870928
2 changed files with 6 additions and 5 deletions

View File

@ -1,12 +1,9 @@
---
layout: "docs"
page_title: "Environment Variables"
sidebar_current: "docs-commands-environment-variables"
sidebar_current: "docs-agent-envvars"
description: |-
In addition to CLI flags, Consul reads environment variables for behavior
defaults. CLI flags always take precedence over environment variables, but it
is often helpful to use environment variables to configure the Consul agent,
particularly with configuration management and init systems.
In addition to CLI flags, Consul reads environment variables for behavior defaults. CLI flags always take precedence over environment variables, but it is often helpful to use environment variables to configure the Consul agent, particularly with configuration management and init systems.
---
# Environment Variables

View File

@ -184,6 +184,10 @@
<a href="/docs/agent/dns.html">DNS Interface</a>
</li>
<li<%= sidebar_current("docs-agent-envvars") %>>
<a href="/docs/agent/environment-variables.html">Environment Variables</a>
</li>
<li<%= sidebar_current("docs-agent-http") %>>
<a href="/docs/agent/http.html">HTTP API</a>
<ul class="subnav">