Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
6 committed Jun 21, 2016
1 parent fa31814 commit 82a1c8a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ var fs = require('fs'),
languages = require('languages');

module.exports = function(grunt) {
var pkg = grunt.file.readJSON('package.json');

var wordsInFile = function(file) {
var words = [];
var lines = file.split(/[\n\r]+/);
Expand Down Expand Up @@ -70,13 +72,16 @@ module.exports = function(grunt) {
});

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
pkg: pkg,

readme: {
options: {
alt: {
src: ['docs/README.tmpl.md'],
dest: './'
},
metadata: {
licenseName: pkg.license
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# stopwords [![CircleCI](https://circleci.com/gh/6/stopwords.svg?style=svg)](https://circleci.com/gh/6/stopwords)
# stopwords-json [![CircleCI](https://circleci.com/gh/6/stopwords.svg?style=svg)](https://circleci.com/gh/6/stopwords)

Stopwords for various languages in JSON format. Per [Wikipedia](http://en.wikipedia.org/wiki/Stop_words):

Expand Down Expand Up @@ -65,5 +65,5 @@ Turkish | 279 | [tr.json](dist/tr.json)
- SMART Information Retrieval System: ftp://ftp.cs.cornell.edu/pub/smart/

## License and Copyright
Copyright (c) 2015 Peter Graham, contributors.
Released under the Apache-2.0 license
Copyright (c) 2016 Peter Graham, contributors.
Released under the Apache-2.0 license.
4 changes: 2 additions & 2 deletions docs/README.tmpl.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# {%= name %}
# {%= name %} [![CircleCI](https://circleci.com/gh/6/stopwords.svg?style=svg)](https://circleci.com/gh/6/stopwords)

{%= description %} Per [Wikipedia](http://en.wikipedia.org/wiki/Stop_words):

Expand All @@ -19,4 +19,4 @@ You can use all stopwords with [stopwords-all.json](stopwords-all.json) (keyed b

## License and Copyright
{%= copyright %}
{%= license %}
Released under the {%= licenseName %} license.

0 comments on commit 82a1c8a

Please sign in to comment.