From 98e7f2a3412ed5cfbf6d2caf2f8523290800a3a8 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Mon, 6 Jul 2015 14:53:03 -0600 Subject: [PATCH 1/3] Added a footer link to edit the docs --- website/source/layouts/layout.erb | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/website/source/layouts/layout.erb b/website/source/layouts/layout.erb index 192b7303d..26a1dac6b 100644 --- a/website/source/layouts/layout.erb +++ b/website/source/layouts/layout.erb @@ -51,12 +51,15 @@
From 0cee01261cb7142bd652f42710e8dd9f4ff291eb Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Mon, 6 Jul 2015 14:53:17 -0600 Subject: [PATCH 2/3] Added a makefile for the docs repo --- website/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 website/Makefile diff --git a/website/Makefile b/website/Makefile new file mode 100644 index 000000000..9888cfa82 --- /dev/null +++ b/website/Makefile @@ -0,0 +1,10 @@ +all: build + +init: + bundle + +dev: init + PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman server + +build: init + PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman build From cc9549eac8c5e5053ccc73b3998eb4ba5e445104 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Mon, 6 Jul 2015 14:54:30 -0600 Subject: [PATCH 3/3] Update README to recommend the makefile --- website/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/README.md b/website/README.md index d661265d9..881362f5a 100644 --- a/website/README.md +++ b/website/README.md @@ -16,8 +16,7 @@ Running the site locally is simple. Clone this repo and run the following commands: ``` -$ bundle -$ PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman server +make dev ``` Then open up `localhost:4567`. Note that some URLs you may need to append