Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
bf001ff
TOC configuration: configurable heading min_level and max_level (#39)
toshimaru Nov 25, 2017
057cff1
v0.5.0.rc
toshimaru Nov 25, 2017
956e6b5
V0.5.0 release: configurable heading min_level and max_level (#40)
toshimaru Dec 27, 2017
5edfdc9
Fix toc_config being nil
endrift Dec 30, 2017
069e2b6
Merge pull request #41 from endrift/fix-config
toshimaru Dec 30, 2017
bafcf98
v0.5.1 release (#42)
toshimaru Dec 30, 2017
3972bb2
:up: Ruby 2.5.0 support
toshimaru Feb 5, 2018
082fbf4
Add Jekyll 3.7
toshimaru Feb 5, 2018
8ac4ee3
Drop Ruby 2.1 support
toshimaru Feb 5, 2018
037003f
Drop Jekyll 3.1 support
toshimaru Feb 5, 2018
3c394a3
Merge pull request #44 from toshimaru/jekyll-3.7
toshimaru Feb 5, 2018
952e560
Bump version
toshimaru Feb 5, 2018
960e7ac
Add Jekyll 3.8 Support / Drop Jekyll 3.2, 3.3, 3.4 Support (#47)
toshimaru May 5, 2018
0a84754
required Ruby version >= 2.2
toshimaru May 5, 2018
abb95a8
gem dependency: nokogiri ~> 1.7, jekyll ~>3.5
toshimaru May 5, 2018
92aef5a
Update Test Coverage Badge
toshimaru May 5, 2018
a4919a1
v0.6.0
toshimaru May 5, 2018
d872814
Add support for no_toc
chalin Sep 11, 2018
34be08f
Ensure this feature runs on Ruby 2.2 as well
chalin Sep 11, 2018
5ccbb13
add support for custom CSS classes
jfredrickson Sep 19, 2018
48ada10
add documentation for custom CSS classes
jfredrickson Sep 19, 2018
8657c52
Merge pull request #50 from chalin/chalin-no-toc
toshimaru Sep 20, 2018
f64a833
v0.7.0-alpha1
toshimaru Sep 20, 2018
ff84612
Remove gemnasium badge
toshimaru Sep 20, 2018
5069000
Update Ruby patch version
toshimaru Sep 20, 2018
7b42a31
Merge remote-tracking branch 'upstream/master'
jfredrickson Sep 20, 2018
ba869a2
jekyll-toc requires jekyll > 3.5
toshimaru Sep 20, 2018
400bf2c
only need to define ul_attributes once
jfredrickson Sep 20, 2018
8f3a6d6
Merge pull request #52 from toshimaru/update-readme
toshimaru Sep 20, 2018
5ee6988
v0.7.0.alpha1
toshimaru Sep 20, 2018
d5b5d65
Move no_toc test
toshimaru Sep 29, 2018
7716627
Use tr! instead of gsub! / Use frozen Hash
toshimaru Sep 29, 2018
43e5cad
Better no_toc logic
toshimaru Sep 29, 2018
216bda8
Test for new no_toc logic
toshimaru Sep 29, 2018
8eb300c
Add frozen_string_literal magic comment
toshimaru Sep 29, 2018
30626f6
Add Skip TOC customization in README
toshimaru Sep 29, 2018
f04347e
Use dup
toshimaru Sep 29, 2018
80bab14
v0.7.0.beta1
toshimaru Sep 29, 2018
5daa187
Merge pull request #54 from toshimaru/add-notoc-test
toshimaru Sep 29, 2018
c07976a
Add Table of Contents to README
toshimaru Sep 29, 2018
b98b8f2
Refactoring / Add Japanese heading test
toshimaru Sep 29, 2018
035cd0d
v0.7.0
toshimaru Sep 29, 2018
debb2ef
More Japanese heading test
toshimaru Sep 29, 2018
52bad15
Remove unnecessary param `last_ul_used`
toshimaru Sep 29, 2018
31b0b7a
Fix typo
toshimaru Sep 29, 2018
97e1e1d
Merge pull request #55 from toshimaru/v0.7
toshimaru Sep 29, 2018
18fe1c9
Add CGI.escapeHTML
toshimaru Sep 29, 2018
c755235
escapeHTML test
toshimaru Sep 30, 2018
05de792
Add test_tags_inside_heading
toshimaru Sep 30, 2018
71ae31b
Merge pull request #56 from toshimaru/issue/45
toshimaru Sep 30, 2018
c421859
v0.7.1
toshimaru Sep 30, 2018
c48b7d3
Add an `ignore_within` option
DEfusion Sep 20, 2018
9fd295b
Merge pull request #53 from bandzoogle/master
toshimaru Oct 9, 2018
93ea412
v0.8.0.beta1
toshimaru Oct 9, 2018
834c42a
Use explicit ID attribute if present
DEfusion Sep 26, 2018
b6e42cb
Merge pull request #59 from bandzoogle/use-explicit-id-attribute
toshimaru Oct 10, 2018
d4a1633
Update README.md
XhmikosR Oct 14, 2018
3c146c3
Merge pull request #61 from XhmikosR/patch-1
toshimaru Oct 14, 2018
2960c15
Simplefy assignment
toshimaru Oct 16, 2018
4bcc4e2
Reorder method
toshimaru Oct 16, 2018
9c3dd4f
Refactoring: ignore_within => no_toc_section_class
toshimaru Oct 16, 2018
5207379
Update README.md
toshimaru Oct 16, 2018
b89cea9
Add more test cases
toshimaru Oct 16, 2018
69ded4f
Merge pull request #57 from toshimaru/feature/no-toc-section
toshimaru Oct 16, 2018
ca0ab98
Merge remote-tracking branch 'upstream/master'
jfredrickson Oct 16, 2018
027d935
Update README
toshimaru Oct 18, 2018
da317c6
v0.8.0
toshimaru Oct 18, 2018
3de848c
Strat developing v0.9.0.beta1
toshimaru Oct 18, 2018
5329944
Merge pull request #51 from jfredrickson5/master
toshimaru Oct 18, 2018
b1364df
Require Ruby 2.3+ / Nokogiri 1.8+ (#63)
toshimaru Oct 19, 2018
b240881
Add rubocop
toshimaru Oct 19, 2018
2aa719f
Update rubocop rule
toshimaru Oct 19, 2018
7ac7de2
Refactoring
toshimaru Oct 19, 2018
2d382fc
Merge pull request #64 from toshimaru/v0.9.0/add-rubocop
toshimaru Oct 19, 2018
76afacd
Merge pull request #62 from toshimaru/v0.9.0.beta1
toshimaru Oct 29, 2018
94f7359
v0.9.0
toshimaru Oct 29, 2018
42fdd64
Use cc-test-reporter instead of codeclimate-test-reporter (#68)
toshimaru Nov 1, 2018
970b1cd
.rubocop.yml Update (#69)
toshimaru Nov 3, 2018
7d3dff9
Allow mutiple `no_toc_section_class`es (#72)
toshimaru Nov 27, 2018
c362b5f
v0.9.1
toshimaru Nov 27, 2018
28bd3a3
Fix readme[skip ci]
toshimaru Nov 27, 2018
6c9c092
Update README.md
toshimaru Mar 19, 2019
54282e5
Have toc_only output an empty string when toc is disabled
Mar 21, 2019
c2b783c
Merge pull request #77 from gandalf3/toc_only_disable_fix
toshimaru Mar 23, 2019
53386df
Test aginast PR: #77
toshimaru Mar 23, 2019
7e559a8
Merge pull request #78 from toshimaru/test/filter
toshimaru Mar 23, 2019
7ed3065
:gem: nokogiri requires '~> 1.9'
toshimaru Mar 23, 2019
c02c30b
v0.10.0
toshimaru Mar 23, 2019
d018c2b
Avoid Duplicated IDs in a page (#79)
toshimaru Mar 24, 2019
fa77a28
Add Ruby 2.6/Drop Jekyll 3.5/Code Reafactoring (#80)
toshimaru Mar 24, 2019
1f552ca
v0.11.0
toshimaru Mar 24, 2019
59f1704
Refactoring: Create Configuration Class (#81)
toshimaru Mar 29, 2019
f354ebf
v0.12.0.rc1
toshimaru Mar 29, 2019
e48c529
Liquid::Template.register_tag 'toc' (#82)
toshimaru Mar 30, 2019
13ed59a
v0.12.0.rc2
toshimaru Mar 30, 2019
5114723
Fix toc tag bug / Add tests (#83)
toshimaru Mar 31, 2019
f0f50a6
v0.12.0.rc3
toshimaru Mar 31, 2019
b400936
Update README.md
toshimaru Apr 1, 2019
1bee5d4
v0.12.0
toshimaru Apr 1, 2019
d7656b7
Copyright (c) 2019 Toshimaru
toshimaru Apr 1, 2019
53387fa
v0.12.1 (#84)
toshimaru Apr 6, 2019
1db42d4
Remove `toc_only` deprecation message (#87)
toshimaru Aug 8, 2019
f3d7bae
v0.12.2
toshimaru Aug 8, 2019
255e783
vscode loaunch action rake
N7K4 Feb 29, 2020
92f7c78
Url-Encoding for element id (spaces and UTF-8 support)
N7K4 Jan 8, 2020
9e2d5db
Add config value 'anchor_id_url_encoded', with default value false
N7K4 Feb 29, 2020
acdb182
Wrap the url encoding with the configuration variable
N7K4 Feb 29, 2020
194a3ff
Create Unit Tests
N7K4 Feb 29, 2020
d0f00ab
Url-Encoding for element id (spaces and UTF-8 support)
N7K4 Jan 8, 2020
ab7e791
Save parent element of entry, to add a anchor id
N7K4 Jan 8, 2020
20d355a
Replace em-font-icon element with a unicode arrow
N7K4 Jan 8, 2020
cb752bc
Format Code
N7K4 Jan 8, 2020
740ab0e
Format Code
N7K4 Jan 8, 2020
664d0d2
Add class for the link to top
N7K4 Jan 17, 2020
b5f1371
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
83fcd11
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
c67ae1a
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
e3be757
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
6906d0c
PR94 - codeclimate fixes
N7K4 Jan 18, 2020
cb69d67
Add Testing Section to readme
N7K4 Jan 18, 2020
f42ff59
Fix UnitTest test_toc_tag
N7K4 Jan 18, 2020
3c5b7d7
Fix unit tests, id and anchor
N7K4 Feb 29, 2020
bf32752
Add .whitesource configuration file
mend-bolt-for-github[bot] Apr 28, 2020
2a38db1
Merge pull request #1 from n13org/whitesource/configure
N7K4 Apr 28, 2020
e8cac14
Merge pull request #3 from toshimaru/master
N7K4 Apr 28, 2020
6ff175a
Update Gem Specs to n13.org
N7K4 Apr 28, 2020
68bf26d
Merge pull request #4 from n13org/issue95_Feb2020
N7K4 Apr 28, 2020
431d57b
Merge branch 'master' into navigateToTopWithUnicodeChars
N7K4 Apr 28, 2020
66309ad
Delete jekyll_3.6.gemfile only jekyll_4.0 stays
N7K4 Apr 28, 2020
e7000f7
Delete jekyll_3.7.gemfile only jekyll_4.0 stays
N7K4 Apr 28, 2020
ebe1dee
Delete jekyll_3.8.gemfile only jekyll_4.0 stays
N7K4 Apr 28, 2020
153a41e
Move include inside the module
N7K4 Apr 28, 2020
5d7f18f
Remove gemfiles for jekyll 3.x
N7K4 Apr 28, 2020
e910a1e
Resolve conflicts
N7K4 Apr 28, 2020
2ab708c
Drop support for jekyll v3.0
N7K4 Apr 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ jobs:
ruby: [2.4, 2.5, 2.6, 2.7]
gemfile:
- gemfiles/jekyll_4.0.gemfile
- gemfiles/jekyll_3.8.gemfile
- gemfiles/jekyll_3.7.gemfile
exclude:
- ruby: 2.4
gemfile: gemfiles/jekyll_4.0.gemfile
Expand Down
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: ruby
cache: bundler
env:
global:
- CC_TEST_REPORTER_ID=6b81e393ea6ad38560386f650ea2fb0e57a7beb5e20f8c8364fabee30d5bff07
rvm:
- 2.4.6
- 2.5.5
- 2.6.3
# gemfile is generated by appraisal
gemfile:
- gemfiles/jekyll_3.8.gemfile
- gemfiles/jekyll_3.7.gemfile
- gemfiles/jekyll_3.6.gemfile
before_script:
# Download cc-test-reporter
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_success:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- bundle exec codeclimate-test-reporter
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"name": "Rake fd:test",
"type": "Ruby",
"request": "launch",
"cwd": "${workspaceRoot}",
"program": "${workspaceRoot}/bin/rake",
"useBundler": true,
"args": ["fd:test"]
}
]
}
8 changes: 8 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure"
},
"issueSettings": {
"minSeverityLevel": "LOW"
}
}
18 changes: 5 additions & 13 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
# frozen_string_literal: true

appraise 'jekyll-4.0' do
gem 'jekyll', '4.0'
end

appraise 'jekyll-3.8' do
gem 'jekyll', '3.8'
end

appraise 'jekyll-3.7' do
gem 'jekyll', '3.7'
end
# frozen_string_literal: true

appraise 'jekyll-4.0' do
gem 'jekyll', '4.0'
end
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2020 Toshimaru
Copyright (c) 2020

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading