GitXplorerGitXplorer
l

releases

public
2 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
66119c583cdfb1ea1799275d560412ef97bd5223

Updated Date to Show Full Year

committed 9 years ago
Unverified
fa0ebec70e105155f6e68e7f15a54a21368ad569

Update releases.coffee

llevlaz committed 9 years ago
Unverified
d5d40f32690e7ef608c87321a615b6a6c9c72901

Delete test.html

llevlaz committed 9 years ago
Unverified
7e2a25f242bd0073d4b2c1578522559064a3057d

Update README.md

llevlaz committed 9 years ago
Unverified
b002c05780ece36b5ee8fff94f55320da21ebf73

Update style.css

llevlaz committed 9 years ago
Unverified
ef9bae69cacea1ff549b0b9b214099ced950063c

Update README.md

llevlaz committed 9 years ago

README

The README file for this repository.

releases

Uses GitHub API to show feed of releases and open bugs for a given project. You can see a live version of releases in action here.

Preview

Preview Image

Installation

Releases is now packaged as a npm module, you can install it with npm install releases.

Usage

Add the following HTML to the page where you want the releases to be displayed.

<div class="container">
  <h1> Known Issues </h1>
  <ul id="bugs">
  </ul>
  <h1> Latest Releases </h1>
  <ul id="releases">
  </ul>
  <p id="more-releases">
  </p>
</div>

Load the following scripts on the same page as where you put the code above. (note if you are using Bootstrap you probably are already loading jQuery)

<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://raw.githubusercontent.com/levlaz/releases/master/js/marked.js"></script>
<script src="https://raw.githubusercontent.com/levlaz/releases/master/js/moment.js"></script>
<script src="https://raw.githubusercontent.com/levlaz/releases/master/js/releases.js"></script>

Add the Styles from style.css to your existing stylesheet.

/* Style for Releases Plugin */
#releases {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

Update the window.repo variable on Line 5 of releases.js to be whatever repo you want to display releases for.