Skip to content

Commit b1db3fd

Browse files
committed
readme
1 parent 1aa7760 commit b1db3fd

File tree

2 files changed

+28
-10
lines changed

2 files changed

+28
-10
lines changed

README.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,24 @@ A Jekyll plugin that generates _pseudo-random_ data. Very useful when you want t
99

1010
## Installation
1111

12-
Simply download the `random.rb` file and place it in the `_plugins` directory of your Jekyll site.
12+
1. Add the following to your site's `Gemfile`:
13+
14+
```ruby
15+
gem 'jekyll-random'
16+
```
17+
18+
2. Add the following to your site's `_config.yml`:
19+
20+
```yml
21+
plugins:
22+
- jekyll-random
23+
```
24+
25+
If you are using a Jekyll version less than `3.5.0`, use the `gems` key instead of `plugins`.
26+
27+
### Manual installation
28+
29+
Simply download the `lib/jekyll-random.rb` file and place it in the `_plugins` directory of your Jekyll site.
1330

1431

1532
## Usage

jekyll-random.gemspec

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
Gem::Specification.new do |s|
2-
s.name = "jekyll-random"
3-
s.version = "0.0.2"
4-
s.licenses = ['MIT']
5-
s.summary = "A Jekyll plugin that generates pseudo-random data"
6-
s.description = "A Jekyll plugin that generates pseudo-random data. Very useful when you want to generate a large amount of random data."
7-
s.authors = ["Paweł Kuna"]
8-
s.email = '[email protected]'
2+
s.name = "jekyll-random"
3+
s.version = "0.0.3"
4+
s.licenses = ['MIT']
5+
s.summary = "A Jekyll plugin that generates pseudo-random data"
6+
s.description = "A Jekyll plugin that generates pseudo-random data. Very useful when you want to generate a large amount of random data."
7+
s.authors = ["Paweł Kuna"]
8+
s.email = '[email protected]'
99
s.files = [
1010
"lib/jekyll-random.rb"
1111
]
12-
s.homepage = 'https://github.com/codecalm/jekyll-random'
13-
s.metadata = { "source_code_uri" => "https://github.com/codecalm/jekyll-random" }
12+
s.require_paths = ['lib']
13+
s.homepage = 'https://github.com/codecalm/jekyll-random'
14+
s.metadata = { "source_code_uri" => "https://github.com/codecalm/jekyll-random" }
1415

1516
s.add_dependency "jekyll", "~> 3.3"
1617
end

0 commit comments

Comments
 (0)