GitXplorerGitXplorer
l

releases

public
2 stars
0 forks
1 issues

Commits

List of commits on branch master.
Unverified
633186bf3508508fae0cf2487241fbe869268e83

Updated README to Include npm notes

committed 9 years ago
Unverified
ae26bcf47097a6536b771d07260a3e6f5faf0766

1.1.0

committed 9 years ago
Unverified
ca830d07ed0d8b61f82b96340e6a03dfd0146540

Delete npm-debug.log

llevlaz committed 9 years ago
Unverified
e4153f36dd98e4d863cbdf4a65b54025e64233f2

Merge pull request #1 from levlaz/feature-bugs

llevlaz committed 9 years ago
Unverified
85706bdf7a62c43b8b023adfab4f5302ede1ac67

Added Bugs View, Packaged with NPM now

committed 9 years ago
Unverified
f914c2601f43908fe1fd2c014f0571d2e7e2fe98

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.