Skip to content

Commit

Permalink
get this guides party started
Browse files Browse the repository at this point in the history
  • Loading branch information
qrush committed Apr 27, 2011
0 parents commit 160b53c
Show file tree
Hide file tree
Showing 17 changed files with 1,674 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
_site
*.swp
*.DS_Store
.sass-cache/
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
guides.rubygems.org
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Make sure you have jekyll installed, and run:

$ jekyll --server

The pages will be available at http://localhost:4000/
5 changes: 5 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
auto: true
permalink: "pretty"
exclude:
- README.md
- CNAME
60 changes: 60 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{{ page.title }} - RubyGems Guides</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<meta http-equiv="Description" name="Description" content="Tutorials, guides, FAQs for RubyGems package management" />
<meta http-equiv="Keywords" name="Keywords" content="rubygems, gems, programming, ruby, packages" />
<link href="/stylesheets/screen.css" rel="stylesheet" type="text/css" />
<link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
<!--[if !IE]>-->
<meta name="viewport" content="width=device-width">
<script type="text/javascript">
window.scrollTo(0, 1);
</script>
<!--<![endif]-->
</head>
<body class="default">
<section id="head-wrapper">
<section id="small-top">
<header>
<a href="/">
<h1>RubyGems Guides</h1>
</a>
</header>
</section>
</section>

<section id="container">
<div class="nav">
<span class="previous"><a href="{{ page.previous }}" class="left">&larr; Previous</a></span>
<span class="next"><a href="{{ page.next }}" class="right">Next &rarr;</a></span>
</div>
<section id="content">
{{ content }}
</section>
<div class="nav">
<span class="previous"><a href="{{ page.previous }}" class="left">&larr; Previous</a></span>
<span class="next"><a href="{{ page.next }}" class="right">Next &rarr;</a></span>
</div>
<footer>
<p>blah blah footer</p>
</footer>
</section>

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-10315684-2']);
_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>
</body>
</html>
44 changes: 44 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>RubyGems Guides</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link href="/stylesheets/screen.css" rel="stylesheet" type="text/css" />
<link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
<meta http-equiv="Description" name="Description" content="Tutorials, guides, FAQs for RubyGems package management" />
<meta http-equiv="Keywords" name="Keywords" content="rubygems, gems, programming, ruby, packages" />
</head>
<body class="home">
<section id="head-wrapper">
<section id="homepage-top">
<header>
<h1>RubyGems Guides</h1>

<section id="the-sell">
<h2>RubyGems Guides</h2>
<p class="tagline">Learn how RubyGems works, and how to make your own.</p>
</section>
</header>

<section id="chapters">
{{ content }}
</section>
</section>
</section>

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-10315684-2']);
_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>
</body>
</html>
Binary file added favicon.ico
Binary file not shown.
Binary file added images/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logo-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
layout: home
---

[What is a gem?](/what-is-a-gem)
---------------

Unpack the mystery behind what's in a RubyGem.

[Make your own gem](/)
---------------

From start to finish, what you'll need to do.

[Patterns](/)
---------------

Common gem packaging patterns and recommendations for building yours.

[Command Reference](/)
---------------

In depth coverage of each `gem` command.

[Specification Reference](/)
---------------

Learn about the data in each gem package and how you can configure it.

[RubyGems.org API](/)
---------------

Interact with publicly available gems over HTTP.

[Run your own gem server](/)
---------------

Need to serve gems locally or for your organization? Go here.

[Frequently Asked Questions](/)
---------------

More of the "why" and "wtf" than "how".
Loading

0 comments on commit 160b53c

Please sign in to comment.