Skip to content

Commit 53ffb81

Browse files
committed
Initial Jekyll setup for ruby-grape.github.io.
0 parents  commit 53ffb81

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+7703
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site
2+
.sass-cache
3+
.DS_Store

404.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
layout: page
3+
title: "Page Not Found"
4+
description: "Page not found. Your pixels are in another canvas."
5+
comments: false
6+
share: false
7+
---
8+
9+
Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below.
10+
11+
<script type="text/javascript">
12+
var GOOG_FIXURL_LANG = 'en';
13+
var GOOG_FIXURL_SITE = '{{ site.url }}'
14+
</script>
15+
<script type="text/javascript"
16+
src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
17+
</script>

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby-grape.github.io

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'http://rubygems.org'
2+
3+
gem 'github-pages'
4+

Gemfile.lock

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
specs:
4+
RedCloth (4.2.9)
5+
activesupport (4.2.0)
6+
i18n (~> 0.7)
7+
json (~> 1.7, >= 1.7.7)
8+
minitest (~> 5.1)
9+
thread_safe (~> 0.3, >= 0.3.4)
10+
tzinfo (~> 1.1)
11+
blankslate (2.1.2.4)
12+
celluloid (0.16.0)
13+
timers (~> 4.0.0)
14+
classifier-reborn (2.0.3)
15+
fast-stemmer (~> 1.0)
16+
coffee-script (2.3.0)
17+
coffee-script-source
18+
execjs
19+
coffee-script-source (1.8.0)
20+
colorator (0.1)
21+
execjs (2.2.2)
22+
fast-stemmer (1.0.2)
23+
ffi (1.9.6)
24+
gemoji (2.1.0)
25+
github-pages (31)
26+
RedCloth (= 4.2.9)
27+
github-pages-health-check (~> 0.2)
28+
jekyll (= 2.4.0)
29+
jekyll-coffeescript (= 1.0.1)
30+
jekyll-mentions (= 0.2.1)
31+
jekyll-redirect-from (= 0.6.2)
32+
jekyll-sass-converter (= 1.2.0)
33+
jekyll-sitemap (= 0.6.3)
34+
jemoji (= 0.4.0)
35+
kramdown (= 1.3.1)
36+
liquid (= 2.6.1)
37+
maruku (= 0.7.0)
38+
mercenary (~> 0.3)
39+
pygments.rb (= 0.6.0)
40+
rdiscount (= 2.1.7)
41+
redcarpet (= 3.1.2)
42+
terminal-table (~> 1.4)
43+
github-pages-health-check (0.2.1)
44+
net-dns (~> 0.6)
45+
public_suffix (~> 1.4)
46+
hitimes (1.2.2)
47+
html-pipeline (1.9.0)
48+
activesupport (>= 2)
49+
nokogiri (~> 1.4)
50+
i18n (0.7.0)
51+
jekyll (2.4.0)
52+
classifier-reborn (~> 2.0)
53+
colorator (~> 0.1)
54+
jekyll-coffeescript (~> 1.0)
55+
jekyll-gist (~> 1.0)
56+
jekyll-paginate (~> 1.0)
57+
jekyll-sass-converter (~> 1.0)
58+
jekyll-watch (~> 1.1)
59+
kramdown (~> 1.3)
60+
liquid (~> 2.6.1)
61+
mercenary (~> 0.3.3)
62+
pygments.rb (~> 0.6.0)
63+
redcarpet (~> 3.1)
64+
safe_yaml (~> 1.0)
65+
toml (~> 0.1.0)
66+
jekyll-coffeescript (1.0.1)
67+
coffee-script (~> 2.2)
68+
jekyll-gist (1.1.0)
69+
jekyll-mentions (0.2.1)
70+
html-pipeline (~> 1.9.0)
71+
jekyll (~> 2.0)
72+
jekyll-paginate (1.1.0)
73+
jekyll-redirect-from (0.6.2)
74+
jekyll (~> 2.0)
75+
jekyll-sass-converter (1.2.0)
76+
sass (~> 3.2)
77+
jekyll-sitemap (0.6.3)
78+
jekyll-watch (1.2.0)
79+
listen (~> 2.7)
80+
jemoji (0.4.0)
81+
gemoji (~> 2.0)
82+
html-pipeline (~> 1.9)
83+
jekyll (~> 2.0)
84+
json (1.8.1)
85+
kramdown (1.3.1)
86+
liquid (2.6.1)
87+
listen (2.8.4)
88+
celluloid (>= 0.15.2)
89+
rb-fsevent (>= 0.9.3)
90+
rb-inotify (>= 0.9)
91+
maruku (0.7.0)
92+
mercenary (0.3.5)
93+
mini_portile (0.6.2)
94+
minitest (5.5.0)
95+
net-dns (0.8.0)
96+
nokogiri (1.6.5)
97+
mini_portile (~> 0.6.0)
98+
parslet (1.5.0)
99+
blankslate (~> 2.0)
100+
posix-spawn (0.3.9)
101+
public_suffix (1.4.6)
102+
pygments.rb (0.6.0)
103+
posix-spawn (~> 0.3.6)
104+
yajl-ruby (~> 1.1.0)
105+
rb-fsevent (0.9.4)
106+
rb-inotify (0.9.5)
107+
ffi (>= 0.5.0)
108+
rdiscount (2.1.7)
109+
redcarpet (3.1.2)
110+
safe_yaml (1.0.4)
111+
sass (3.4.9)
112+
terminal-table (1.4.5)
113+
thread_safe (0.3.4)
114+
timers (4.0.1)
115+
hitimes
116+
toml (0.1.2)
117+
parslet (~> 1.5.0)
118+
tzinfo (1.2.2)
119+
thread_safe (~> 0.1)
120+
yajl-ruby (1.1.0)
121+
122+
PLATFORMS
123+
ruby
124+
125+
DEPENDENCIES
126+
github-pages

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
![](images/ruby-grape.png)
2+
3+
Grape is an opinionated micro-framework for creating REST-like APIs in Ruby.
4+
This is the Jekyll source for the site at https://ruby-grape.github.io.
5+

_config.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
title: Ruby Grape | An opinionated micro-framework for creating REST-like APIs in Ruby.
2+
locale: en_US
3+
url: # https://ruby-grape.github.io
4+
markdown: kramdown
5+
highlighter: pygments
6+
sass:
7+
sass_dir: _sass
8+
style: compressed
9+
gems:
10+
- jekyll-sitemap
11+
kramdown:
12+
input: GFM
13+
owner:
14+
name: Ruby Grape
15+
avatar: logo.png
16+
bio: ""
17+
18+
disqus-shortname:
19+
twitter:
20+
facebook:
21+
google:
22+
plus:
23+
analytics:
24+
verify:
25+
ad-client:
26+
ad-slot:
27+
bing-verify:
28+
github: ruby-grape
29+
stackoverflow:
30+
linkedin:
31+
instagram:
32+
lastfm:
33+
tumblr:
34+
pinterest:
35+
foursquare:
36+
steam:
37+
dribbble:
38+
youtube:
39+
soundcloud:
40+
paginate: 30

_data/navigation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- title: Home
2+
url: /

_includes/_browser-upgrade.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!--[if lt IE 9]><div class="browser-upgrade alert alert-info">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</div><![endif]-->

_includes/_disqus_comments.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{% if site.owner.disqus-shortname %}
2+
<script type="text/javascript">
3+
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
4+
{% if page.disqus_shortname %}
5+
var disqus_shortname = '{{ page.disqus_shortname }}';
6+
{% else %}
7+
var disqus_shortname = '{{ site.owner.disqus-shortname }}';
8+
{% endif %}
9+
10+
<!--
11+
{% if page.dblog_post_id %}
12+
var disqus_identifier = 'Post_{{ page.dblog_post_id }}';
13+
{% endif %}
14+
-->
15+
16+
/* * * DON'T EDIT BELOW THIS LINE * * */
17+
(function() {
18+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
19+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
20+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
21+
})();
22+
23+
/* * * DON'T EDIT BELOW THIS LINE * * */
24+
(function () {
25+
var s = document.createElement('script'); s.async = true;
26+
s.type = 'text/javascript';
27+
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
28+
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
29+
}());
30+
</script>
31+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
32+
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
33+
{% endif %}

_includes/_footer.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{% if site.owner.google.ad-client and site.owner.google.ad-slot %}
2+
<div class="google-ads">
3+
<!-- 320 x 50 ad -->
4+
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
5+
<ins class="adsbygoogle"
6+
style="display:inline-block;width:320px;height:50px"
7+
data-ad-client="{{ site.owner.google.ad-client }}"
8+
data-ad-slot="{{ site.owner.google.ad-slot }}"></ins>
9+
<script>
10+
(adsbygoogle = window.adsbygoogle || []).push({});
11+
</script>
12+
</div><!-- /.google-ads -->
13+
{% endif %}
14+
15+
<span>&copy; 1994-{{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> based on the <a href="http://mademistakes.com/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a> theme.</span>

_includes/_head.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<meta charset="utf-8">
2+
<title>{% if page.title %}{{ page.title }} &#8211; {% endif %}{{ site.title }}</title>
3+
{% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html }}">{% endif %}
4+
<meta name="keywords" content="{{ page.tags | join: ', ' }}">
5+
{% if page.author %}
6+
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %}
7+
{% endif %}
8+
9+
{% include _open-graph.html %}
10+
11+
{% if site.owner.google.verify %}<!-- Webmaster Tools verfication -->
12+
<meta name="google-site-verification" content="{{ site.owner.google.verify }}">{% endif %}
13+
{% if site.owner.bing-verify %}<meta name="msvalidate.01" content="{{ site.owner.bing-verify }}">{% endif %}
14+
15+
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
16+
<link rel="canonical" href="{{ canonical }}">
17+
<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
18+
{% if site.owner.google.plus %}<link rel="author" href="http://plus.google.com/+{{ site.owner.google.plus }}?rel=author">{% endif %}
19+
20+
<!-- http://t.co/dKP3o1e -->
21+
<meta name="HandheldFriendly" content="True">
22+
<meta name="MobileOptimized" content="320">
23+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
24+
25+
<!-- For all browsers -->
26+
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css">
27+
28+
<meta http-equiv="cleartype" content="on">
29+
30+
<!-- HTML5 Shiv and Media Query Support -->
31+
<!--[if lt IE 9]>
32+
<script src="{{ site.url }}/assets/js/vendor/html5shiv.min.js"></script>
33+
<script src="{{ site.url }}/assets/js/vendor/respond.min.js"></script>
34+
<![endif]-->
35+
36+
<!-- Modernizr -->
37+
<script src="{{ site.url }}/assets/js/vendor/modernizr-2.7.1.custom.min.js"></script>
38+
39+
<link href='//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700%7CPT+Serif:400,700,400italic' rel='stylesheet' type='text/css'>
40+
41+
<!-- Icons -->
42+
<!-- 16x16 -->
43+
<link rel="shortcut icon" href="{{ site.url }}/favicon.ico">
44+
<!-- 32x32 -->
45+
<link rel="shortcut icon" href="{{ site.url }}/favicon.png">
46+
<!-- 57x57 (precomposed) for iPhone 3GS, pre-2011 iPod Touch and older Android devices -->
47+
<link rel="apple-touch-icon-precomposed" href="{{ site.url }}/images/apple-touch-icon-precomposed.png">
48+
<!-- 72x72 (precomposed) for 1st generation iPad, iPad 2 and iPad mini -->
49+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ site.url }}/images/apple-touch-icon-72x72-precomposed.png">
50+
<!-- 114x114 (precomposed) for iPhone 4, 4S, 5 and post-2011 iPod Touch -->
51+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.url }}/images/apple-touch-icon-114x114-precomposed.png">
52+
<!-- 144x144 (precomposed) for iPad 3rd and 4th generation -->
53+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/images/apple-touch-icon-144x144-precomposed.png">

_includes/_links.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{% if page.author %}
2+
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %}
3+
{% endif %}
4+
5+
<a href='{{ site.url }}/'>
6+
{% if author.avatar contains 'http' %}
7+
<img src="{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo">
8+
{% else %}
9+
<img src="{{ site.url }}/images/{{ author.avatar }}" class="bio-photo" alt="{{ author.name }} bio photo">
10+
{% endif %}
11+
</a>
12+
<h3>
13+
<a href='{{ site.url }}/about'>
14+
{{ author.name }}
15+
</a>
16+
</h3>
17+
<p>{{ author.bio }}</p>
18+
{% if author.email %}<a href="mailto:{{ author.email }}" class="author-social" target="_blank"><i class="fa fa-fw fa-envelope-square"></i> Help</a>{% endif %}
19+
{% if author.twitter %}<a href="http://twitter.com/{{ author.twitter }}" class="author-social" target="_blank"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a>{% endif %}
20+
{% if author.facebook %}<a href="http://facebook.com/{{ author.facebook }}" class="author-social" target="_blank"><i class="fa fa-fw fa-facebook-square"></i> Facebook</a>{% endif %}
21+
{% if author.google.plus %}<a href="http://plus.google.com/+{{ author.google.plus }}" class="author-social" target="_blank"><i class="fa fa-fw fa-google-plus-square"></i> Google+</a>{% endif %}
22+
{% if author.linkedin %}<a href="http://linkedin.com/in/{{ author.linkedin }}" class="author-social" target="_blank"><i class="fa fa-fw fa-linkedin-square"></i> LinkedIn</a>{% endif %}
23+
{% if author.instagram %}<a href="http://instagram.com/{{ author.instagram }}" class="author-social" target="_blank"><i class="fa fa-fw fa-instagram"></i> Instagram</a>{% endif %}
24+
{% if author.tumblr %}<a href="http://{{ author.tumblr }}.tumblr.com" class="author-social" target="_blank"><i class="fa fa-fw fa-tumblr-square"></i> Tumblr</a>{% endif %}
25+
{% if author.github %}<a href="http://github.com/{{ author.github }}" class="author-social" target="_blank"><i class="fa fa-fw fa-github"></i> Github</a>{% endif %}
26+
{% if author.stackoverflow %}<a href="http://stackoverflow.com/users/{{ author.stackoverflow }}" class="author-social" target="_blank"><i class="fa fa-fw fa-stack-overflow"></i> Stackoverflow</a>{% endif %}
27+
{% if author.lastfm %}<a href="http://lastfm.com/user/{{ author.lastfm }}" class="author-social" target="_blank"><i class="fa fa-fw fa-music"></i> Last.fm</a>{% endif %}
28+
{% if author.dribbble %}<a href="http://dribbble.com/{{ author.dribbble }}" class="author-social" target="_blank"><i class="fa fa-fw fa-dribbble"></i> Dribbble</a>{% endif %}
29+
{% if author.pinterest %}<a href="http://www.pinterest.com/{{ author.pinterest }}" class="author-social" target="_blank"><i class="fa fa-fw fa-pinterest"></i> Pinterest</a>{% endif %}
30+
{% if author.foursquare %}<a href="http://foursquare.com/{{ author.foursquare }}" class="author-social" target="_blank"><i class="fa fa-fw fa-foursquare"></i> Foursquare</a>{% endif %}
31+
{% if author.steam %}<a href="http://steamcommunity.com/id/{{ author.steam }}" class="author-social" target="_blank"><i class="fa fa-fw fa-steam-square"></i> Steam</a>{% endif %}
32+
{% if author.youtube %}<a href="https://youtube.com/user/{{ author.youtube }}" class="author-social" target="_blank"><i class="fa fa-fw fa-youtube-square"></i> Youtube</a>{% endif %}
33+
{% if author.soundcloud %}<a href="http://soundcloud.com/{{ author.soundcloud }}" class="author-social" target="_blank"><i class="fa fa-fw fa-soundcloud"></i> Soundcloud</a>{% endif %}

_includes/_navigation.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<div class="navigation-wrapper">
2+
<div class="site-name">
3+
<!--<a href="{{ site.url }}/">{{ site.title }}</a>-->
4+
</div><!-- /.site-name -->
5+
<div class="top-navigation">
6+
<nav role="navigation" id="site-nav" class="nav sliding-menu-content">
7+
<ul>
8+
{% for link in site.data.navigation %}
9+
{% if link.url contains 'http' %}
10+
{% assign domain = '' %}
11+
{% else %}
12+
{% assign domain = site.url %}
13+
{% endif %}
14+
<li><a href="{{ domain }}{{ link.url }}" {% if link.url contains 'http' %}target="_blank"{% endif %}>{{ link.title }}</a></li>
15+
{% endfor %}
16+
</ul>
17+
</nav>
18+
</div><!-- /.top-navigation -->
19+
</div><!-- /.navigation-wrapper -->

_includes/_open-graph.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- Twitter Cards -->
2+
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
3+
{% if page.excerpt %}<meta name="twitter:description" content="{{ page.excerpt | strip_html }}">{% endif %}
4+
{% if site.owner.twitter %}<meta name="twitter:site" content="@{{ site.owner.twitter }}">{% endif %}
5+
{% if author.twitter %}<meta name="twitter:creator" content="@{{ author.twitter }}">{% endif %}
6+
{% if page.image.feature %}
7+
<meta name="twitter:card" content="summary_large_image">
8+
<meta name="twitter:image" content="{{ site.url }}/images/{{ page.image.feature }}">
9+
{% else %}
10+
<meta name="twitter:card" content="summary">
11+
<meta name="twitter:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/default-thumb.png{% endif %}">
12+
{% endif %}
13+
<!-- Open Graph -->
14+
<meta property="og:locale" content="{{ site.locale }}">
15+
<meta property="og:type" content="article">
16+
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}">
17+
{% if page.excerpt %}<meta property="og:description" content="{{ page.excerpt | strip_html }}">{% endif %}
18+
<meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}">
19+
<meta property="og:site_name" content="{{ site.title }}">

0 commit comments

Comments
 (0)