Permalink
Browse files

Move docs to master branch

- build with script/build-docs
- deploy with script/deploy-docs
  • Loading branch information...
aanand committed Jan 27, 2014
1 parent 7c9c557 commit f60621ee1bbed066bb36fb3e78f7b9ed32bc3c4c
@@ -1,4 +1,5 @@
*.egg-info
*.pyc
/dist
/_site
/docs/_site
/docs/.git-gh-pages
@@ -0,0 +1 @@
/_site
@@ -0,0 +1,10 @@
FROM stackbrew/ubuntu:13.10
RUN apt-get -qq update && apt-get install -y ruby1.8 bundler python
RUN locale-gen en_US.UTF-8
ADD Gemfile /code/
ADD Gemfile.lock /code/
WORKDIR /code
RUN bundle install
ADD . /code
EXPOSE 4000
CMD bundle exec jekyll build
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'github-pages'
@@ -0,0 +1,62 @@
GEM
remote: https://rubygems.org/
specs:
RedCloth (4.2.9)
blankslate (2.1.2.4)
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
colorator (0.1)
commander (4.1.5)
highline (~> 1.6.11)
fast-stemmer (1.0.2)
ffi (1.9.3)
github-pages (12)
RedCloth (= 4.2.9)
jekyll (= 1.4.2)
kramdown (= 1.2.0)
liquid (= 2.5.4)
maruku (= 0.7.0)
rdiscount (= 2.1.7)
redcarpet (= 2.3.0)
highline (1.6.20)
jekyll (1.4.2)
classifier (~> 1.3)
colorator (~> 0.1)
commander (~> 4.1.3)
liquid (~> 2.5.2)
listen (~> 1.3)
maruku (~> 0.7.0)
pygments.rb (~> 0.5.0)
redcarpet (~> 2.3.0)
safe_yaml (~> 0.9.7)
toml (~> 0.1.0)
kramdown (1.2.0)
liquid (2.5.4)
listen (1.3.1)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
maruku (0.7.0)
parslet (1.5.0)
blankslate (~> 2.0)
posix-spawn (0.3.8)
pygments.rb (0.5.4)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rb-fsevent (0.9.4)
rb-inotify (0.9.3)
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
ffi (>= 0.5.0)
rdiscount (2.1.7)
redcarpet (2.3.0)
safe_yaml (0.9.7)
toml (0.1.0)
parslet (~> 1.5.0)
yajl-ruby (1.1.0)

PLATFORMS
ruby

DEPENDENCIES
github-pages
@@ -0,0 +1 @@
markdown: redcarpet
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='http://fonts.googleapis.com/css?family=Lilita+One|Lato:300,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/fig.css">
</head>
<body>
<div class="github-top top-notice">
<a href="https://github.com/orchardup/fig" class="btn btn-large">View on Github</a>
</div>

<div class="container">
<h1 class="logo">
<img src="img/logo.png">
Fig
</h1>

<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>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://orchardup.github.io/fig/">Tweet</a>

<div class="content">{{ content }}</div>
</div>

<div class="github-bottom">
<a href="https://github.com/orchardup/fig" class="btn btn-large">View on Github</a>
</div>
<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>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-43996733-3', 'orchardup.github.io');
ga('send', 'pageview');
</script>
</body>
</html>

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,124 @@
body {
padding-top: 20px;
padding-bottom: 60px;
font-family: 'Lato', sans-serif;
font-weight: 300;
font-size: 18px;
color: #362;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Lato', sans-serif;
font-weight: 400;
color: #25594D;
}

h2, h3, h4, h5, h6 {
margin-top: 1.5em;
}

p {
margin: 20px 0;
}

a, a:hover, a:visited {
color: #4D9900;
text-decoration: underline;
}

pre, code {
border: none;
background: #D5E1B4;
}

code, pre code {
color: #484F40;
}

pre {
border-bottom: 2px solid #bec9a1;
font-size: 14px;
}

code {
font-size: 0.84em;
}

pre code {
background: none;
}

img {
max-width: 100%;
}

/* Customize container */
@media (min-width: 768px) {
.container {
max-width: 730px;
}
}

@media (min-width: 481px) {
.github-top {
position: absolute;
top: 0;
right: 0;
}
}

.content h1 {
display: none;
}

.logo {
text-align: center;
font-family: 'Lilita One', sans-serif;
font-size: 80px;
color: #a41211;
margin: 20px 0 40px 0;
}

.logo img {
width: 100px;
vertical-align: -17px;
}

@media (min-width: 481px) {
.logo {
font-size: 96px;
margin-top: 40px;
}
.logo img {
vertical-align: -40px;
width: 150px;
margin-right: 20px;
}
}

.github-top,
.github-bottom {
text-align: center;
}

.github-top {
margin: 30px;
}

.github-bottom {
margin: 60px 0;
}

a.btn {
background: #25594D;
color: white;
text-transform: uppercase;
text-decoration: none;
}

a.btn:hover {
color: white;
}



@@ -0,0 +1,8 @@
jekyll:
build: .
ports:
- 4000:4000
volumes:
- .:/code
environment:
- LANG=en_US.UTF-8
BIN +131 KB docs/img/logo.png
Binary file not shown.
Oops, something went wrong.

0 comments on commit f60621e

Please sign in to comment.