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

Rebuild using Jekyll #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 1 addition & 21 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,29 +1,9 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[package.json]
indent_style = space
indent_size = 2

[bower.json]
indent_style = space
indent_size = 2
insert_final_newline = trues
17 changes: 2 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
*DS_Store

node_modules
.tmp
_site
.sass-cache
app/bower_components
test/bower_components
npm-debug.log
app
test

github_pages/bower_components/fontawesome/*

github_pages/highlight/*
!github_pages/highlight/highlight.pack.js
!github_pages/highlight/styles/solarized_light.css
.jekyll-metadata
24 changes: 24 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: default
---

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
30 changes: 30 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.8.3"

# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.0"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins

# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?

74 changes: 74 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
concurrent-ruby (1.0.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.9.25)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.8.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-feed (0.10.0)
jekyll (~> 3.3)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.5.0)
jekyll (~> 3.3)
jekyll-watch (2.0.0)
listen (~> 3.0)
kramdown (1.17.0)
liquid (4.0.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
minima (2.5.0)
jekyll (~> 3.5)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
pathutil (0.16.1)
forwardable-extended (~> 2.6)
public_suffix (3.0.3)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (3.2.1)
ruby_dep (1.5.0)
safe_yaml (1.0.4)
sass (3.5.7)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)

PLATFORMS
ruby

DEPENDENCIES
jekyll (~> 3.8.3)
jekyll-feed (~> 0.6)
minima (~> 2.0)
tzinfo-data

BUNDLED WITH
1.16.3
8 changes: 8 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
title: Iron
description: >-
Iron is a fast and flexible middleware-oriented server framework that provides a small but robust foundation for creating complex applications and RESTful APIs. No middleware are bundled with Iron – instead, everything is drag-and-drop, allowing for ridiculously modular setups.
twitter_username: jekyllrb
github_username: jekyll

# Build settings
markdown: kramdown
8 changes: 8 additions & 0 deletions _data/menu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- title: Getting Started
url: /getting-started

- title: Docs
url: https://docs.rs/iron

- title: GitHub
url: https://github.com/iron/iron
File renamed without changes.
7 changes: 7 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{site.description}}">
<title>{% if page.title %}{{page.title}} · {% endif %}{{site.title}}</title>
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="stylesheet" href="/main.css">
12 changes: 12 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<header class="header">
<div class="brand">
<a href="/">
<img class="logo" src="logo.png" />{{site.title}}
</a>
</div>
<div class="menu">
{% for item in site.data.menu %}
<a href="{{item.url}}">{{item.title}}</a>
{% endfor %}
</div>
</header>
20 changes: 20 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

{%- include head.html -%}

<body>

{%- include header.html -%}

<main class="page-content" aria-label="Content">
<div class="wrapper">
{{ content }}
</div>
</main>

{%- include footer.html -%}

</body>

</html>
Empty file added _sass/_base.scss
Empty file.
141 changes: 141 additions & 0 deletions _sass/_syntax.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
// /*! Mustang Theme; https://raw.github.com/uraimo/pygments-vimstyles/master/mustang.css */
// .highlight pre, .highlight table { background: #334458 !important; color: #e2e2e5 !important; }
// .highlight .hll { background-color: #ffffcc !important; }
// .highlight .c { color: #808080 !important; font-style: italic !important; } /* Comment */
// .highlight .err { color: #e2e2e5 !important; } /* Error */
// .highlight .g { color: #e2e2e5 !important; } /* Generic */
// .highlight .k { color: #b3c2de !important; } /* Keyword */
// .highlight .l { color: #e2e2e5 !important; } /* Literal */
// .highlight .n, .highlight .h { color: #e2e2e5 !important; } /* Name */
// .highlight .o { color: #e2e2e5 !important; } /* Operator */
// .highlight .x { color: #e2e2e5 !important; } /* Other */
// .highlight .p { color: #e2e2e5 !important; } /* Punctuation */
// .highlight .cm { color: #808080 !important; font-style: italic !important; } /* Comment.Multiline */
// .highlight .cp { color: #faf4c6 !important; } /* Comment.Preproc */
// .highlight .c1 { color: #808080 !important; font-style: italic !important; } /* Comment.Single */
// .highlight .cs { color: #808080 !important; font-style: italic !important; } /* Comment.Special */
// .highlight .gd { color: #e2e2e5 !important; } /* Generic.Deleted */
// .highlight .ge { color: #e2e2e5 !important; } /* Generic.Emph */
// .highlight .gr { color: #e2e2e5 !important; } /* Generic.Error */
// .highlight .gh { color: #f6f3e8 !important; font-weight: 600 !important; } /* Generic.Heading */
// .highlight .gi { color: #e2e2e5 !important; } /* Generic.Inserted */
// .highlight .go { color: #808080 !important; background-color: #303030 !important; } /* Generic.Output */
// .highlight .gp { color: #e2e2e5 !important; } /* Generic.Prompt */
// .highlight .gs { color: #e2e2e5 !important; } /* Generic.Strong */
// .highlight .gu { color: #f6f3e8 !important; font-weight: 600 !important; } /* Generic.Subheading */
// .highlight .gt { color: #e2e2e5 !important; } /* Generic.Traceback */
// .highlight .kc { color: #7e8aa2 !important; } /* Keyword.Constant */
// .highlight .kd { color: #7e8aa2 !important; } /* Keyword.Declaration */
// .highlight .kn { color: #7e8aa2 !important; } /* Keyword.Namespace */
// .highlight .kp { color: #7e8aa2 !important; } /* Keyword.Pseudo */
// .highlight .kr { color: #7e8aa2 !important; } /* Keyword.Reserved */
// .highlight .kt { color: #7e8aa2 !important; } /* Keyword.Type */
// .highlight .ld { color: #e2e2e5 !important; } /* Literal.Date */
// .highlight .m { color: #ff9800 !important; } /* Literal.Number */
// .highlight .s { color: #b1d631 !important; font-style: normal !important; } /* Literal.String */
// .highlight .na { color: #ffffff !important; font-weight: 600 !important; } /* Name.Attribute */
// .highlight .nb { color: #e2e2e5 !important; } /* Name.Builtin */
// .highlight .nc { color: #e2e2e5 !important; } /* Name.Class */
// .highlight .no { color: #ff9800 !important; } /* Name.Constant */
// .highlight .nd { color: #e2e2e5 !important; } /* Name.Decorator */
// .highlight .ni { color: #ff9800 !important; } /* Name.Entity */
// .highlight .ne { color: #e2e2e5 !important; } /* Name.Exception */
// .highlight .nf { color: #ffffff !important; font-weight: 600 !important; } /* Name.Function */
// .highlight .nl { color: #e2e2e5 !important; } /* Name.Label */
// .highlight .nn { color: #e2e2e5 !important; } /* Name.Namespace */
// .highlight .nx { color: #e2e2e5 !important; } /* Name.Other */
// .highlight .py { color: #e2e2e5 !important; } /* Name.Property */
// .highlight .nt { color: #7e8aa2 !important; } /* Name.Tag */
// .highlight .nv { color: #b1d631 !important; } /* Name.Variable */
// .highlight .ow { color: #e2e2e5 !important; } /* Operator.Word */
// .highlight .w { color: #e2e2e5 !important; } /* Text.Whitespace */
// .highlight .mf { color: #ff9800 !important; } /* Literal.Number.Float */
// .highlight .mh { color: #ff9800 !important; } /* Literal.Number.Hex */
// .highlight .mi { color: #ff9800 !important; } /* Literal.Number.Integer */
// .highlight .mo { color: #ff9800 !important; } /* Literal.Number.Oct */
// .highlight .sb { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Backtick */
// .highlight .sc { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Char */
// .highlight .sd { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Doc */
// .highlight .s2 { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Double */
// .highlight .se { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Escape */
// .highlight .sh { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Heredoc */
// .highlight .si { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Interpol */
// .highlight .sx { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Other */
// .highlight .sr { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Regex */
// .highlight .s1 { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Single */
// .highlight .ss { color: #b1d631 !important; font-style: italic !important; } /* Literal.String.Symbol */
// .highlight .bp { color: #e2e2e5 !important; } /* Name.Builtin.Pseudo */
// .highlight .vc { color: #b1d631 !important; } /* Name.Variable.Class */
// .highlight .vg { color: #b1d631 !important; } /* Name.Variable.Global */
// .highlight .vi { color: #b1d631 !important; } /* Name.Variable.Instance */
// .highlight .il { color: #ff9800 !important; } /* Literal.Number.Integer.Long */

.highlight .hll { background-color: #ffffcc }
pre.highlight { background: #f8f8f8; }
.highlight .c { color: #6a737d } /* Comment */
.highlight .err { } /* Error */
.highlight .k { color: #d73a49 } /* Keyword */
.highlight .o { } /* Operator */
.highlight .ch { color: #6a737d } /* Comment.Hashbang */
.highlight .cm { color: #6a737d } /* Comment.Multiline */
.highlight .cp { color: #d73a49 } /* Comment.Preproc */
.highlight .cpf { color: #032f62 } /* Comment.PreprocFile */
.highlight .c1 { color: #6a737d } /* Comment.Single */
.highlight .cs { color: #6a737d } /* Comment.Special */
.highlight .gd { color: #b31d28; background-color: #ffeef0 } /* Generic.Deleted */
.highlight .ge { } /* Generic.Emph */
.highlight .gr { } /* Generic.Error */
.highlight .gh { color: #005cc5 } /* Generic.Heading */
.highlight .gi { color: #22863a; background-color: #f0fff4 } /* Generic.Inserted */
.highlight .go { } /* Generic.Output */
.highlight .gp { } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #6f42c1; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #0044DD } /* Generic.Traceback */
.highlight .kc { color: #005cc5 } /* Keyword.Constant */
.highlight .kd { color: #d73a49 } /* Keyword.Declaration */
.highlight .kn { color: #d73a49 } /* Keyword.Namespace */
.highlight .kp { color: #d73a49 } /* Keyword.Pseudo */
.highlight .kr { color: #d73a49 } /* Keyword.Reserved */
.highlight .kt { color: #d73a49 } /* Keyword.Type */
.highlight .m { color: #666666 } /* Literal.Number */
.highlight .s { color: #032f62 } /* Literal.String */
.highlight .na { } /* Name.Attribute */
.highlight .nb { color: #005cc5 } /* Name.Builtin */
.highlight .nc { color: #6f42c1 } /* Name.Class */
.highlight .no { color: #005cc5 } /* Name.Constant */
.highlight .nd { color: #6f42c1 } /* Name.Decorator */
.highlight .ni { color: #005cc5 } /* Name.Entity */
.highlight .ne { color: #005cc5 } /* Name.Exception */
.highlight .nf { color: #6f42c1 } /* Name.Function */
.highlight .nl { color: #005cc5 } /* Name.Label */
.highlight .nn { color: #6f42c1 } /* Name.Namespace */
.highlight .nt { color: #22863a } /* Name.Tag */
.highlight .nv { color: #24292e } /* Name.Variable */
.highlight .ow { color: #d73a49; } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #005cc5 } /* Literal.Number.Bin */
.highlight .mf { color: #005cc5 } /* Literal.Number.Float */
.highlight .mh { color: #005cc5 } /* Literal.Number.Hex */
.highlight .mi { color: #005cc5 } /* Literal.Number.Integer */
.highlight .mo { color: #005cc5 } /* Literal.Number.Oct */
.highlight .sa { color: #d73a49 } /* Literal.String.Affix */
.highlight .sb { color: #032f62 } /* Literal.String.Backtick */
.highlight .sc { color: #032f62 } /* Literal.String.Char */
.highlight .dl { color: #d73a49 } /* Literal.String.Delimiter */
.highlight .sd { color: #032f62 } /* Literal.String.Doc */
.highlight .s2 { color: #032f62 } /* Literal.String.Double */
.highlight .se { color: #032f62 } /* Literal.String.Escape */
.highlight .sh { color: #032f62 } /* Literal.String.Heredoc */
.highlight .si { color: #005cc5 } /* Literal.String.Interpol */
.highlight .sx { color: #032f62 } /* Literal.String.Other */
.highlight .sr { color: #032f62 } /* Literal.String.Regex */
.highlight .s1 { color: #032f62 } /* Literal.String.Single */
.highlight .ss { color: #005cc5 } /* Literal.String.Symbol */
.highlight .bp { color: #005cc5 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #005cc5 } /* Name.Function.Magic */
.highlight .vc { color: #24292e } /* Name.Variable.Class */
.highlight .vg { color: #24292e } /* Name.Variable.Global */
.highlight .vi { color: #24292e } /* Name.Variable.Instance */
.highlight .vm { color: #005cc5 } /* Name.Variable.Magic */
.highlight .il { color: #005cc5 } /* Literal.Number.Integer.Long */
10 changes: 0 additions & 10 deletions bower.json

This file was deleted.

Loading