From ef5f38b48f252f3dd472deca4532e978e0fb2ff5 Mon Sep 17 00:00:00 2001 From: Bob Nystrom Date: Sat, 14 Jul 2018 21:35:33 -0700 Subject: [PATCH] Turn on auto-deploying docs. Looks like it's working now. --- .travis.yml | 1 - doc/site/classes.markdown | 7 ++++--- util/deploy_docs_from_travis.sh | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5cacbbc3..dab7dee3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,6 @@ addons: - python3-markdown - python3-pygments - python3-setuptools - - python-smartypants - ruby-sass # Can't do container-based builds for now because installing the custom diff --git a/doc/site/classes.markdown b/doc/site/classes.markdown index 2b5659fe..e739f98f 100644 --- a/doc/site/classes.markdown +++ b/doc/site/classes.markdown @@ -158,9 +158,10 @@ are available on an object. When you write: unicorn.isFancy You're saying "look up the method `isFancy` in the scope of the object -`unicorn`". In this case, the fact that you want to look up a *method* `isFancy` -and not a *variable* `isFancy` is explicit. That's what `.` does and the -object to the left of the period is the object you want to look up the method on. +`unicorn`”. In this case, the fact that you want to look up a *method* +`isFancy` and not a *variable* `isFancy` is explicit. That's what `.` does and +the object to the left of the period is the object you want to look up the +method on. ### `this` diff --git a/util/deploy_docs_from_travis.sh b/util/deploy_docs_from_travis.sh index 6baf5522..7886cc7b 100644 --- a/util/deploy_docs_from_travis.sh +++ b/util/deploy_docs_from_travis.sh @@ -10,9 +10,8 @@ cd ../.. make gh-pages # Clone the repo at the gh-pages branch. -# TODO: Testing right now, so not using live branch. git clone https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG} gh-pages-repo \ - --branch gh-pages-temp --depth 1 + --branch gh-pages --depth 1 cd gh-pages-repo # Copy them into the gh-pages branch.