forked from nicoespeon/gitgraph.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
124 lines (87 loc) · 6.24 KB
/
index.html
File metadata and controls
124 lines (87 loc) · 6.24 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Home</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Home</h1>
<h3> </h3>
<section>
<article><p><img src="/assets/logo/gitgraph-logo.png" alt="gitgraph.js"></p>
<h1><a href="http://travis-ci.org/nicoespeon/gitgraph.js"><img src="https://secure.travis-ci.org/nicoespeon/gitgraph.js.png" alt="Build Status"></a></h1><p>A JavaScript library to draw pretty git graphs in the browser.</p>
<p>Project page: <http://gitgraphjs.com/></p>
<h2>How to start</h2><p>You have different options to start with the library:</p>
<ul>
<li><a href="https://github.com/nicoespeon/gitgraph.js/releases/latest">Download the latest release</a>.</li>
<li>Clone the repo: <code>git clone git@github.com:nicoespeon/gitgraph.js.git</code>.</li>
<li>Install with <a href="https://www.npmjs.com">npm</a>: <code>npm install --save gitgraph.js</code>.</li>
<li>Install with <a href="http://bower.io/">Bower</a>: <code>bower install gitgraph.js</code>.</li>
<li>Use <a href="https://cdnjs.com/libraries/gitgraph.js">the CDNjs hosted lib</a>.</li>
</ul>
<p>Production files are available under the <code>build/</code> directory.</p>
<h2>Report a bug / Ask for a feature</h2><p>You found some nasty bug or have a cool feature request? <a href="https://github.com/nicoespeon/gitgraph.js/issues">Just open a new
issue</a>.</p>
<p>Please have a look at the <a href="https://github.com/necolas/issue-guidelines/blob/master/CONTRIBUTING.md">Issue Guidelines</a> from <a href="https://github.com/necolas">Nicolas Gallagher</a> before
doing so.</p>
<h2>Documentation</h2><p>The JavaScript source code is documented with <a href="http://usejsdoc.org/">JSDoc</a>.</p>
<h2>Contributing</h2><p>Editor preferences are available in for <a href="https://github.com/nicoespeon/gitgraph.js/blob/master/.editorconfig">the editor config</a> easy use in common
text editors. Read more and download plugins at <http://editorconfig.org>.</p>
<p>The project uses <a href="http://gruntjs.com">Grunt</a> with convenient methods for our
workflow. It's how we lint our code, run tests, generate documentation, etc. To
use it, install the required dependencies as directed and then run the following
Grunt commands.</p>
<h3>Install Grunt</h3><p>From the command line:</p>
<ul>
<li>Install <a href="https://github.com/nicoespeon/gitgraph.js/blob/master/package.json">the necessary local dependencies</a> with <code>npm install</code>.</li>
</ul>
<p>When completed, you'll be able to run the various Grunt commands provided from
the command line.</p>
<p><a href="http://gruntjs.com/getting-started">> Need more information about how to get started with Grunt?</a></p>
<h3>Available commands</h3><h4>test code - <code>npm test</code></h4><p>Check source code against <a href="http://www.jshint.com/">JSHint</a> then runs unit tests with <a href="https://jasmine.github.io/">Jasmine</a>.</p>
<h4>generate documentation - <code>npm run doc</code></h4><p>Generate source code documentation into <code>dist/docs/</code> (not versioned) with
<a href="http://usejsdoc.org/">JSDoc</a>.</p>
<h4>generate TypeScript Definition - <code>npm run tsd</code></h4><p>Generate TypeScript Definition into <code>dist/gitgraph.d.ts</code> (not versioned).</p>
<h4>compile a non-versioned release - <code>npm run dist</code></h4><p>Clean <code>dist/</code> directory, lint code, output the minified release into
<code>dist/gitgraph.min.js</code> and generate the documentation into <code>dist/docs/</code>.</p>
<h4>compile a new release - <code>npm run release</code></h4><p>Lint code, output the source and minified releases into <code>build/</code> and generate
the official documentation into <code>docs/</code>.</p>
<h4>open a live reload server - <code>npm start</code></h4><p>For a better code experience, this grunt task opens a live server in your
favorite browser. This server is automatically reloaded when you save a project
file.</p>
<p>Please note that <code>examples/index.html</code> is the default file for testing ;)</p>
<h2>Versioning</h2><p>We use <a href="http://semver.org/">SemVer</a> as a guideline for our versioning here.</p>
<h3>What does that mean?</h3><p>Releases will be numbered with the following format:</p>
<pre class="prettyprint source"><code><major>.<minor>.<patch></code></pre><p>And constructed with the following guidelines:</p>
<ul>
<li>Breaking backward compatibility bumps the <code><major></code> (and resets the <code><minor></code>
and <code><patch></code>)</li>
<li>New additions without breaking backward compatibility bump the <code><minor></code> (and
reset the <code><patch></code>)</li>
<li>Bug fixes and misc. changes bump the <code><patch></code></li>
</ul>
<h2>Authors and contributors</h2><p><strong>Nicolas Carlo</strong> - <a href="https://twitter.com/nicoespeon">@nicoespeon</a> } <http://nicoespeon.com></p>
<p><strong>Fabien Bernard</strong> - <a href="https://twitter.com/fabien0102">@fabien0102</a></p>
<h2>Copyright and License</h2><p>Copyright (c) 2013 Nicolas CARLO and Fabien BERNARD under the <a href="https://github.com/nicoespeon/gitgraph.js/blob/master/LICENSE.md">MIT license</a></p>
<p><a href="http://choosealicense.com/licenses/mit/">> What does that mean?</a></p></article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Branch.html">Branch</a></li><li><a href="Commit.html">Commit</a></li><li><a href="GitGraph.html">GitGraph</a></li><li><a href="Tag.html">Tag</a></li><li><a href="Template.html">Template</a></li></ul><h3><a href="global.html">Global</a></h3>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Tue Aug 08 2017 22:31:31 GMT+0200 (CEST)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>