Merge pull request #64 from gvwilson/building-r
authorGreg Wilson <gvwilson@software-carpentry.org>
Fri, 24 Jun 2016 16:37:47 +0000 (12:37 -0400)
committerGitHub <noreply@github.com>
Fri, 24 Jun 2016 16:37:47 +0000 (12:37 -0400)
Only try building R files if there are some

bin/lesson_initialize.py

index f3955e00717eb4c3b254b77527d535961c39c37b..0a7e7c449b97b971985014edf9271745423ee33b 100755 (executable)
@@ -175,11 +175,12 @@ kind: "lesson"
 # Overall title for pages.
 title: "Lesson Title"
 
-# Account (without slashes).
-account: "[[USER-NAME]]"
+# Repository URL (without trailing slash).
+repo: https://github.com/[USERNAME]/[LESSON-SLUG]
 
-# Root URL below account (without slashes).
-project: "[[REPO-NAME]]"
+# Root URL below username.github.io domain, with leading slash but no trailing slash.
+# For example, for 'https://swcarpentry.github.io/lesson-example', use '/lesson-example'.
+root: "/[LESSON-SLUG]"
 
 # Contact email address.
 email: "[[CONTACT-ADDRESS]]"