Wagon: Deploying site to repository

This commit is contained in:
Kohsuke Kawaguchi
2011-06-27 18:38:58 -07:00
parent abbd0348fe
commit 5c6267b376
11 changed files with 405 additions and 0 deletions

65
css/1024px.css Normal file
View File

@@ -0,0 +1,65 @@
/*
Original design: 1024px (v3.5 - Jan 25, 2009) - A free xhtml/css website template by Andreas Viklund.
For more information, see http://andreasviklund.com/templates/1024px/
*/
/* General tags */
body {background:#fff; color:#404040; font-family:Verdana,Tahoma,Arial,sans-serif; line-height:1.3em; margin:0 auto; padding:0;}
a {color:#4088b8; font-weight:700; text-decoration:none;}
a:hover {text-decoration:underline;}
a img {border:0;}
p {margin:0 0 18px 10px;}
ul,ol,dl {font-size:0.9em; margin:2px 0 16px 35px;}
ul ul,ol ol {margin:4px 0 4px 35px;}
blockquote {border:1px solid #dadada; font-size:0.9em; margin:20px 10px; padding:8px;}
blockquote p {margin:0;}
/* Headers */
h1 {color:#4088b8; font-size:2.5em; letter-spacing:-3px; margin:0 0 20px 25px; padding-top:0.5em;}
h1 a {color:#4088b8; text-transform:none;}
h2 {border-bottom:4px solid #dadada; color:#4088b8; font-size:1.2em; letter-spacing:-1px; margin:0 0 10px; padding:0 2px 2px 5px;}
h3 {border-bottom:1px solid #dadada; color:#4088b8; font-size:1.1em; font-weight:700; margin:10px 0 8px; padding:1px 2px 2px 3px;}
/* Main wrap */
#wrap {color:#404040; padding: 0 150px; background:url(../images/background.r.gif) repeat-y top right; }
#wrap2 { background:url(../images/background.l.gif) repeat-y top left; }
#header {margin:0;}
#toplinks {
font-size:0.9em; padding:5px 2px 2px 3px; text-align:right;
position:absolute; left:0px; top:-500px;
}
#toplinks a {color:gray;}
#slogan {color:gray; font-size:1.5em; font-weight:700; letter-spacing:-1px; line-height:1.2em; margin:15px 0 20px 35px;}
/* Sidebar and menu */
#sidebar {float:left; line-height:1.4em; margin:0 0 5px; padding:1px 0 0; width:16em;}
#sidebar ul {font-size:0.9em; list-style:none; margin:0; padding:0 0 15px 10px;}
#sidebar li {list-style:none; margin:0 0 4px; }
#sidebar li a {font-weight:700; padding:2px;}
#sidebar ul ul {line-height:1.2em; margin:4px 0 3px 0px; padding:0;}
#sidebar ul ul li a {font-weight:400;}
#sidebar h2 {margin:3px 0 8px;}
/* Main content */
#content { line-height:1.5em; margin:0; padding:0; padding-left:18em; text-align:left; }
#contentalt {float:left; line-height:1.5em; margin-right:20px; padding:0; text-align:left; width:750px;}
#content h3,#contentalt h3 {margin:10px 0 8px;}
/* Footer */
#footer {border-top:4px solid #dadada; clear:both; color:gray; font-size:0.9em; line-height:1.6em; margin:0 auto; padding:8px 0; text-align:right;}
#footer p {margin:0; padding:0;}
#footer a {color:#808080;}
/* Additional classes */
.box {background:#4088b8; border:1px solid #c8c8c8; color:#fff; font-size:0.9em; line-height:1.4em; padding:10px 10px 10px 13px;}
.box a {color:#f0f0f0;}
.left {float:left; margin:0 15px 4px 0;}
.right {float:right; margin:0 0 4px 15px;}
.readmore {margin:-10px 10px 12px 0; text-align:right;}
.timestamp {font-size:1.2em; margin:-5px 0 15px 10px;}
.timestamp a {font-weight:normal;}
.blue {color:#4088b8;}
.clear {clear:both;}
.fade {color:#c8c8c8;}
.gray {color:gray;}
.photo {background:#fff; border:1px solid #bababa; margin:6px 18px 2px 5px; padding:2px;}

103
css/maven-base.css Normal file
View File

@@ -0,0 +1,103 @@
acronym {
cursor: help;
border-bottom: 1px dotted #feb;
}
table.bodyTable th, table.bodyTable td {
padding: 2px 4px 2px 4px;
vertical-align: top;
}
div.clear{
clear:both;
visibility: hidden;
}
div.clear hr{
display: none;
}
#bannerLeft img, #bannerRight img {
margin: 0px;
}
.xleft, #bannerLeft img {
float:left;
text-shadow: #7CFC00;
}
.xright, #bannerRight img {
float:right;
text-shadow: #7CFC00;
}
#leftColumn {
display: none;
}
#legend {
padding: 8px 0 8px 0;
}
#navcolumn h5 {
margin: 0;
padding: 0;
font-size: small;
}
/*
#navcolumn ul {
margin: 0;
padding: 0;
font-size: small;
}
*/
#navcolumn li {
list-style-type: none;
background-image: none;
background-repeat: no-repeat;
background-position: 0 0.4em;
padding-left: 16px;
list-style-position: outside;
line-height: 1.2em;
}
#navcolumn li.expanded {
background-image: url(../images/expanded.gif);
}
#navcolumn li.collapsed {
background-image: url(../images/collapsed.gif);
}
#navcolumn img {
margin-top: 10px;
margin-bottom: 3px;
}
#poweredBy img {
display:block;
margin: 20px 0 20px 17px;
border: 1px solid black;
width: 90px;
height: 30px;
}
#search img {
margin: 0px;
display: block;
}
#search #q, #search #btnG {
border: 1px solid #999;
margin-bottom:10px;
}
#search form {
margin: 0px;
}
#lastPublished {
font-size: x-small;
}
.navSection {
margin-bottom: 2px;
padding: 8px;
}
.navSectionHead {
font-weight: bold;
font-size: x-small;
}
.section {
padding: 4px;
}
.source {
padding: 12px;
margin: 1em 7px 1em 7px;
}
.source pre {
margin: 0px;
padding: 0px;
}

121
css/maven-theme.css Normal file
View File

@@ -0,0 +1,121 @@
code{
font-family: Courier, monospace;
}
a {
text-decoration: none;
}
a:link {
color:#36a;
}
a:visited {
color:#47a;
}
a:active, a:hover {
color:#69c;
}
#legend li.externalLink {
background: url(../images/external.png) left top no-repeat;
padding-left: 18px;
}
a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
background: url(../images/external.png) right center no-repeat;
padding-right: 18px;
}
#legend li.newWindow {
background: url(../images/newwindow.png) left top no-repeat;
padding-left: 18px;
}
a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
background: url(../images/newwindow.png) right center no-repeat;
padding-right: 18px;
}
#bodycol h2 {
padding: 4px 4px 4px 6px;
border: 1px solid #999;
color: #900;
background-color: #ddd;
font-weight:900;
font-size: x-large;
}
#bodycol h3 {
padding: 4px 4px 4px 6px;
border: 1px solid #aaa;
color: #900;
background-color: #eee;
font-weight: normal;
font-size: large;
}
#bodycol h4 {
padding: 4px 4px 4px 6px;
border: 1px solid #bbb;
color: #900;
background-color: #fff;
font-weight: normal;
font-size: large;
}
#bodycol h5 {
padding: 4px 4px 4px 6px;
color: #900;
font-size: normal;
}
#bodycol p {
line-height: 1.3em;
font-size: small;
font-family: inherit; /* cancel the java.net override */
}
#navcolumn h5 {
font-size: smaller;
border-bottom: 1px solid #aaaaaa;
padding-top: 2px;
color: #000;
}
#bodycol table.bodyTable th {
color: white;
background-color: #bbb;
text-align: left;
font-weight: bold;
}
#bodycol table.bodyTable th, table.bodyTable td {
font-size: 1em;
}
#bodycol table.bodyTable tr.a {
background-color: #ddd;
}
#bodycol table.bodyTable tr.b {
background-color: #eee;
}
.source {
border: 1px solid #999;
}
#bodycol dl {
padding: 4px 4px 4px 6px;
border: 1px solid #aaa;
background-color: #ffc;
}
#bodycol dt {
color: #900;
}
#organizationLogo img, #projectLogo img, #projectLogo span{
margin: 8px;
}
.errormark, .warningmark, .donemark, .infomark {
background: url(../images/icon_error_sml.gif) no-repeat;
}
.warningmark {
background-image: url(../images/icon_warning_sml.gif);
}
.donemark {
background-image: url(../images/icon_success_sml.gif);
}
.infomark {
background-image: url(../images/icon_info_sml.gif);
}

1
css/site.css Normal file
View File

@@ -0,0 +1 @@
/* You can override this file with your own styles */

BIN
images/background.l.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

BIN
images/background.r.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

BIN
images/collapsed.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 B

BIN
images/expanded.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 B

BIN
images/external.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

BIN
images/newwindow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

115
index.html Normal file
View File

@@ -0,0 +1,115 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>GitHub API for Java - </title>
<style type="text/css" media="all">
@import url("./css/maven-base.css");
@import url("./css/maven-theme.css");
@import url("./css/1024px.css");
@import url("./css/site.css");
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div id="wrap2"><div id="wrap">
<div id="header">
<p id="toplinks">Skip to: <a href="#content">Content</a> | <a href="#sidebar">Navigation</a> | <a href="#footer">Footer</a></p>
<h1 id="bannerLeft">
<a href="">
GitHub API for Java
</a>
</h1>
<p id="slogan">GitHub API for Java</p>
</div>
<div id="breadcrumbs">
<div class="xright"> </div>
<div class="clear">
<hr/>
</div>
</div>
<div id="sidebar">
<div id="navcolumn">
<h2>
Git Hub API for Java
</h2><ul>
<li class="none">
<strong>Introduction</strong>
</li>
<li class="none">
<a href="http://mvnrepository.com/artifact/org.kohsuke/github-api">Download</a>
</li>
<li class="none">
<a href="https://github.com/kohsuke/github-api">Source code</a>
</li>
</ul>
<h2>
References
</h2><ul>
<li class="none">
<a href="apidocs/index.html">Javadoc</a>
</li>
</ul>
</div>
</div>
<div id="content">
<div id="contentBox">
<div class="section"><h2>What is this?</h2>
<p>This library defines an object oriented representation of the GitHub API. The library doesn't yet cover the entirety of the GitHub API, but it's implemented with the right abstractions and libraries to make it very easy to improve the coverage.</p>
</div>
<div class="section"><h2>Sample Usage</h2>
<div class="source"><pre>GitHub github = GitHub.connect();
GHRepository repo = github.createRepository(
&quot;new-repository&quot;,&quot;this is my new repository&quot;,
&quot;http://www.kohsuke.org/&quot;,true/*public*/);
repo.addCollaborators(github.getUser(&quot;abayer&quot;),github.getUser(&quot;rtyler&quot;));
repo.delete();</pre>
</div>
</div>
<div class="section"><h2>Credential</h2>
<p>This library allows the caller to supply the credential as parameters, but it also defines a common convention so that applications using this library will look at the consistent location. In this convention, the library looks at &quot;~/.github&quot; property file, which should have the following two values:</p>
<div class="source"><pre>login=kohsuke
token=012345678</pre>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="xright">&#169;
2011
<a href="http://kohsuke.org/">Kohsuke Kawaguchi</a> and other contributors
&nbsp;| Last Published: 06/27/2011
&nbsp;| Version: 1.9-SNAPSHOT
</div>
<div class="clear">
<hr/>
</div>
</div>
</div></div>
</body>
</html>