jekyll-toc 0.4.0.rc2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/Appraisals +5 -9
- data/README.md +3 -3
- data/gemfiles/jekyll_3.1.gemfile +1 -1
- data/gemfiles/jekyll_3.2.gemfile +1 -1
- data/gemfiles/jekyll_3.3.gemfile +1 -1
- data/gemfiles/jekyll_3.4.gemfile +1 -1
- data/gemfiles/jekyll_3.5.gemfile +1 -1
- data/jekyll-toc.gemspec +1 -1
- data/lib/version.rb +1 -1
- metadata +6 -7
- data/gemfiles/jekyll_3.gemfile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ee3560e2836d7f495f8fe64f4c69edaf6e49c20
|
4
|
+
data.tar.gz: cd52bc52d78d47eb963c8e6f9161e0398f478ca7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bebc90760a20a6d048930811d15e5fb8c9f0913a6dcc15493a898671ea904e7a3cc604f837b9c8308b6f584f8f9d9db443565fad1adf27ca7e3e76dbd0f91193
|
7
|
+
data.tar.gz: 56db9b9ef09e981f8eb91c7e2587ca7756492dd3500238726e3174078253da5159b88c6f54aa6f356a43f7cf88cbe8d14e9ce749087c4f39f5a05d574912c743
|
data/.travis.yml
CHANGED
data/Appraisals
CHANGED
@@ -3,25 +3,21 @@ appraise "jekyll-3.6" do
|
|
3
3
|
end
|
4
4
|
|
5
5
|
appraise "jekyll-3.5" do
|
6
|
-
gem "jekyll", "3.5
|
6
|
+
gem "jekyll", "3.5"
|
7
7
|
end
|
8
8
|
|
9
9
|
appraise "jekyll-3.4" do
|
10
|
-
gem "jekyll", "3.4
|
10
|
+
gem "jekyll", "3.4"
|
11
11
|
end
|
12
12
|
|
13
13
|
appraise "jekyll-3.3" do
|
14
|
-
gem "jekyll", "3.3
|
14
|
+
gem "jekyll", "3.3"
|
15
15
|
end
|
16
16
|
|
17
17
|
appraise "jekyll-3.2" do
|
18
|
-
gem "jekyll", "3.2
|
18
|
+
gem "jekyll", "3.2"
|
19
19
|
end
|
20
20
|
|
21
21
|
appraise "jekyll-3.1" do
|
22
|
-
gem "jekyll", "3.1
|
23
|
-
end
|
24
|
-
|
25
|
-
appraise "jekyll-3" do
|
26
|
-
gem "jekyll", "3.0.3"
|
22
|
+
gem "jekyll", "3.1"
|
27
23
|
end
|
data/README.md
CHANGED
@@ -17,10 +17,12 @@ gem 'jekyll-toc'
|
|
17
17
|
Add jekyll-toc to the `gems:` section in your site's `_config.yml`.
|
18
18
|
|
19
19
|
```yml
|
20
|
-
|
20
|
+
plugins:
|
21
21
|
- jekyll-toc
|
22
22
|
```
|
23
23
|
|
24
|
+
**NOTE: If you're using older Jekyll version(v3.4 or earlier), use `gems` instead of `plugins`.**
|
25
|
+
|
24
26
|
Set `toc: true` in posts for which you want the TOC to appear.
|
25
27
|
|
26
28
|
```yml
|
@@ -76,8 +78,6 @@ location with the `toc_only` filter.
|
|
76
78
|
|
77
79
|
jekyll-toc generates an unordered list. The final output is as follows.
|
78
80
|
|
79
|
-
**Heads-up**: As of v0.3, nested toc has been supported. If you update jekyll-toc from 0.2 to 0.3, please check [upgrade guide](https://github.com/toshimaru/jekyll-toc/wiki/0.3-Upgrade-Guide)
|
80
|
-
|
81
81
|
```html
|
82
82
|
<ul class="section-nav">
|
83
83
|
<li class="toc-entry toc-h1"><a href="#heading1">Heading.1</a>
|
data/gemfiles/jekyll_3.1.gemfile
CHANGED
data/gemfiles/jekyll_3.2.gemfile
CHANGED
data/gemfiles/jekyll_3.3.gemfile
CHANGED
data/gemfiles/jekyll_3.4.gemfile
CHANGED
data/gemfiles/jekyll_3.5.gemfile
CHANGED
data/jekyll-toc.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.add_development_dependency 'appraisal'
|
23
23
|
spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
|
24
|
-
spec.add_development_dependency 'jekyll', '>= 3.
|
24
|
+
spec.add_development_dependency 'jekyll', '>= 3.1'
|
25
25
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
26
26
|
spec.add_development_dependency 'pry'
|
27
27
|
spec.add_development_dependency 'rake'
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-toc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.0
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toshimaru
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
@@ -59,14 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '3.
|
62
|
+
version: '3.1'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '3.
|
69
|
+
version: '3.1'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: minitest
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,7 +129,6 @@ files:
|
|
129
129
|
- gemfiles/jekyll_3.4.gemfile
|
130
130
|
- gemfiles/jekyll_3.5.gemfile
|
131
131
|
- gemfiles/jekyll_3.6.gemfile
|
132
|
-
- gemfiles/jekyll_3.gemfile
|
133
132
|
- jekyll-toc.gemspec
|
134
133
|
- lib/jekyll-toc.rb
|
135
134
|
- lib/table_of_contents/parser.rb
|
@@ -155,9 +154,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
154
|
version: 2.1.0
|
156
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
156
|
requirements:
|
158
|
-
- - "
|
157
|
+
- - ">="
|
159
158
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
159
|
+
version: '0'
|
161
160
|
requirements: []
|
162
161
|
rubyforge_project:
|
163
162
|
rubygems_version: 2.6.13
|