From 27f815e839b4ca50039952809eb641c7b9235242 Mon Sep 17 00:00:00 2001 From: Max Riveiro Date: Mon, 17 Apr 2017 13:17:54 +0300 Subject: [PATCH] Massively add HCL source tag in docs Markdown files Signed-off-by: Max Riveiro --- d/registry_image.html.markdown | 2 +- index.html.markdown | 2 +- r/container.html.markdown | 4 ++-- r/image.html.markdown | 4 ++-- r/network.html.markdown | 2 +- r/volume.html.markdown | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/d/registry_image.html.markdown b/d/registry_image.html.markdown index 9ec58362..f8d0f8de 100644 --- a/d/registry_image.html.markdown +++ b/d/registry_image.html.markdown @@ -16,7 +16,7 @@ to date on the latest available version of the tag. ## Example Usage -``` +```hcl data "docker_registry_image" "ubuntu" { name = "ubuntu:precise" } diff --git a/index.html.markdown b/index.html.markdown index bff8f614..f55e0973 100644 --- a/index.html.markdown +++ b/index.html.markdown @@ -18,7 +18,7 @@ Use the navigation to the left to read about the available resources. ## Example Usage -``` +```hcl # Configure the Docker provider provider "docker" { host = "tcp://127.0.0.1:2376/" diff --git a/r/container.html.markdown b/r/container.html.markdown index 8a767159..d0996c99 100644 --- a/r/container.html.markdown +++ b/r/container.html.markdown @@ -12,7 +12,7 @@ Manages the lifecycle of a Docker container. ## Example Usage -``` +```hcl # Start a container resource "docker_container" "ubuntu" { name = "foo" @@ -93,7 +93,7 @@ The following arguments are supported: Example: -``` +```hcl resource "docker_container" "ubuntu" { name = "foo" image = "${docker_image.ubuntu.latest}" diff --git a/r/image.html.markdown b/r/image.html.markdown index 2520ce3a..c08f016e 100644 --- a/r/image.html.markdown +++ b/r/image.html.markdown @@ -18,7 +18,7 @@ data source to update the `pull_triggers` field. ## Example Usage -``` +```hcl # Find the latest Ubuntu precise image. resource "docker_image" "ubuntu" { name = "ubuntu:precise" @@ -30,7 +30,7 @@ resource "docker_image" "ubuntu" { ### Dynamic image -``` +```hcl data "docker_registry_image" "ubuntu" { name = "ubuntu:precise" } diff --git a/r/network.html.markdown b/r/network.html.markdown index d931e0b4..d0636d49 100644 --- a/r/network.html.markdown +++ b/r/network.html.markdown @@ -14,7 +14,7 @@ to create virtual networks within the docker environment. ## Example Usage -``` +```hcl # Find the latest Ubuntu precise image. resource "docker_network" "private_network" { name = "my_network" diff --git a/r/volume.html.markdown b/r/volume.html.markdown index e9a31d36..f5d9dee9 100644 --- a/r/volume.html.markdown +++ b/r/volume.html.markdown @@ -14,7 +14,7 @@ to prepare volumes that can be shared across containers. ## Example Usage -``` +```hcl # Creates a docker volume "shared_volume". resource "docker_volume" "shared_volume" { name = "shared_volume"