Skip to content

Commit f60621e

Browse files
committed
Move docs to master branch
- build with script/build-docs - deploy with script/deploy-docs
1 parent 7c9c557 commit f60621e

File tree

14 files changed

+588
-1
lines changed

14 files changed

+588
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.egg-info
22
*.pyc
33
/dist
4-
/_site
4+
/docs/_site
5+
/docs/.git-gh-pages

docs/.gitignore-gh-pages

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/_site

docs/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM stackbrew/ubuntu:13.10
2+
RUN apt-get -qq update && apt-get install -y ruby1.8 bundler python
3+
RUN locale-gen en_US.UTF-8
4+
ADD Gemfile /code/
5+
ADD Gemfile.lock /code/
6+
WORKDIR /code
7+
RUN bundle install
8+
ADD . /code
9+
EXPOSE 4000
10+
CMD bundle exec jekyll build

docs/Gemfile

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

docs/Gemfile.lock

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
RedCloth (4.2.9)
5+
blankslate (2.1.2.4)
6+
classifier (1.3.3)
7+
fast-stemmer (>= 1.0.0)
8+
colorator (0.1)
9+
commander (4.1.5)
10+
highline (~> 1.6.11)
11+
fast-stemmer (1.0.2)
12+
ffi (1.9.3)
13+
github-pages (12)
14+
RedCloth (= 4.2.9)
15+
jekyll (= 1.4.2)
16+
kramdown (= 1.2.0)
17+
liquid (= 2.5.4)
18+
maruku (= 0.7.0)
19+
rdiscount (= 2.1.7)
20+
redcarpet (= 2.3.0)
21+
highline (1.6.20)
22+
jekyll (1.4.2)
23+
classifier (~> 1.3)
24+
colorator (~> 0.1)
25+
commander (~> 4.1.3)
26+
liquid (~> 2.5.2)
27+
listen (~> 1.3)
28+
maruku (~> 0.7.0)
29+
pygments.rb (~> 0.5.0)
30+
redcarpet (~> 2.3.0)
31+
safe_yaml (~> 0.9.7)
32+
toml (~> 0.1.0)
33+
kramdown (1.2.0)
34+
liquid (2.5.4)
35+
listen (1.3.1)
36+
rb-fsevent (>= 0.9.3)
37+
rb-inotify (>= 0.9)
38+
rb-kqueue (>= 0.2)
39+
maruku (0.7.0)
40+
parslet (1.5.0)
41+
blankslate (~> 2.0)
42+
posix-spawn (0.3.8)
43+
pygments.rb (0.5.4)
44+
posix-spawn (~> 0.3.6)
45+
yajl-ruby (~> 1.1.0)
46+
rb-fsevent (0.9.4)
47+
rb-inotify (0.9.3)
48+
ffi (>= 0.5.0)
49+
rb-kqueue (0.2.0)
50+
ffi (>= 0.5.0)
51+
rdiscount (2.1.7)
52+
redcarpet (2.3.0)
53+
safe_yaml (0.9.7)
54+
toml (0.1.0)
55+
parslet (~> 1.5.0)
56+
yajl-ruby (1.1.0)
57+
58+
PLATFORMS
59+
ruby
60+
61+
DEPENDENCIES
62+
github-pages

docs/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
markdown: redcarpet

docs/_layouts/default.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en-gb">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>{{ page.title }}</title>
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400' rel='stylesheet' type='text/css'>
8+
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
9+
<link rel="stylesheet" type="text/css" href="css/fig.css">
10+
</head>
11+
<body>
12+
<div class="github-top top-notice">
13+
<a href="https://github.com/orchardup/fig" class="btn btn-large">View on Github</a>
14+
</div>
15+
16+
<div class="container">
17+
<h1 class="logo">
18+
<img src="img/logo.png">
19+
Fig
20+
</h1>
21+
22+
<iframe src="http://ghbtns.com/github-btn.html?user=orchardup&repo=fig&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
23+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://orchardup.github.io/fig/">Tweet</a>
24+
25+
<div class="content">{{ content }}</div>
26+
</div>
27+
28+
<div class="github-bottom">
29+
<a href="https://github.com/orchardup/fig" class="btn btn-large">View on Github</a>
30+
</div>
31+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
32+
<script>
33+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
34+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
35+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
36+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
37+
38+
ga('create', 'UA-43996733-3', 'orchardup.github.io');
39+
ga('send', 'pageview');
40+
41+
</script>
42+
</body>
43+
</html>

docs/css/bootstrap.min.css

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/css/fig.css

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
body {
2+
padding-top: 20px;
3+
padding-bottom: 60px;
4+
font-family: 'Lato', sans-serif;
5+
font-weight: 300;
6+
font-size: 18px;
7+
color: #362;
8+
}
9+
10+
h1, h2, h3, h4, h5, h6 {
11+
font-family: 'Lato', sans-serif;
12+
font-weight: 400;
13+
color: #25594D;
14+
}
15+
16+
h2, h3, h4, h5, h6 {
17+
margin-top: 1.5em;
18+
}
19+
20+
p {
21+
margin: 20px 0;
22+
}
23+
24+
a, a:hover, a:visited {
25+
color: #4D9900;
26+
text-decoration: underline;
27+
}
28+
29+
pre, code {
30+
border: none;
31+
background: #D5E1B4;
32+
}
33+
34+
code, pre code {
35+
color: #484F40;
36+
}
37+
38+
pre {
39+
border-bottom: 2px solid #bec9a1;
40+
font-size: 14px;
41+
}
42+
43+
code {
44+
font-size: 0.84em;
45+
}
46+
47+
pre code {
48+
background: none;
49+
}
50+
51+
img {
52+
max-width: 100%;
53+
}
54+
55+
/* Customize container */
56+
@media (min-width: 768px) {
57+
.container {
58+
max-width: 730px;
59+
}
60+
}
61+
62+
@media (min-width: 481px) {
63+
.github-top {
64+
position: absolute;
65+
top: 0;
66+
right: 0;
67+
}
68+
}
69+
70+
.content h1 {
71+
display: none;
72+
}
73+
74+
.logo {
75+
text-align: center;
76+
font-family: 'Lilita One', sans-serif;
77+
font-size: 80px;
78+
color: #a41211;
79+
margin: 20px 0 40px 0;
80+
}
81+
82+
.logo img {
83+
width: 100px;
84+
vertical-align: -17px;
85+
}
86+
87+
@media (min-width: 481px) {
88+
.logo {
89+
font-size: 96px;
90+
margin-top: 40px;
91+
}
92+
.logo img {
93+
vertical-align: -40px;
94+
width: 150px;
95+
margin-right: 20px;
96+
}
97+
}
98+
99+
.github-top,
100+
.github-bottom {
101+
text-align: center;
102+
}
103+
104+
.github-top {
105+
margin: 30px;
106+
}
107+
108+
.github-bottom {
109+
margin: 60px 0;
110+
}
111+
112+
a.btn {
113+
background: #25594D;
114+
color: white;
115+
text-transform: uppercase;
116+
text-decoration: none;
117+
}
118+
119+
a.btn:hover {
120+
color: white;
121+
}
122+
123+
124+

docs/fig.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
jekyll:
2+
build: .
3+
ports:
4+
- 4000:4000
5+
volumes:
6+
- .:/code
7+
environment:
8+
- LANG=en_US.UTF-8

docs/img/logo.png

131 KB
Loading

0 commit comments

Comments
 (0)