jekyll-hyperlinkify-glossary 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41e9782180bc4ffd77b76f183662c4e31699de31caa970d8df05f0ea35d12ac1
4
- data.tar.gz: cc88cf2676d7d04ca84f91087e634978fcef9ad9bff420aa28568c84f89b744b
3
+ metadata.gz: 39d8b995ec28e54de22452c7dec7b8f850c3948e42cf1a935e80b3745d555d43
4
+ data.tar.gz: e7788a2765806272d0326c8dabea461cd3f9f141317f42502100ee37c88c9d30
5
5
  SHA512:
6
- metadata.gz: 2bd4a877e1c070f42cb71d35e90cc83795fd1b8850684d9e3380c90efaa8a2c2232dd6302f744060ec639b3cfc39d16c6aaf79d2f11cfcd0d6b54fc4fc69d925
7
- data.tar.gz: ff77b9cc5540c1a73ff237473e6c6657d2e2377a30bcaa8868cc796529f401141da18149cb82b5f39543751df79ced0a199ca015bf4ced04db157640c61c4344
6
+ metadata.gz: b57515c8b2837a9f81e3938d168888d695979476dd8f259a68ba414bd5f8189ea4613d3b259c363631fdf19d1304f47e26df4b72d8f23213abce27f7b19701d3
7
+ data.tar.gz: 5e9c6f58d1f101c6a40dda6ea310de50ed7e42eb77cc3d2ffd1ddc87879d57232088cf5bd742c3da9be269988bf5c04ac0da3e13ac6e31b8be21bceccea7238f
@@ -14,13 +14,10 @@ module Jekyll
14
14
  puts "This document has no glossary entries: " + document.data["title"].to_s
15
15
  return
16
16
  end
17
- @test_word = "icf"
18
- @test_array = ["icf","inklusion"]
19
- @test_url = "/glossary/icf.html"
20
17
  document.output = if document.output.include? BODY_START_TAG
21
18
  process_document(document)
22
19
  else
23
- process_html_body(document.output)
20
+ process_html_body(document.output, document.data["title"])
24
21
  end
25
22
 
26
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-hyperlinkify-glossary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Schmidt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-09 00:00:00.000000000 Z
11
+ date: 2021-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -24,7 +24,9 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.7'
27
- description: A Jekyll gem to replace glossary entries in html with hyperlinks
27
+ description: This plugin replaces any occurence of glossary entries in pages and documents
28
+ with a hyperlink to the associated glossary entry. For this to work the glossary
29
+ needs to be a collection where each glossary entries is defined over its title.
28
30
  email:
29
31
  executables: []
30
32
  extensions: []