Skip to content

Commit 7831791

Browse files
committed
init
0 parents  commit 7831791

File tree

246 files changed

+9536
-0
lines changed

Some content is hidden

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

246 files changed

+9536
-0
lines changed

.circleci/config.yml

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
# Ruby CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
4+
#
5+
version: 2
6+
jobs:
7+
build:
8+
docker:
9+
# specify the version you desire here
10+
- image: circleci/ruby:2.4.1-node-browsers
11+
12+
working_directory: /tmp/client
13+
14+
steps:
15+
- checkout
16+
17+
# Download and cache dependencies
18+
- restore_cache:
19+
keys:
20+
- v1-dependencies-{{ checksum "Gemfile.lock" }}
21+
# fallback to using the latest cache if no exact match is found
22+
- v1-dependencies-
23+
24+
- run:
25+
name: install dependencies
26+
command: |
27+
JEKYLL_ENV=production bundle install --jobs=4 --retry=3 --path vendor/bundle
28+
29+
- save_cache:
30+
paths:
31+
- vendor/bundle
32+
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
33+
34+
# run tests!
35+
- run:
36+
name: run tests
37+
command: |
38+
JEKYLL_ENV=production bundle exec jekyll doctor
39+
40+
- run:
41+
name: html proof
42+
command: JEKYLL_ENV=production bundle exec htmlproofer ./_site --check-html --disable-external || true
43+
44+
- run:
45+
name: run build
46+
command: |
47+
JEKYLL_ENV=production bundle exec jekyll build
48+
49+
- run:
50+
name: take snapshots
51+
command: |
52+
JEKYLL_ENV=production percy snapshot _site/
53+
54+
- save_cache:
55+
paths:
56+
- _site
57+
key: build-{{ .Revision }}
58+
59+
deploy-master:
60+
docker:
61+
- image: circleci/node:8-browsers
62+
working_directory: /tmp/client
63+
steps:
64+
- restore_cache:
65+
keys:
66+
- build-{{ .Revision }}
67+
- run:
68+
name: install aws
69+
command: |
70+
sudo apt-get install python-dev python-pip
71+
sudo pip install awscli
72+
- run:
73+
name: Deploy to S3 if tests pass and branch is Master
74+
command: aws s3 sync _site s3://docs.exokit.org/ --acl public-read
75+
- run:
76+
name: Invalidate cloudfront cache
77+
command: aws configure set preview.cloudfront true && aws configure set preview.create-invalidation true && aws cloudfront create-invalidation --distribution-id EJBULXL599QEP --paths "/*"
78+
workflows:
79+
version: 2
80+
build-deploy:
81+
jobs:
82+
- build:
83+
filters:
84+
tags:
85+
only: /.*/
86+
- hold:
87+
type: approval
88+
requires:
89+
- build
90+
filters:
91+
branches:
92+
only: master
93+
- deploy-master:
94+
requires:
95+
- hold
96+
filters:
97+
branches:
98+
only: master

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.sass-cache/**
2+
_site
3+
.jekyll-metadata
4+
.DS_Store

.prettierrc.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"printWidth": 80,
3+
"semi": false
4+
}

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.associations": {
3+
"*.html": "jekyll"
4+
}
5+
}

404-error.html

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Not found
3+
sitemap: false
4+
---
5+
<div class="wrapper">
6+
<section>
7+
<h1 class="docs-intro-title">
8+
Not found
9+
</h1>
10+
<p class="docs-intro-desc">
11+
The site you requested was not found. <br/>
12+
You will be redirected to the general index in 5 seconds. <br/>
13+
Or <a href="{{ site.baseurl }}">click here</a>
14+
</p>
15+
</section>
16+
<div>
17+
</div>
18+
<script>
19+
setTimeout(function(){ document.location.assign('{{ site.baseurl }}/')}, 5000)
20+
</script>

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs.exokit.org

Dockerfile

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
FROM ruby:2.5-alpine
3+
4+
# install some useful packages
5+
RUN apk --no-cache add \
6+
zlib-dev \
7+
build-base \
8+
libxml2-dev \
9+
libxslt-dev \
10+
readline-dev \
11+
libffi-dev \
12+
yaml-dev \
13+
zlib-dev \
14+
libffi-dev \
15+
cmake \
16+
nodejs
17+
18+
# set the default working directory
19+
RUN mkdir -p /app
20+
WORKDIR /app
21+
22+
# copy local files
23+
COPY . /app
24+
25+
# build and export the app
26+
RUN bundle install
27+
RUN JEKYLL_ENV=production bundle exec jekyll build --destination /public

Gemfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'jekyll', '3.8.4'
4+
gem 'html-proofer'
5+
6+
group :jekyll_plugins do
7+
gem 'jekyll-archives', '2.1.1'
8+
gem 'jekyll-extract-element', '0.0.7'
9+
gem 'jekyll-feed', '0.9.3'
10+
gem 'jekyll-seo-tag', '2.4.0'
11+
gem 'jekyll-sitemap', '1.2.0'
12+
gem 'jekyll-redirect-from', '0.13.0'
13+
end
14+
15+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
16+
17+
gem "percy-cli", "~> 1.4"

Gemfile.lock

+137
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (5.2.0)
5+
concurrent-ruby (~> 1.0, >= 1.0.2)
6+
i18n (>= 0.7, < 2)
7+
minitest (~> 5.1)
8+
tzinfo (~> 1.1)
9+
addressable (2.5.2)
10+
public_suffix (>= 2.0.2, < 4.0)
11+
colorator (1.1.0)
12+
colorize (0.8.1)
13+
commander (4.4.7)
14+
highline (~> 2.0.0)
15+
concurrent-ruby (1.0.5)
16+
em-websocket (0.5.1)
17+
eventmachine (>= 0.12.9)
18+
http_parser.rb (~> 0.6.0)
19+
ethon (0.11.0)
20+
ffi (>= 1.3.0)
21+
eventmachine (1.2.7)
22+
eventmachine (1.2.7-x64-mingw32)
23+
excon (0.62.0)
24+
faraday (0.15.4)
25+
multipart-post (>= 1.2, < 3)
26+
ffi (1.9.25)
27+
ffi (1.9.25-x64-mingw32)
28+
forwardable-extended (2.6.0)
29+
highline (2.0.1)
30+
html-proofer (3.9.1)
31+
activesupport (>= 4.2, < 6.0)
32+
addressable (~> 2.3)
33+
colorize (~> 0.8)
34+
mercenary (~> 0.3.2)
35+
nokogiri (~> 1.8.1)
36+
parallel (~> 1.3)
37+
typhoeus (~> 1.3)
38+
yell (~> 2.0)
39+
http_parser.rb (0.6.0)
40+
i18n (0.9.5)
41+
concurrent-ruby (~> 1.0)
42+
jekyll (3.8.4)
43+
addressable (~> 2.4)
44+
colorator (~> 1.0)
45+
em-websocket (~> 0.5)
46+
i18n (~> 0.7)
47+
jekyll-sass-converter (~> 1.0)
48+
jekyll-watch (~> 2.0)
49+
kramdown (~> 1.14)
50+
liquid (~> 4.0)
51+
mercenary (~> 0.3.3)
52+
pathutil (~> 0.9)
53+
rouge (>= 1.7, < 4)
54+
safe_yaml (~> 1.0)
55+
jekyll-archives (2.1.1)
56+
jekyll (>= 2.4)
57+
jekyll-extract-element (0.0.7)
58+
jekyll (~> 3.3)
59+
nokogiri (= 1.8.2)
60+
jekyll-feed (0.9.3)
61+
jekyll (~> 3.3)
62+
jekyll-redirect-from (0.13.0)
63+
jekyll (~> 3.3)
64+
jekyll-sass-converter (1.5.2)
65+
sass (~> 3.4)
66+
jekyll-seo-tag (2.4.0)
67+
jekyll (~> 3.3)
68+
jekyll-sitemap (1.2.0)
69+
jekyll (~> 3.3)
70+
jekyll-watch (2.1.1)
71+
listen (~> 3.0)
72+
kramdown (1.17.0)
73+
liquid (4.0.1)
74+
listen (3.1.5)
75+
rb-fsevent (~> 0.9, >= 0.9.4)
76+
rb-inotify (~> 0.9, >= 0.9.7)
77+
ruby_dep (~> 1.2)
78+
mercenary (0.3.6)
79+
mini_portile2 (2.3.0)
80+
minitest (5.11.3)
81+
multipart-post (2.0.0)
82+
nokogiri (1.8.2)
83+
mini_portile2 (~> 2.3.0)
84+
nokogiri (1.8.2-x64-mingw32)
85+
mini_portile2 (~> 2.3.0)
86+
parallel (1.12.1)
87+
pathutil (0.16.1)
88+
forwardable-extended (~> 2.6)
89+
percy-cli (1.4.0)
90+
addressable (~> 2)
91+
commander (~> 4.3)
92+
percy-client (~> 2.0)
93+
thread (~> 0.2)
94+
percy-client (2.0.2)
95+
addressable
96+
excon
97+
faraday (>= 0.9)
98+
public_suffix (3.0.3)
99+
rb-fsevent (0.10.3)
100+
rb-inotify (0.9.10)
101+
ffi (>= 0.5.0, < 2)
102+
rouge (3.3.0)
103+
ruby_dep (1.5.0)
104+
safe_yaml (1.0.4)
105+
sass (3.6.0)
106+
sass-listen (~> 4.0.0)
107+
sass-listen (4.0.0)
108+
rb-fsevent (~> 0.9, >= 0.9.4)
109+
rb-inotify (~> 0.9, >= 0.9.7)
110+
thread (0.2.2)
111+
thread_safe (0.3.6)
112+
typhoeus (1.3.0)
113+
ethon (>= 0.9.0)
114+
tzinfo (1.2.5)
115+
thread_safe (~> 0.1)
116+
tzinfo-data (1.2018.5)
117+
tzinfo (>= 1.0.0)
118+
yell (2.0.7)
119+
120+
PLATFORMS
121+
ruby
122+
x64-mingw32
123+
124+
DEPENDENCIES
125+
html-proofer
126+
jekyll (= 3.8.4)
127+
jekyll-archives (= 2.1.1)
128+
jekyll-extract-element (= 0.0.7)
129+
jekyll-feed (= 0.9.3)
130+
jekyll-redirect-from (= 0.13.0)
131+
jekyll-seo-tag (= 2.4.0)
132+
jekyll-sitemap (= 1.2.0)
133+
percy-cli (~> 1.4)
134+
tzinfo-data
135+
136+
BUNDLED WITH
137+
1.16.6

0 commit comments

Comments
 (0)