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 d29cd8f4c8
commit d5bdc4c98b
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" layout: "docs"
page_title: "Environment Variables" page_title: "Environment Variables"
sidebar_current: "docs-commands-environment-variables" sidebar_current: "docs-agent-envvars"
description: |- description: |-
In addition to CLI flags, Consul reads environment variables for behavior 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.
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 # Environment Variables

View File

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