Skip to content

Commit 8f6eb70

Browse files
committed
More stuff
1 parent c9fca7c commit 8f6eb70

File tree

3 files changed

+79
-13
lines changed

3 files changed

+79
-13
lines changed

index.html

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,50 @@
1616
<body>
1717
<div id="wrapper">
1818
<section id="api" class="full block">
19-
<!--
20-
<input tabindex="1" placeholder="Search API" type="search"><select>
21-
<option disabled>Select Version</option>
22-
<option selected value="wip">WIP</option>
23-
</select>
24-
-->
25-
2619
<div>
2720
<ul id="list-api">
28-
<a href="/"><li class="brand">NodeGit</li></a>
21+
<a href="#"><li class="brand">NodeGit</li></a>
22+
<li><input tabindex="1" placeholder="Search API" type="search"></li>
2923
</ul>
3024
<div class="api-content">
25+
<div class="about">
26+
<h3>About NodeGit</h3>
27+
<p>Asynchronous native Node bindings to the libgit2 project.</p>
28+
<span class="version">Version 0.1.0</span> |
29+
<a href="https://github.com/nodegit/nodegit">GitHub repository</a>
30+
<p>
31+
<a href="https://travis-ci.org/nodegit/nodegit"><img src="https://camo.githubusercontent.com/be9d877bd751211f37a89a3609758d5c44a7505e/68747470733a2f2f7472617669732d63692e6f72672f746272616e79656e2f6e6f64656769742e706e67" alt="Build
32+
Status" data-canonical-src="https://travis-ci.org/tbranyen/nodegit.png" style="max-width:100%;"></a>
33+
<a href="https://ci.appveyor.com/project/TimBranyen/nodegit"><img src="https://ci.appveyor.com/api/projects/status/e5a5q75l9yfhnfv2/branch/master" alt="Build Status: Windows" height="18" /></a>
34+
35+
<h4>History:</h4>
36+
<div class="wrap-content">
37+
<p>
38+
Originally started in 2011 as a project by TJ Fontaine, current
39+
Node lead, as an FFI-binding to libgit2. Tim Branyen then
40+
forked the project and migrated it to use native wrapper
41+
bindings, which would increase performance.
42+
</p>
43+
<p>
44+
NodeGit was then led by Michael Robinson, who stabilized much
45+
of the core binding logic for the limited API exposed. Nick
46+
Kallen came on much later and automated a majority of the
47+
native code.
48+
</p>
49+
<p>
50+
After benefiting from so many contributors, NodeGit is maturing
51+
and is slowly becoming a full suite of automated 1:1 bindings
52+
to libgit2.
53+
</p>
54+
<h3>Install</h3>
55+
<pre>
56+
<code>
57+
npm install nodegit
58+
</code>
59+
</pre>
60+
</div>
61+
<h3>API Documentation</h3>
62+
</div>
3163
<script type="inner-content">
3264
<div id="{{jsClassName}}" class="inner-content">
3365
<ul class="api-contents">

styles/api.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
position: fixed;
88
left: 0;
99
top: 0;
10+
font-size: 13px;
11+
/* Cover #content */
12+
z-index: 100;
1013
}
1114

1215
#list-api a {
@@ -46,14 +49,15 @@
4649
.api-content {
4750
color: #333;
4851
float: left;
49-
width: 50%;
52+
width: calc(100% - 225px);
5053
min-height: 100%;
5154
position: relative;
55+
overflow-x: hidden;
5256
left: 225px;
5357
}
5458

5559
.api-content .inner-content {
56-
width: calc(100% - 17px);
60+
width: 50%;
5761
height: 100%;
5862
margin: 17px;
5963
margin-right: 0px;

styles/common.css

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ select {
5555
}
5656

5757
input[type=search] {
58-
width: calc(100% - 142px);
58+
width: 100%;
5959
color: #FFF;
6060
outline: none;
6161
border: none;
6262
padding: 10px;
63-
padding-left: 10px;
63+
padding-left: 20px;
6464
background: #383838;
65-
font-size: 1.2em;
65+
font-size: 13px;
6666
}
6767

6868
.brand {
@@ -152,3 +152,33 @@ footer a {
152152
.center {
153153
text-align: center;
154154
}
155+
156+
.about {
157+
background: #303030;
158+
padding: 20px;
159+
color: #FFF;
160+
margin-left: 15px;
161+
color: #FFF;
162+
padding-bottom: 0;
163+
}
164+
165+
.about p {
166+
color: #BBB;
167+
}
168+
169+
.about a {
170+
color: #8A8A8A;
171+
}
172+
173+
.about h4 {
174+
color: #CCC;
175+
}
176+
177+
.about h3:last-child {
178+
padding-bottom: 20px;
179+
margin-bottom: 0;
180+
}
181+
182+
.wrap-content {
183+
width: 50%;
184+
}

0 commit comments

Comments
 (0)