make workshop-check
to run the workshop homepage checking program on index.html
.YYYY-MM-DD-site
pattern?YYYY-MM-DD
should be the start date of the workshop.gh-pages
branch instead of master
?gh-pages
as a website.2015-07-01-esu/beginners
,
so that repository names always follow our four-part convention.index.html
, like address1
and address2
for different rooms on different days?index.html
are enclosed in quotations "
.
Special characters such as "&"
may render correctly on your local machine
but cause rendering to fail silently on GitHub.eventbrite: 1234567890AB
in the YAML header of index.html
.
If the YAML header is set properly you may be accessing
file:///home/to/workshop/directory/_site/index.html
directly.
Instead,
please run
$ make serve
and look at http://localhost:4000
in your browser
(or push your changes to GitHub and view your page there).
invalid byte sequence in ...
error when I run tools/check
?en_US.UTF-8
in your shell:
$ export LC_ALL=en_US.UTF-8
$ export LANG=en_US.UTF-8
$ ./tools/preview
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/usr/lib/ruby/1.9.1/time.rb:265:in `_parse': can't convert nil into String (TypeError)
from /usr/lib/ruby/1.9.1/time.rb:265:in `parse'
from /usr/bin/jekyll:95:in `block (2 levels) in <main>'
from /usr/lib/ruby/1.9.1/optparse.rb:1391:in `call'
from /usr/lib/ruby/1.9.1/optparse.rb:1391:in `block in parse_in_order'
from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `catch'
from /usr/lib/ruby/1.9.1/optparse.rb:1347:in `parse_in_order'
from /usr/lib/ruby/1.9.1/optparse.rb:1341:in `order!'
from /usr/lib/ruby/1.9.1/optparse.rb:1432:in `permute!'
from /usr/lib/ruby/1.9.1/optparse.rb:1453:in `parse!'
from /usr/bin/jekyll:137:in `<main>'
This occurs because you are using an old version of Jekyll located in /usr/bin
.
Make sure that you have installed Jekyll using:
$ gem install jekyll
This installs Jekyll in /usr/local/bin
,
so make sure this directory comes before /usr/bin
in your PATH
environment variable.
When your path is set correctly,
you should see:
$ which jekyll
/usr/local/bin/jekyll
You may also have to install the nodejs
package to disable references to JavaScript,
which you can do using:
$ sudo apt-get install nodejs
For more information, see http://michaelchelen.net/81fa/install-jekyll-2-ubuntu-14-04/.