forked from datastax/ruby-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.html
154 lines (146 loc) · 6.76 KB
/
default.html
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Datastax Cassandra Ruby Driver Documentation">
<meta name="author" content="">
<title>Datastax Cassandra Ruby Driver<%= " - #{@item[:title]}" if @item[:title] %></title>
<link rel="icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/favicon.png">
<link href="/css/style.css" rel="stylesheet">
<link href="/css/pygments.css" rel="stylesheet">
<link href="/css/hotkeys.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body data-spy="scroll" data-target=".toc" data-offset="0" ng-app="docs">
<header class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Cassandra Ruby Driver</a>
</div>
<div class="collapse navbar-collapse" ng-controller="search">
<ul class="nav navbar-nav">
<li<% if @item == @items.at('/') %> class="active"<% end %>><a href="/">Introduction</a></li>
<li<% if @item == @items.at('/features/') || child_of?(@item, @items.at('/features/')) %> class="active"<% end %>><a href="/features/">Features</a></li>
<li<% if @item == @items.at('/api/cassandra/') || child_of?(@item, @items.at('/api/cassandra/')) %> class="active"<% end %>><a href="/api/">API docs</a></li>
</ul>
<form class="navbar-form form-search navbar-right dropdown visible-lg-block" ng-class="{open: hasResults}" role="search" ng-submit="submit()">
<div class="form-group has-feedback">
<input type="search" class="form-control input-sm mousetrap" placeholder="Search..." ng-model="q" ng-change="search()" data-toggle="dropdown" data-hotkey="{down: moveDown, up: moveUp, esc: reset}" data-search>
<button type="button" class="close form-control-feedback input-sm hidden" ng-click="reset()" ng-class="{hidden: !hasResults}"><span aria-hidden="true">×</span><span class="sr-only">Reset</span></button>
</div>
<ul class="dropdown-menu" role="menu">
<li ng-repeat="result in results" ng-class="{'bg-warning': $index == current}"><a ng-href="{{basePath}}{{result.path}}"><span ng-bind-html="summary(result)"></span></a></li>
</ul>
</form>
</div>
</div>
</header>
<div class="container" id="content">
<div class="row">
<div class="col-md-9 content">
<nav class="crumbs">
<ol class="breadcrumb">
<% breadcrumbs_trail.each do |item| %>
<% if item %>
<% if item == @item %>
<li class="active"><%= @item[:title] %></li>
<% else %>
<li><a href="<%= item.path %>"><%= item[:title] %></a></li>
<% end %>
<% end %>
<% end %>
</ol>
</nav>
<%= yield %>
</div>
<nav class="col-md-3 side-nav">
<ol class="nav nav-pills nav-stacked toc" data-spy="affix" data-offset-top="60" data-offset-bottom="25">
<% if @item == @items.at('/') %>
{{TOC}}
<% elsif @item == @items.at('/features/') || child_of?(@item, @items.at('/features/')) %>
<% @items.at('/features/')[:nav].each do |section| %>
<% if @item == section || @item.parent == section %>
<li class="active">
<a href="<%= section.path %>"><%= section[:title] %></a>
<ul class="nav nav-pills nav-stacked">
<% section[:nav].each do |child| %>
<% if @item == child %>
<li class="active">
<a href="<%= child.path %>"><%= child[:title] %></a>
<ul class="nav nav-pills nav-stacked">{{TOC}}</ul>
</li>
<% else %>
<li><a href="<%= child.path %>"><%= child[:title] %></a></li>
<% end %>
<% end %>
</ul>
</li>
<% else %>
<li><a href="<%= section.path %>"><%= section[:title] %></a></li>
<% end %>
<% end %>
<% elsif @item == @items.at('/api/cassandra/') || child_of?(@item, @items.at('/api/cassandra/')) %>
<%= render 'side-nav', :items => @items.at('/api/cassandra/')[:nav] %>
<% end %>
</ol>
</nav>
</div>
</div>
<footer class="container text-muted">
<ul class="list-inline">
<li>v<%= Cassandra::VERSION %></li>
<li>·</li>
<li>
<a href="https://github.com/datastax/ruby-driver">Code</a>
</li>
<li>·</li>
<li>
<a href="http://datastax.github.io/ruby-driver/">Docs</a>
</li>
<li>·</li>
<li>
<a href="https://datastax-oss.atlassian.net/browse/RUBY">Issues</a>
</li>
<li>·</li>
<li>
<a href="https://groups.google.com/a/lists.datastax.com/forum/#!forum/ruby-driver-user">Mailing List</a>
</li>
<li>·</li>
<li>
<a href="irc://irc.freenode.net/datastax-drivers">IRC Channel</a>
</li>
<li>·</li>
<li>
<a href="https://github.com/datastax/ruby-driver/releases">Releases</a>
</li>
</ul>
</footer>
<script src="//code.jquery.com/jquery-2.1.0.min.js"></script>
<script src="/js/bootstrap.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
<script src="/js/mousetrap.js"></script>
<script src="/js/hotkeys.js"></script>
<script src="/js/ZeroClipboard.js"></script>
<script src="/js/app.js"></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-54260831-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>