Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add permalinks without .html suffix and fix deprecated config option. #60

Closed
wants to merge 12 commits into from
Closed
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# IDEs
/.idea

.rvmrc
.bundle
.ruby-*
Gemfile.lock
.sass-cache

_site/
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source 'https://rubygems.org'

gem 'github-pages'
gem 'github-pages'
115 changes: 115 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
activesupport (4.1.4)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
blankslate (2.1.2.4)
celluloid (0.15.2)
timers (~> 1.1.0)
classifier (1.3.4)
fast-stemmer (>= 1.0.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.7.1)
colorator (0.1)
execjs (2.2.1)
fast-stemmer (1.0.2)
ffi (1.9.3)
gemoji (2.1.0)
github-pages (22)
RedCloth (= 4.2.9)
jekyll (= 2.2.0)
jekyll-coffeescript (= 1.0.0)
jekyll-mentions (= 0.1.3)
jekyll-redirect-from (= 0.4.0)
jekyll-sass-converter (= 1.2.0)
jekyll-sitemap (= 0.5.1)
jemoji (= 0.3.0)
kramdown (= 1.3.1)
liquid (= 2.6.1)
maruku (= 0.7.0)
pygments.rb (= 0.6.0)
rdiscount (= 2.1.7)
redcarpet (= 3.1.2)
html-pipeline (1.9.0)
activesupport (>= 2)
nokogiri (~> 1.4)
i18n (0.6.11)
jekyll (2.2.0)
classifier (~> 1.3)
colorator (~> 0.1)
jekyll-coffeescript (~> 1.0)
jekyll-gist (~> 1.0)
jekyll-paginate (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.0)
kramdown (~> 1.3)
liquid (~> 2.6.1)
mercenary (~> 0.3.3)
pygments.rb (~> 0.6.0)
redcarpet (~> 3.1)
safe_yaml (~> 1.0)
toml (~> 0.1.0)
jekyll-coffeescript (1.0.0)
coffee-script (~> 2.2)
jekyll-gist (1.1.0)
jekyll-mentions (0.1.3)
html-pipeline (~> 1.9.0)
jekyll (~> 2.0)
jekyll-paginate (1.0.0)
jekyll-redirect-from (0.4.0)
jekyll (~> 2.0)
jekyll-sass-converter (1.2.0)
sass (~> 3.2)
jekyll-sitemap (0.5.1)
jekyll-watch (1.1.0)
listen (~> 2.7)
jemoji (0.3.0)
gemoji (~> 2.0)
html-pipeline (~> 1.9)
jekyll (~> 2.0)
json (1.8.1)
kramdown (1.3.1)
liquid (2.6.1)
listen (2.7.9)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
maruku (0.7.0)
mercenary (0.3.4)
mini_portile (0.6.0)
minitest (5.4.0)
nokogiri (1.6.3.1)
mini_portile (= 0.6.0)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.9)
pygments.rb (0.6.0)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rdiscount (2.1.7)
redcarpet (3.1.2)
safe_yaml (1.0.3)
sass (3.3.14)
thread_safe (0.3.4)
timers (1.1.0)
toml (0.1.1)
parslet (~> 1.5.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
yajl-ruby (1.1.0)

PLATFORMS
ruby

DEPENDENCIES
github-pages
17 changes: 13 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
name: Your New Jekyll Site
safe: true
lsi: false
pygments: true
# seo/content
title: Shoes
description: Shoes is a tiny GUI toolkit for writing fun, simple applications in Ruby.
keywords: ruby, gui, simple, ease, fun, native applications, toolkit, gui toolkit, windows, mac, Linux, cross platform, app, beginner, packaging

# meta
highlighter: pygments
permalink: pretty

# assets
sass:
style: :compressed
sass_dir: /css/
20 changes: 20 additions & 0 deletions _includes/nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<ul>
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/download/">Download</a>
</li>
<li>
<a href="/blog/">Blog</a>
</li>
<li>
<a href="/tutorial">Tutorial</a>
</li>
<li>
<a href="/contribute/">About</a>
</li>
<li>
<a href="/help/">Help</a>
</li>
</ul>
101 changes: 27 additions & 74 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,79 +1,32 @@
<!DOCTYPE html>
<html lang='en'>
<html lang="en">
<head>
<meta charset='utf-8' />
<title>Shoes! The easiest little GUI toolkit, for Ruby.</title>
<meta content='width=device-width, initial-scale=1.0' name='viewport' />
<meta content='The website for Shoes, a GUI toolkit for Ruby' name='description' />
<meta content='Team Shoes' name='author' />
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
<script src='/js/main.js' type='text/javascript'></script>
<script src='/js/highlight.pack.js' type='text/javascript'></script>
<script>hljs.initHighlightingOnLoad();</script>
<!-- Le styles -->
<link href='/css/bootstrap.css' rel='stylesheet' />
<link href='/css/shoes.css' rel='stylesheet' />
<link href='/css/code.css' rel='stylesheet' />
<link href='/css/walkthrough.css' rel='stylesheet' />
<link href='/css/blog.css' rel='stylesheet' />
<link href='/css/bootstrap-responsive.css' rel='stylesheet' />
<link rel="stylesheet" href="/css/font-awesome.min.css">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="icon" type="image/png" href="/img/shoes-icon.png">
<title>{{ site.title }}</title>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="keywords" content="{{ site.keywords }}">
<meta name="description" content="{{ site.description }}">

<link rel="stylesheet" href="/css/main.css">
</head>
<body>
<div class='navbar navbar-fixed-top'>
<div class='navbar-inner'>
<div class='container'>
<a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</a>
<a class='brand' href='/'>Shoes</a>
<div class='nav-collapse'>
<ul class='nav'>
<li>
<a href='/'>Home</a>
</li>
<li>
<a href='/downloads.html'>Downloads</a>
</li>
<li>
<a href='/tutorials.html'>Tutorials</a>
</li>
<li>
<a href='/blog.html'>Blog</a>
</li>
<li>
<a href='/contribute.html'>Contribute</a>
</li>
<li>
<a href='/about.html'>About</a>
</li>
<li>
<a href='/get_help.html'>Get Help</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class='container'>
{{ content }}
<hr>
<footer>
<div class="row-fluid">
<div class="span6"><p>By Team Shoes</p></div>
<div class="span6"><p style="text-align: right;">Font Awesome by Dave Gandy - <a href="http://fontawesome.io" target="_blank">fontawesome.io</a></p></div>
</div>
</footer>
</hr>
</div>
</body>
</html>
<nav class="desktop-nav">
{% include nav.html %}
</nav>
<nav class="mobile-nav">
<table>
<tr>
<td><a href="/">Home</a></td>
<td><a href="/download/">Download</a></td>
<td><a href="/blog/">Blog</a></td>
<td><a href="/tutorial/">Tutorial</a></td>
</tr>
</table>
</nav>
<div class="content">{{ content }}</div>

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="/js/main.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: default
title: Shoes!
permalink: /about/
---

<div class='hero-unit'>
Expand Down
1 change: 1 addition & 0 deletions blog.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: default
title: Blog
permalink: /blog/
---

<div class='hero-unit'>
Expand Down
1 change: 1 addition & 0 deletions contribute.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: default
title: Shoes!
permalink: /contribute/
---

<div class='hero-unit'>
Expand Down
59 changes: 59 additions & 0 deletions css/_highlight.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
.highlight { background-color: $background }
.c { color: #75715e } /* Comment */
.err { color: #960050; background-color: #1e0010 } /* Error */
.k { color: #66d9ef } /* Keyword */
.l { color: #ae81ff } /* Literal */
.n { color: #f8f8f2 } /* Name */
.o { color: #f92672 } /* Operator */
.p { color: #f8f8f2 } /* Punctuation */
.cm { color: #75715e } /* Comment.Multiline */
.cp { color: #75715e } /* Comment.Preproc */
.c1 { color: #75715e } /* Comment.Single */
.cs { color: #75715e } /* Comment.Special */
.ge { font-style: italic } /* Generic.Emph */
.gs { font-weight: bold } /* Generic.Strong */
.kc { color: #66d9ef } /* Keyword.Constant */
.kd { color: #66d9ef } /* Keyword.Declaration */
.kn { color: #f92672 } /* Keyword.Namespace */
.kp { color: #66d9ef } /* Keyword.Pseudo */
.kr { color: #66d9ef } /* Keyword.Reserved */
.kt { color: #66d9ef } /* Keyword.Type */
.ld { color: #e6db74 } /* Literal.Date */
.m { color: #ae81ff } /* Literal.Number */
.s { color: #e6db74 } /* Literal.String */
.na { color: #a6e22e } /* Name.Attribute */
.nb { color: #f8f8f2 } /* Name.Builtin */
.nc { color: #a6e22e } /* Name.Class */
.no { color: #66d9ef } /* Name.Constant */
.nd { color: #a6e22e } /* Name.Decorator */
.ni { color: #f8f8f2 } /* Name.Entity */
.ne { color: #a6e22e } /* Name.Exception */
.nf { color: #a6e22e } /* Name.Function */
.nl { color: #f8f8f2 } /* Name.Label */
.nn { color: #f8f8f2 } /* Name.Namespace */
.nx { color: #a6e22e } /* Name.Other */
.py { color: #f8f8f2 } /* Name.Property */
.nt { color: #f92672 } /* Name.Tag */
.nv { color: #f8f8f2 } /* Name.Variable */
.ow { color: #f92672 } /* Operator.Word */
.w { color: #f8f8f2 } /* Text.Whitespace */
.mf { color: #ae81ff } /* Literal.Number.Float */
.mh { color: #ae81ff } /* Literal.Number.Hex */
.mi { color: #ae81ff } /* Literal.Number.Integer */
.mo { color: #ae81ff } /* Literal.Number.Oct */
.sb { color: #e6db74 } /* Literal.String.Backtick */
.sc { color: #e6db74 } /* Literal.String.Char */
.sd { color: #e6db74 } /* Literal.String.Doc */
.s2 { color: #e6db74 } /* Literal.String.Double */
.se { color: #ae81ff } /* Literal.String.Escape */
.sh { color: #e6db74 } /* Literal.String.Heredoc */
.si { color: #e6db74 } /* Literal.String.Interpol */
.sx { color: #e6db74 } /* Literal.String.Other */
.sr { color: #e6db74 } /* Literal.String.Regex */
.s1 { color: #e6db74 } /* Literal.String.Single */
.ss { color: #e6db74 } /* Literal.String.Symbol */
.bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.vc { color: #f8f8f2 } /* Name.Variable.Class */
.vg { color: #f8f8f2 } /* Name.Variable.Global */
.vi { color: #f8f8f2 } /* Name.Variable.Instance */
.il { color: #ae81ff } /* Literal.Number.Integer.Long */
Loading