/
layout.haml
108 lines (106 loc) · 4.36 KB
/
layout.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
!!!
- v = current_page.url.scan(/v\d\.\d/).first || 'v1.3'
%html
%head
%title Bundler: The best way to manage a Ruby application's gems
%meta{'http-equiv' => 'Content-Type', 'content' => 'text/html; charset=UTF-8'}
%meta{'name' => 'globalsign-domain-verification', 'content' => '276VSYOko8B8vIu1i8i5qbj7_ql5PXo0dU69XQy-SL'}
%link{:rel => 'shortcut icon', :href => '/images/favicon.png', :type => 'image/png'}
= stylesheet_link_tag 'application', 'sunburst'
%body
#body
#header
= link_to '/', :class => 'image' do
= image_tag 'gembundler.png', :width => 725, :alt => "The best way to manage your application's dependencies"
#container
#contents
= yield
#sidebar
%h2 Would you like to
%ul
%li= link_to 'Get started', '/#getting-started'
%li= link_to 'Report a bug', 'https://github.com/bundler/bundler/blob/master/ISSUES.md'
%li= link_to "See what's new", '/v1.3/whats_new.html'
%li= link_to 'Read documentation', '/v1.3/man/bundle.1.html'
%li= link_to 'Discuss and Contribute', '/#get-involved'
%h2 Bundler Commands
%ul
%li= link_to 'bundle install', '/v1.3/bundle_install.html'
%li= link_to 'bundle update', '/v1.3/bundle_update.html'
.buttons
= link_to 'View all commands', '/v1.3/commands.html'
%h2 Usage
%ul
%li= link_to 'Gemfile', '/v1.3/gemfile.html'
%li= link_to 'Gems from git', '/v1.3/git.html'
%li= link_to 'Grouping', '/v1.3/groups.html'
%li= link_to 'Bundler.setup', '/v1.3/bundler_setup.html'
%li= link_to 'Deploying', '/v1.3/deploying.html'
%h2 Use Bundler with
%ul
%li= link_to 'Rails 3', '/v1.3/rails3.html'
%li= link_to 'Rails 2.3', '/v1.3/rails23.html'
%li= link_to 'Sinatra', '/v1.3/sinatra.html'
%li= link_to 'Rubygems', '/v1.3/rubygems.html'
%li= link_to 'RubyMotion', '/v1.3/rubymotion.html'
#footer
= image_tag 'emocow.png'
= image_tag 'panda.jpg'
.spacer
#navigation
%p
%b commands
= link_to 'install', "/#{v}/man/bundle-install.1.html"
\/
= link_to 'update', "/#{v}/man/bundle-update.1.html"
\/
= link_to 'exec', "/#{v}/man/bundle-exec.1.html"
\/
= link_to 'config', "/#{v}/man/bundle-config.1.html"
- if v == 'v0.9'
\/
= link_to 'lock', "/#{v}/bundle_lock.html"
\/
= link_to 'package', "/#{v}/man/bundle-package.1.html"
%p
%b usage
= link_to 'gemfile', "/#{v}/gemfile.html"
\/
= link_to 'git', "/#{v}/git.html"
\/
= link_to 'groups', "/#{v}/groups.html"
\/
= link_to 'setup', "/#{v}/bundler_setup.html"
\/
= link_to 'deploying', "/#{v}/deploying.html"
%p
%b frameworks
= link_to 'ruby', "/#{v}/bundler_setup.html"
\/
= link_to 'rubygems', "/#{v}/rubygems.html"
\/
= link_to 'rubymotion', "/#{v}/rubymotion.html"
\/
= link_to 'sinatra', "/#{v}/sinatra.html"
\/
= link_to 'rails 3', "/#{v}/rails3.html"
.spacer
= image_tag 'bundler-small.png'
#credits
%p
== Many thanks to Bundler's #{link_to 'contributors', '/contributors.html' }
== and #{link_to 'sponsors', '/sponsors.html' }
%a#github{ :href => 'http://github.com/bundler/bundler/' }
%img{ :src => 'http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png', :alt => 'Fork me on GitHub' }
#prod-versions
Docs:
- %w(v0.9 v1.0 v1.1 v1.2).each do |lv|
= link_to(lv, "/#{lv}/index.html", :class => ('current' if v == lv))
= link_to("v1.3", "/", :class => ('current' if v == 'v1.3'))
:javascript
(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-39559982-1', 'bundler.io');
ga('send', 'pageview');