diff --git a/website/source/assets/stylesheets/_docs.scss b/website/source/assets/stylesheets/_docs.scss index 99f5570d6..35ed6dce8 100755 --- a/website/source/assets/stylesheets/_docs.scss +++ b/website/source/assets/stylesheets/_docs.scss @@ -23,6 +23,7 @@ body.layout-consul, body.layout-datadog, body.layout-digitalocean, body.layout-dme, +body.layout-dns, body.layout-dnsimple, body.layout-docker, body.layout-dyn, diff --git a/website/source/docs/providers/dns/r/dns_a_record_set.html.markdown b/website/source/docs/providers/dns/r/dns_a_record_set.html.markdown index f0ae0ffb7..aa3508304 100644 --- a/website/source/docs/providers/dns/r/dns_a_record_set.html.markdown +++ b/website/source/docs/providers/dns/r/dns_a_record_set.html.markdown @@ -1,7 +1,7 @@ --- layout: "dns" page_title: "DNS: dns_a_record_set" -sidebar_current: "docs-dns-record" +sidebar_current: "docs-dns-a-record-set" description: |- Creates a A type DNS record set. --- diff --git a/website/source/docs/providers/dns/r/dns_aaaa_record_set.html.markdown b/website/source/docs/providers/dns/r/dns_aaaa_record_set.html.markdown index 291424771..27e157790 100644 --- a/website/source/docs/providers/dns/r/dns_aaaa_record_set.html.markdown +++ b/website/source/docs/providers/dns/r/dns_aaaa_record_set.html.markdown @@ -1,12 +1,12 @@ --- layout: "dns" page_title: "DNS: dns_aaaa_record_set" -sidebar_current: "docs-dns-record" +sidebar_current: "docs-dns-aaaa-record-set" description: |- Creates a AAAA type DNS record set. --- -# dns\_a\_record\_set +# dns\_aaaa\_record\_set Creates a AAAA type DNS record set. diff --git a/website/source/docs/providers/dns/r/dns_cname_record.html.markdown b/website/source/docs/providers/dns/r/dns_cname_record.html.markdown index 5627497e4..638ecc9aa 100644 --- a/website/source/docs/providers/dns/r/dns_cname_record.html.markdown +++ b/website/source/docs/providers/dns/r/dns_cname_record.html.markdown @@ -1,12 +1,12 @@ --- layout: "dns" page_title: "DNS: dns_cname_record" -sidebar_current: "docs-dns-record" +sidebar_current: "docs-dns-cname-record" description: |- Creates a CNAME type DNS record. --- -# dns\_ptr\_record +# dns\_cname\_record Creates a CNAME type DNS record. diff --git a/website/source/docs/providers/dns/r/dns_ptr_record.html.markdown b/website/source/docs/providers/dns/r/dns_ptr_record.html.markdown index ff8b92a27..ebbbfb999 100644 --- a/website/source/docs/providers/dns/r/dns_ptr_record.html.markdown +++ b/website/source/docs/providers/dns/r/dns_ptr_record.html.markdown @@ -1,7 +1,7 @@ --- layout: "dns" page_title: "DNS: dns_ptr_record" -sidebar_current: "docs-dns-record" +sidebar_current: "docs-dns-ptr-record" description: |- Creates a PTR type DNS record. --- diff --git a/website/source/layouts/dns.erb b/website/source/layouts/dns.erb new file mode 100644 index 000000000..68920aec7 --- /dev/null +++ b/website/source/layouts/dns.erb @@ -0,0 +1,35 @@ +<% wrap_layout :inner do %> + <% content_for :sidebar do %> +
+ <% end %> + + <%= yield %> + <% end %> diff --git a/website/source/layouts/docs.erb b/website/source/layouts/docs.erb index 76ecd8ab0..dd1e16c19 100644 --- a/website/source/layouts/docs.erb +++ b/website/source/layouts/docs.erb @@ -225,6 +225,10 @@