Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Sep 18, 2012
0 parents commit 8990573
Show file tree
Hide file tree
Showing 19 changed files with 7,045 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,12 @@
.bundle
.DS_Store
.rvmrc
_site
bin
source/tmp/*
_site/*
.sass-cache/*
*.sassc
*\#*
~*
_source/*
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,6 @@
source :rubygems

gem "jekyll"
gem "rdiscount"
gem "haml"
gem "RedCloth"
34 changes: 34 additions & 0 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,34 @@
GEM
remote: http://rubygems.org/
specs:
RedCloth (4.2.9)
albino (1.3.3)
posix-spawn (>= 0.3.6)
classifier (1.3.3)
fast-stemmer (>= 1.0.0)
directory_watcher (1.4.1)
fast-stemmer (1.0.0)
haml (3.1.4)
jekyll (0.11.2)
albino (~> 1.3)
classifier (~> 1.3)
directory_watcher (~> 1.1)
kramdown (~> 0.13)
liquid (~> 2.3)
maruku (~> 0.5)
kramdown (0.13.5)
liquid (2.3.0)
maruku (0.6.0)
syntax (>= 1.0.0)
posix-spawn (0.3.6)
rdiscount (1.6.8)
syntax (1.0.0)

PLATFORMS
ruby

DEPENDENCIES
RedCloth
haml
jekyll
rdiscount
29 changes: 29 additions & 0 deletions README.md
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,29 @@
# Langohr Documentation

This is a documentation site for [Langohr](http://github.com/michaelklishin/langohr).


## Install Dependencies

With Bundler:

bundle install --binstubs


## How to run a development server

./bin/jekyll --auto --server


## How to regenerate the site

In order to modify contents and launch dev environment, run:

./bin/jekyll


## License & Copyright

Copyright (C) 2011-2012 Alexander Petrov, Michael S. Klishin.

Distributed under the Eclipse Public License, the same as Clojure.
7 changes: 7 additions & 0 deletions _config.yml
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,7 @@
source: .
destination: ./_site
plugins: ./_plugins
auto: true
exclude: [bin, CNAME, Gemfile, Gemfile.lock, README.md]
markdown: rdiscount
permalink: /:title
78 changes: 78 additions & 0 deletions _layouts/article.html
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,78 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang='en'>
<head>
<title>{{page.title}}</title>
<meta content='width=device-width, initial-scale=1.0' name='viewport' />
<meta content='Langohr, an idiomatic Clojure RabbitMQ client | Clojure AMQP 0.9.1 client' name='description' />
<meta content='The ClojureWerkz Team' name='author' />
<link href='/assets/stylesheets/bootstrap.css' media='screen' rel='stylesheet' type='text/css' />
<link href='/assets/stylesheets/bootstrap-responsive.css' media='screen' rel='stylesheet' type='text/css' />
<link href='/assets/stylesheets/sass/styles.css' media='screen' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Signika+Negative:300,400,600' rel='stylesheet' type='text/css' />
<script src='/assets/javascripts/jquery-1.7.min.js' type='text/javascript'></script>
<script src='/assets/javascripts/toc.js'></script>
<meta content='text/html;charset=utf-8' http-equiv='Content-Type' />
<script type="text/javascript">
if(!(window.location.hostname === "localhost")) {
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-31282324-5']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
}
</script>
</head>
<body>
<div class='navbar navbar-fixed-top'>
<div class='navbar-inner'>
<div class='container-fluid'>
<a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</a>
<a class='brand' href='/'>Langohr</a>
<div class='nav-collapse'>
<ul class='nav'>
<li class=''>
<a href='/'>Home</a>
</li>
<li>
<a href="/articles/guides.html">All guides</a>
</li>
<li>
<a href='/articles/community.html'>Community</a>
</li>
<li>
<a href='https://github.com/michaelklishin/langohr'>Code on Github</a>
</li>
<li>
<a href='http://clojurewerkz.org'>More Clojure libraries</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class='container-fluid'>
<div class='row-fluid'>
<div class='span3'>
<div class='well sidebar-nav'></div>
</div>
<div class='span9'>
{{ content }}
</div>
</div>
<footer class='footer article'>
<p>This website was developed by
&nbsp;<a href='http://github.com/clojurewerkz'>ClojureWerkz team</a>.</p>
<p>Follow us on Twitter:
&nbsp;<a href='http://twitter.com/clojurewerkz'>ClojureWerkz</a>,&nbsp;<a href='http://twitter.com/michaelklishin'>Michael Klishin</a>,&nbsp;<a href='http://twitter.com/ifesdjeen'>Alex P</a></p>
</footer>
</div>
</body>
</html>
72 changes: 72 additions & 0 deletions _layouts/default.html
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,72 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang='en' style='height: 100%'>
<head>
<title>{{page.title}}</title>
<meta content='width=device-width, initial-scale=1.0' name='viewport' />
<meta content='Langohr, an idiomatic Clojure RabbitMQ client | Clojure AMQP 0.9.1 client' name='description' />
<meta content='The ClojureWerkz Team' name='author' />
<link href='/assets/stylesheets/bootstrap.css' media='screen' rel='stylesheet' type='text/css' />
<link href='/assets/stylesheets/bootstrap-responsive.css' media='screen' rel='stylesheet' type='text/css' />
<link href='/assets/stylesheets/sass/styles.css' media='screen' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Signika+Negative:300,400,600' rel='stylesheet' type='text/css' />
<script src='/assets/javascripts/jquery-1.7.min.js' type='text/javascript'></script>
<script src='/assets/javascripts/toc.js'></script>
<script src='http://twitter.github.com/bootstrap/assets/js/bootstrap-dropdown.js'></script>
<meta content='text/html;charset=utf-8' http-equiv='Content-Type' />
<script type="text/javascript">
if(!(window.location.hostname === "localhost")) {
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-31282324-5']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
}
</script>
</head>
<body style='height: 100%'>
<div class='navbar navbar-fixed-top'>
<div class='navbar-inner'>
<div class='container-fluid'>
<a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</a>
<a class='brand' href='/'>Langohr</a>
<div class='nav-collapse'>
<ul class='nav'>
<li>
<a href='/'>Home</a>
</li>
<li>
<a href="/articles/guides.html">All guides</a>
</li>
<li>
<a href='/articles/community.html'>Community</a>
</li>
<li>
<a href='https://github.com/michaelklishin/langohr'>Code on Github</a>
</li>
<li>
<a href='http://clojurewerkz.org'>More Clojure libraries</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class='container'>
{{ content }}
<footer class='footer'>
<p>This website was developed by the
&nbsp;<a href='http://github.com/clojurewerkz'>ClojureWerkz Team</a>.</p>
<p>Follow us on Twitter:
&nbsp;<a href='http://twitter.com/clojurewerkz'>ClojureWerkz</a>,&nbsp;<a href='http://twitter.com/michaelklishin'>Michael Klishin</a>,&nbsp;<a href='http://twitter.com/ifesdjeen'>Alex P</a></p>
</footer>
</div>
</body>
</html>
35 changes: 35 additions & 0 deletions _plugins/gist.rb
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,35 @@
module Jekyll

#
# Render gist
#
# Usage:
#
# {% gist gist_id %} =>
#
# Raises: Liquid::SyntaxError
class Gist < ::Liquid::Tag

Syntax = /(#{::Liquid::Expression}+)?/

def initialize(tag_name, markup, tokens)
if markup =~ Syntax
@gist_id = $1
@options = {}
markup.scan(::Liquid::TagAttributes) { |key, value| @options[key.to_sym] = value.gsub(/"|'/, '') }
else
raise ::Liquid::SyntaxError.new("Syntax Error in 'link' - Valid syntax: gist <id> <options>")
end

super
end

def render(context)
%{<script src="http://gist.github.com/#{@gist_id}.js"></script>}
end
end

end


Liquid::Template.register_tag('gist', Jekyll::Gist)
36 changes: 36 additions & 0 deletions articles/community.md
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: "Project Name: Community"
layout: article
---

## Mailing List

[Project has a mailing list](). Feel free to join it and ask any questions you may have.


## News & Announcements on Twitter

To subscribe for announcements of releases, important changes and so on, please follow [@ClojureWerkz](https://twitter.com/#!/clojurewerkz) on Twitter.


## What is ClojureWerkz?

Project Name is part of the group of libraries known as ClojureWerkz, together with
[Monger](http://clojuremongodb.info), [Welle](http://clojureriak.info), [Quartzite](http://clojurequartz.info), [Neocons](https://github.com/michaelklishin/neocons), [Langohr](https://github.com/michaelklishin/langohr), [Elastisch](https://github.com/clojurewerkz/elastisch) and several others.


## Reporting Issues

If you find a bug, poor default, missing feature or find any part of the API inconvenient, please [file an issue](github.com/.../issues) on Github.
If possible, try to explain what behavior you expected and why. Bonus points for contributing failing test cases.


## Contributing

Project Name uses [Leiningen 2](https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md). Make sure you have it installed and then run tests against
supported Clojure versions using

lein2 all test

Then create a branch and make your changes on it. Once you are done with your changes and all tests pass, submit a pull request
on Github.
Loading

0 comments on commit 8990573

Please sign in to comment.