jekyll-hyperlinkify-glossary 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-hyperlinkify-glossary.rb +1 -4
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39d8b995ec28e54de22452c7dec7b8f850c3948e42cf1a935e80b3745d555d43
|
4
|
+
data.tar.gz: e7788a2765806272d0326c8dabea461cd3f9f141317f42502100ee37c88c9d30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
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:
|
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: []
|