Skip to content

tobie/respec-gh-issues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

respec-gh-issues

respec-gh-issues is a small JavaScript script that can be embedded in a ReSpec spec. Provided with the adequate configuration options, it lets you reference GitHub issues by their number, and dynamically fills in the spec with the issue title and body.

These are the respecConfig options you need to add:

respecConfig.issueBase = "https://www.github.com/{user}/{repo}/issues/";
respecConfig.issueAPI = "https://api.github.com/repos/{user}/{repo}/issues";

To reference an issue, just:

<div class="issue" data-number="{issue number}"></div>

Of course, don't forget to reference the script itself:

<script src="https://tobie.github.io/respec-gh-issues/respec-gh-issues.js" async class="remove"></script>

About

A small, hosted JS script that pulls in GH issues to your ReSpec doc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published