Skip to content
This repository was archived by the owner on May 6, 2018. It is now read-only.

Add jekyll support #4

Closed
wants to merge 1 commit into from
Closed
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
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_site
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: ruby

sudo: required

script: bundle exec jekyll build
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'github-pages'
136 changes: 136 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.7)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorator (1.1.0)
ethon (0.9.0)
ffi (>= 1.3.0)
execjs (2.7.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
ffi (1.9.14)
forwardable-extended (2.6.0)
gemoji (2.1.0)
github-pages (93)
activesupport (= 4.2.7)
github-pages-health-check (= 1.2.0)
jekyll (= 3.2.1)
jekyll-coffeescript (= 1.0.1)
jekyll-feed (= 0.5.1)
jekyll-gist (= 1.4.0)
jekyll-github-metadata (= 2.0.2)
jekyll-mentions (= 1.1.3)
jekyll-paginate (= 1.1.0)
jekyll-redirect-from (= 0.11.0)
jekyll-sass-converter (= 1.3.0)
jekyll-seo-tag (= 2.0.0)
jekyll-sitemap (= 0.10.0)
jemoji (= 0.7.0)
kramdown (= 1.11.1)
liquid (= 3.0.6)
listen (= 3.0.6)
mercenary (~> 0.3)
minima (= 1.0.1)
rouge (= 1.11.1)
terminal-table (~> 1.4)
github-pages-health-check (1.2.0)
addressable (~> 2.3)
net-dns (~> 0.8)
octokit (~> 4.0)
public_suffix (~> 1.4)
typhoeus (~> 0.7)
html-pipeline (2.4.2)
activesupport (>= 2)
nokogiri (>= 1.4)
i18n (0.7.0)
jekyll (3.2.1)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-coffeescript (1.0.1)
coffee-script (~> 2.2)
jekyll-feed (0.5.1)
jekyll-gist (1.4.0)
octokit (~> 4.2)
jekyll-github-metadata (2.0.2)
jekyll (~> 3.1)
octokit (~> 4.0)
jekyll-mentions (1.1.3)
html-pipeline (~> 2.3)
jekyll (~> 3.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.11.0)
jekyll (>= 2.0)
jekyll-sass-converter (1.3.0)
sass (~> 3.2)
jekyll-seo-tag (2.0.0)
jekyll (~> 3.1)
jekyll-sitemap (0.10.0)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
jemoji (0.7.0)
activesupport (~> 4.0)
gemoji (~> 2.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0)
json (1.8.3)
kramdown (1.11.1)
liquid (3.0.6)
listen (3.0.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)
mercenary (0.3.6)
mini_portile2 (2.1.0)
minima (1.0.1)
minitest (5.9.0)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.8)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
pathutil (0.14.0)
forwardable-extended (~> 2.6)
pkg-config (1.1.7)
public_suffix (1.5.3)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rouge (1.11.1)
safe_yaml (1.0.4)
sass (3.4.22)
sawyer (0.7.0)
addressable (>= 2.3.5, < 2.5)
faraday (~> 0.8, < 0.10)
terminal-table (1.6.0)
thread_safe (0.3.5)
typhoeus (0.8.0)
ethon (>= 0.8.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)

PLATFORMS
ruby

DEPENDENCIES
github-pages

BUNDLED WITH
1.12.5
14 changes: 14 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title: PHP Integrator
description: PHP code analysis and utilities for the Atom editor
url: https://php-integrator.github.io

logo: https://php-integrator.github.io/images/logo.png

exclude: [Gemfile, Gemfile.lock, LICENSE, README.md]

sass:
style: compressed

gems:
- jekyll-seo-tag
- jekyll-sitemap
135 changes: 19 additions & 116 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,131 +1,34 @@
---
image: /images/logo.png
---
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="PHP code analysis and utilities for the Atom editor">

{% seo %}

<title>PHP Integrator</title>

<link rel="icon" href="images/logo.png">

<style type="text/css">
* {
margin: 0;
}

body {
font-family: sans-serif;
font-size: 18px;
color: #333333;
background-color: white;
}

h1, h2, h3, h4 {
line-height: 1.2;
margin-top: 1.5em;
}

h2:before {
content: ' ⁓ ';
}

p {
line-height: 1.5;
margin-top: 1.5em;
}

ul li {
line-height: 1.7;
}

a {
color: #333333;
}

ul {
margin-top: 15px;
}

a:hover {
text-decoration: none;
}

.content {
max-width: 952px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;

animation: fadeIn 0.5s 1;
}

.title {
margin-top: 15px;
}

.left {
order: 1;
flex: 0 0 50%;
}

.right {
order: 2;
flex: 0 0 50%;
}

.left p, .left h3 {
padding-right: 50px;
}

.right p, .right h3 {
padding-left: 50px;
}

.left img, .right img {
width: 100%;
}

.row {
display: inline-flex;

margin-top: 25px;
}

.center {
text-align: center;
}

.small-text {
font-size: 13px;
}

.bottom-bar {
padding: 10px;
color: #444444;
background-color: #ddd;
}

@keyframes fadeIn {
0% { opacity: 0; margin-top: 25px; }
100% { opacity: 1; margin-top: 50px; }
}
</style>
<link rel="icon" href="/images/logo.png">

<link rel="stylesheet" href="/styles/main.css">
</head>

<body>
<a href="https://github.com/php-integrator/atom-base" class="github-corner" aria-label="View source on Github"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>

<div class="content">
<div class="center">
<img src="images/logo.png" alt="Logo" />
<img src="/images/logo.png" alt="Logo">
</div>

<h1 id="title" class="title center">PHP Integrator</h1>
<h1 id="title" class="title center">{{ site.title }}</h1>

<div class="center">
<em>PHP code analysis and utilities for the Atom editor</em>
<em>{{ site.description }}</em>

<div class="small-text">
<a href="https://github.com/php-integrator/atom-base">Show me the source</a>
Expand All @@ -140,7 +43,7 @@ <h1 id="title" class="title center">PHP Integrator</h1>

<div class="row">
<div class="right">
<img src="images/autocompletion.png" />
<img src="/images/autocompletion.png" />
</div>

<div class="left">
Expand All @@ -164,7 +67,7 @@ <h3 id="autocompletion">Autocompletion</h3>

<div class="row">
<div class="left">
<img src="images/code-navigation.png" />
<img src="/images/code-navigation.png" />
</div>

<div class="right">
Expand All @@ -186,7 +89,7 @@ <h3 id="code-navigation">Code navigation</h3>

<div class="row">
<div class="right">
<img src="images/annotations.png" />
<img src="/images/annotations.png" />
</div>

<div class="left">
Expand All @@ -208,7 +111,7 @@ <h3 id="annotations">Annotations</h3>

<div class="row">
<div class="left">
<img src="images/tooltips.png" />
<img src="/images/tooltips.png" />
</div>

<div class="right">
Expand All @@ -226,7 +129,7 @@ <h3 id="tooltips">Tooltips</h3>

<div class="row">
<div class="right">
<img src="images/refactoring.png" />
<img src="/images/refactoring.png" />
</div>

<div class="left">
Expand All @@ -250,7 +153,7 @@ <h3 id="refactoring">Refactoring</h3>

<div class="row">
<div class="left">
<img src="images/call-tips.png" />
<img src="/images/call-tips.png" />
</div>

<div class="right">
Expand All @@ -268,7 +171,7 @@ <h3 id="call-tips">Call Tips</h3>

<div class="row">
<div class="right">
<img src="images/linting.png" />
<img src="/images/linting.png" />
</div>

<div class="left">
Expand Down Expand Up @@ -324,7 +227,7 @@ <h2 id="where-is-the-code">Where is the code?</h2>
<p><a href="https://github.com/php-integrator/atom-base">Right here</a>, on GitHub.</p>

<p class="center">
<img src="images/gplv3-127x51.png" alt="GPLv3 Logo" />
<img src="/images/gplv3-127x51.png" alt="GPLv3 Logo" />
</p>
</div>

Expand Down
Loading