From e1478eefd438267c9ac94faebb06df6d495bbaab Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Mon, 18 Apr 2016 12:24:25 +0100 Subject: [PATCH] Remove language spec from code fences --- site/building.md | 16 ++++++++-------- site/weavedns.md | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/site/building.md b/site/building.md index a295c1de..e1fb008d 100644 --- a/site/building.md +++ b/site/building.md @@ -25,7 +25,7 @@ The weave git repository should be cloned into `$GOPATH/src/github.com/weaveworks/weave`, in accordance with [the go workspace conventions](https://golang.org/doc/code.html#Workspaces): -```bash +``` $ WEAVE=github.com/weaveworks/weave $ git clone https://$WEAVE $GOPATH/src/$WEAVE $ cd $GOPATH/src/$WEAVE @@ -36,7 +36,7 @@ Next install Docker if you haven't already, by following the instructions Then to actually build, simply do: -```bash +``` $ make ``` @@ -62,7 +62,7 @@ Vagrant to run VMs in. First, check out the code: -```bash +``` $ git clone https://github.com/weaveworks/weave $ cd weave ``` @@ -78,7 +78,7 @@ The `Vagrantfile` in the top directory constructs a VM that has Once you are in the working directory you can issue -```bash +``` $ vagrant up ``` @@ -90,7 +90,7 @@ use git and so on in the regular filesystem. To build and run the code, you need to use the VM. To log in and build the weave image, do -```bash +``` $ vagrant ssh vm$ cd src/github.com/weaveworks/weave vm$ make @@ -98,7 +98,7 @@ vm$ make The Docker daemon is also running in this VM, so you can then do -```bash +``` vm$ sudo ./weave launch vm$ sudo docker ps ``` @@ -108,7 +108,7 @@ and so on. If you are looking to just do a build and not run anything on this VM, you can do so with -```bash +``` $ vagrant ssh -c 'make -C src/github.com/weaveworks/weave' ``` @@ -116,7 +116,7 @@ you should then find a `weave.tar.gz` container snapshot tarball in the top-level directory. You can use that snapshot with `docker load` against a different host, e.g. -```bash +``` $ export DOCKER_HOST=tcp:// $ docker load < weave.tar.gz ``` diff --git a/site/weavedns.md b/site/weavedns.md index e4a2aa59..18c4679c 100644 --- a/site/weavedns.md +++ b/site/weavedns.md @@ -14,7 +14,7 @@ it works across hosts. WeaveDNS is deployed as an embedded service within the Weave router. The service is automatically started when the router is launched: -```bash +``` host1$ weave launch host1$ eval $(weave env) ``` @@ -26,7 +26,7 @@ running when they are started. They use it for name resolution, and will register themselves if they either have a hostname in the weaveDNS domain (`weave.local` by default) or are given an explicit container name: -```bash +``` host1$ docker run -dti --name=pingme ubuntu host1$ docker run -ti --hostname=ubuntu.weave.local ubuntu root@ubuntu:/# ping pingme