From f2632d7aebb45c9c309adaf849504b52539b3f18 Mon Sep 17 00:00:00 2001 From: Sebastien Besson Date: Fri, 3 Jul 2015 15:30:35 +0100 Subject: [PATCH] GitHub pages preparation for switch to master branch Now that `master` and `develop` are in sync, we can switch to the default Git master branch as the development branch. If so, this PR modifies the GH pages resources to point at the commits on this branch instead of the develop one. --- _includes/github_ticker.html | 2 +- _posts/2014-08-17-dev-jst-templates.markdown | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/github_ticker.html b/_includes/github_ticker.html index 57da42275..4ef9fc9c8 100644 --- a/_includes/github_ticker.html +++ b/_includes/github_ticker.html @@ -148,7 +148,7 @@
diff --git a/_posts/2014-08-17-dev-jst-templates.markdown b/_posts/2014-08-17-dev-jst-templates.markdown index fb3fa80b9..313aba4b7 100644 --- a/_posts/2014-08-17-dev-jst-templates.markdown +++ b/_posts/2014-08-17-dev-jst-templates.markdown @@ -15,11 +15,11 @@ to use on a dedicated test page without copying and pasting the code elsewhere. Googling for "backbone templates in separate files" led me to this [stack overflow answer](http://stackoverflow.com/questions/8366733/external-template-in-underscore) which recommended the use of "a grunt task (grunt-contrib-jst) to compile all of the HTML templates into a single templates.js file". -So that's what I did. Now all the html templates live under [static/figure/templates](https://github.com/will-moore/figure/tree/develop/static/figure/templates) and are compiled into a single templates.js file by a grunt 'jst' task. +So that's what I did. Now all the html templates live under [static/figure/templates](https://github.com/will-moore/figure/tree/master/static/figure/templates) and are compiled into a single templates.js file by a grunt 'jst' task. I also added a grunt 'watch' task to monitor changes to any of the template files and recompile them all if any changes are saved. So if you are editing any templates you need to have '$ grunt watch' -running on the command line. All that is configured in the [Gruntfile.js ](https://github.com/will-moore/figure/blob/develop/Gruntfile.js). +running on the command line. All that is configured in the [Gruntfile.js ](https://github.com/will-moore/figure/blob/master/Gruntfile.js). Most importantly, this allowed me to create the viewer test page and to fix the bug, but it also means that the templates are