From c340c6914f954e55261c61d2418133d7f599f387 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 30 Sep 2014 09:09:50 +0100 Subject: [PATCH 1/8] Fix "rm -rf" instruictions Existing copy is wrong because "git rm -rf *" fails if there are any untracked files (e.g. target/). Changed to "git rm -rf `git ls-files`". --- README.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 8f3f7b981c2..5a462d848fe 100644 --- a/README.markdown +++ b/README.markdown @@ -15,8 +15,7 @@ From within your Spring project's git checkout directory: ### Remove all files - git rm -rf * - git rm -rf '.*' + git rm -rf `git ls-files` && rm -rf * ### Add the gh-pages-upstream remote From ccb4a8a2bbfd19784511c6a5b4c014a7b59c3f73 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 30 Sep 2014 09:37:55 +0100 Subject: [PATCH 2/8] Gem installation instructions updated Using "gem install" didn't work for me because of the Gemfile.lock that is in source control (presumably for a reason). --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 5a462d848fe..49f89f78c61 100644 --- a/README.markdown +++ b/README.markdown @@ -95,9 +95,9 @@ Assuming you're already within your project's clone directory, and you've alread ### Install jekyll if you have not already -> **Note:** Jekyll 1.1.2 is a known good version. +> **Note:** Jekyll 1.1.2 is a known good version, and it is specifically referred to in `Gemfile.lock` so you have to use `bundle` (not `gem install ...`) to install it: - gem install jekyll + bundle ### Run jekyll From b67c026a16a5f49857bdd7f8a7d5ad641a775f41 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 30 Sep 2014 09:43:46 +0100 Subject: [PATCH 3/8] Fix directory name for sample pages --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 5a462d848fe..5c56d982f60 100644 --- a/README.markdown +++ b/README.markdown @@ -49,11 +49,11 @@ At this point you need to make a decision: is your project a "grouping project", Based on your choice above, copy the correct sample page to `index.html`, e.g.: - $ cp sample-pages/project.html index.html + $ cp _sample-pages/project.html index.html or - $ cp sample-pages/project_group.html index.html + $ cp _sample-pages/project_group.html index.html ## Edit the content of your home page From fc0cf54962dec3f213ce7b53ecefe7e146f650b6 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 30 Sep 2014 11:36:48 +0100 Subject: [PATCH 4/8] Add "gem install bundler" for people using vanilla Ruby --- README.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/README.markdown b/README.markdown index 49f89f78c61..81c67e7601b 100644 --- a/README.markdown +++ b/README.markdown @@ -97,6 +97,7 @@ Assuming you're already within your project's clone directory, and you've alread > **Note:** Jekyll 1.1.2 is a known good version, and it is specifically referred to in `Gemfile.lock` so you have to use `bundle` (not `gem install ...`) to install it: + gem install bundler bundle ### Run jekyll From bf15ee8a6da0f232254ac8d186184a5c274d63b3 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Mon, 9 Mar 2015 11:58:27 +0100 Subject: [PATCH 5/8] Display Pivotal Education related courseware This change adds a new "Related Courseware" section in the side container; this section lists links to courses and talks that are relevant to the current project page. Relevant content is fetched by the browser, with an AJAX request sent to the Pivotal Education LMS API. This API uses the Referrer HTTP header as input parameter to its content selection algorithm. Note that CORS HTTP headers are also used to allow/disallow AJAX cross domain requests. --- _includes/widget_templates.html | 20 ++++++++++++++ js/projectDocumentationWidget.js | 46 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/_includes/widget_templates.html b/_includes/widget_templates.html index 4e609c6fff4..1495ae53dd4 100644 --- a/_includes/widget_templates.html +++ b/_includes/widget_templates.html @@ -29,6 +29,26 @@ + + - - Pivotal Software, Inc. All Rights Reserved. - Terms of Use and - Privacy - -