Skip to content

Commit

Permalink
moving repo from cpg/amahi-docs to amahi/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cpg committed Nov 25, 2012
1 parent b95538a commit 1f1f22a
Show file tree
Hide file tree
Showing 72 changed files with 2,402 additions and 3 deletions.
65 changes: 65 additions & 0 deletions 404.html
@@ -0,0 +1,65 @@
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Amahi Installation - Amahi Home Server Docs</title>
<link rel="icon" type="image/png" href="static/images/favicon.png" />
<meta name="description" content="Amahi Installation Documentation" />
<link rel="stylesheet" href="static/css/bootstrap.css" type="text/css" media="screen" />
<link rel="stylesheet" href="static/css/syntax.css" type="text/css" media="screen" />
<link rel="stylesheet" href="static/css/amahi.base.css" type="text/css" media="screen" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXXX-1']);
_gaq.push(['_setDomainName', 'install.amahi.org']);
_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="container">
<div class="row Header">
<div class="span3 Module logo">
<h1><a href="/">Amahi</a></h1>
</div>
<div class="span9">
<div class="Module navigation">
<ul>
<li><a href="u12/index.html">get started</a></li>
<li><a href="http://www.amahi.org/">Amahi</a></li>
<li><a href="http://wiki.amahi.org">Wiki</a></li>
<li><a href="http://www.amahi.org/users">control panel</a></li>
</ul>
</div>
</div>
</div>

<div class="row">
<div class="span12">

<div class="span9">
<h1 id='requirements'>404 - Not Found!</h1>

<p>The page yuou we were looking for is not found. Try again!</p>

<ul class="pager">


</ul>
</div>
</div>
</div>

<div class="row Footer">
<div class="span12">
Copyright &copy; 2009-2012. <a href="http://www.amahi.org/">Amahi</a> | <a href="http://wiki.amahi.org/">Wiki</a> | <a href="http://blog.amahi.org/">Blog</a> | <a href="http://forums.amahi.org/">Forums</a> | <a href="http://bugs.amahi.org/">Bug Tracker</a>
</div>
</div>
</div>
</body>
</html>
1 change: 1 addition & 0 deletions CNAME
@@ -0,0 +1 @@
docs.amahi.org
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source "http://rubygems.org"

gem "jekyll"
gem "rake"
30 changes: 30 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,30 @@
GEM
remote: http://rubygems.org/
specs:
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.1)
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.7)
liquid (2.3.0)
maruku (0.6.0)
syntax (>= 1.0.0)
posix-spawn (0.3.6)
rake (0.9.2.2)
syntax (1.0.0)

PLATFORMS
ruby

DEPENDENCIES
jekyll
rake
7 changes: 7 additions & 0 deletions Makefile
@@ -0,0 +1,7 @@

all:
jekyll --pygments --safe
@echo "Now: open _site/index.html"

publish: all
git checkout gh-pages && git pull && git merge master && git push && git checkout master
101 changes: 101 additions & 0 deletions NOTES.md
@@ -0,0 +1,101 @@

# General rules
* make changes
* make and open _site/index.html to see how the site looks
* Commit to master first
* make publish to push it out to gh-pages after it's committed to master

# Reference links:

* Github pages: https://help.github.com/categories/20/articles
* Jekyll: https://github.com/mojombo/jekyll
* Markdown Syntax: http://daringfireball.net/projects/markdown/syntax

# CSS Styling

For CSS styling, we use Twitter Bootstrap http://twitter.github.com/bootstrap/components.html

# Markup

For markup, we use Markdown. Here is a markdown cheat sheet.

Format Text

Headers

# This is an <h1> tag
## This is an <h2> tag
###### This is an <h6> tag

Text styles

*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__

*You **can** combine them*

Lists

Unordered

* Item 1
* Item 2
* Item 2a
* Item 2b

Ordered

1. Item 1
2. Item 2
3. Item 3
* Item 3a
* Item 3b

Miscellaneous

Images

![GitHub Logo](/images/logo.png)
Format: ![Alt Text](url)

Links

http://github.com - automatic!
[GitHub](http://github.com)

Blockquotes

As Kanye West said:

> We're living the future so
> the present is our past.
Code Examples in Markdown

Syntax highlighting with GFM

```javascript
function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
}
}
```

Or, indent your code 4 spaces

Here is a Python code example
without syntax highlighting:

def foo:
if not bar:
return true

Inline code for comments

I think you should use an
`<addr>` element here instead.


10 changes: 7 additions & 3 deletions README.md
@@ -1,4 +1,8 @@
docs
====
Amahi Docs
==========

Amahi Docs site
This repo contains the details of the [Amahi docs web site](http://docs.amahi.org/).

Please submit changes as pull requests. See the [Notes](NOTES.md) file for details on how these docs work.

[![Build Status](https://secure.travis-ci.org/cpg/docs.png)](http://travis-ci.org/cpg/amahi-docs)
11 changes: 11 additions & 0 deletions Rakefile
@@ -0,0 +1,11 @@
#!/usr/bin/env rake
require 'bundler'

desc "install the bundle"
task :bundle do
sh('bundle install')
sh('jekyll --pygments --safe')
end

task(:default).clear
task :default => :bundle
2 changes: 2 additions & 0 deletions _config.yml
@@ -0,0 +1,2 @@
pygments: true
exclude: Gemfile
38 changes: 38 additions & 0 deletions _includes/footer.html
@@ -0,0 +1,38 @@
</div>

<div class="row-fluid Footer">

<div class="span3 first">
Want to improve <a href="https://github.com/cpg/amahi-docs" target="_blank">these docs</a>?
</div>

<div class="span6 hidden-phone">
<ul class="nav nav-pills">
<li><a href="http://www.amahi.org/">Amahi</a></li>
<li><a href="http://wiki.amahi.org/">Wiki</a></li>
<li><a href="http://blog.amahi.org/">Blog</a></li>
<li><a href="http://forums.amahi.org/">Forums</a></li>
<li><a href="http://bugs.amahi.org/">Bug Tracker</a></li>
</ul>
</div>

<div class="span6 visible-phone">
<ul class="nav nav-pills nav-stacked ">
<li><a href="http://www.amahi.org/">Amahi</a></li>
<li><a href="http://wiki.amahi.org/">Wiki</a></li>
<li><a href="http://blog.amahi.org/">Blog</a></li>
<li><a href="http://forums.amahi.org/">Forums</a></li>
<li><a href="http://bugs.amahi.org/">Bug Tracker</a></li>
</ul>
</div>


<div class="span3 last">
Copyright &copy; 2009-2012
</div>


</div><!--/row-fluid.footer-->
</div><!--/container.inner-->
</body>
</html>
50 changes: 50 additions & 0 deletions _includes/header.html
@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Amahi Installation - {{ page.title }}</title>
<link rel="icon" type="image/png" href="static/images/favicon.png" />
<meta name="description" content="Amahi Installation Docs" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="static/css/bootstrap.css" type="text/css" media="screen" />
<link rel="stylesheet" href="static/css/syntax.css" type="text/css" media="screen" />
<link rel="stylesheet" href="static/css/amahi-docs.css" type="text/css" media="screen" />
<link rel="stylesheet" href="static/css/bootstrap-responsive.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<link rel="stylesheet" href="static/css/jquery.fancybox.css" type="text/css" media="screen" />
<link rel="stylesheet" href="static/css/style.css" type="text/css" />
<script type="text/javascript" src="static/js/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32909879-1']);
_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>
<script type="text/javascript">
$(document).ready(function() {
$(".fancybox").attr('rel', 'gallery').fancybox({ padding : 5 });
});
</script>
<div class="container inner">
<div class="row-fluid Header{% if page.layout != 'homepage' %} with-border{% endif %}">
<div class="span6 Module logo">
<h1><a href="/"><img src="static/images/amahi-icon-60px.png"/> Amahi Docs</a></h1>
</div>
<div class="span6">
<div class="Module navigation">
<ul>
<li><a href="http://www.amahi.org/">amahi</a></li>
<li><a href="support.html">support</a></li>
<li><a href="https://www.amahi.org/users">control panel</a></li>
</ul>
</div>
</div>
</div>

3 changes: 3 additions & 0 deletions _layouts/default.html
@@ -0,0 +1,3 @@
{% include header.html %}
{{ content }}
{% include footer.html %}
45 changes: 45 additions & 0 deletions _layouts/homepage.html
@@ -0,0 +1,45 @@
{% include header.html %}
<div class="row-fluid">
<div class="span3 Module sidebar">
<div class="well" style="padding: 8px 0px;">
<ul class="nav nav-list">
<li{% if page.current == 'index' %} class="active"{% endif %}>
<a href="index.html">Overview</a>
</li>
<li{% if page.current == 'Requirements' %} class="active"{% endif %}>
<a href="requirements.html">Requirements</a>
</li>
<li{% if page.current == 'releases' %} class="active"{% endif %}>
<a href="releases.html">Releases</a>
<ul>
<li><a href="ubuntu-12.html">Ubuntu 12.04</a></li>
<li><a href="fedora-14.html">Fedora 14</a></li>
</ul>
</li>
<li{% if page.current == 'troubleshooting' %} class="active"{% endif %}>
<a href="troubleshooting.html">Troubleshooting</a>
</li>
<li{% if page.current == 'support' %} class="active"{% endif %}>
<a href="support.html">Support</a>
</li>
</ul>
</div>
</div>

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

<ul class="pager">
{% if page.previous_url and page.previous %}
<li class="previous">
<a href="{{ page.previous_url }}">&larr; {{ page.previous }}</a>
</li>
{% endif %}
{% if page.next_url and page.next %}
<li class="next">
<a href="{{ page.next_url }}">{{ page.next }} &rarr;</a>
</li>
{% endif %}
</ul>
</div>
{% include footer.html %}

0 comments on commit 1f1f22a

Please sign in to comment.