From ab75771eb629b68aba520664ecaa137b2870f1af Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Mon, 6 Oct 2014 19:12:17 -0400 Subject: [PATCH] Pre-process architecture docs as ERB for image tags --- ...hitecture.html.markdown => architecture.html.markdown.erb} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename website/source/docs/internals/{architecture.html.markdown => architecture.html.markdown.erb} (98%) diff --git a/website/source/docs/internals/architecture.html.markdown b/website/source/docs/internals/architecture.html.markdown.erb similarity index 98% rename from website/source/docs/internals/architecture.html.markdown rename to website/source/docs/internals/architecture.html.markdown.erb index d891d0584..81cc3ef4c 100644 --- a/website/source/docs/internals/architecture.html.markdown +++ b/website/source/docs/internals/architecture.html.markdown.erb @@ -69,7 +69,9 @@ allowing a client to make a request from a server. From a 10,000 foot altitude the architecture of Consul looks like this: -![Consul Architecture](/images/consul-arch.png) +
+ <%= link_to image_tag('consul-arch.png', alt: 'Consul Architecture'), image_path('consul-arch.png') %> +
Lets break down this image and describe each piece. First of all we can see that there are two datacenters, one and two respectively. Consul has first