jekyll-github-code 0.2.1 → 0.2.2
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/jekyll-github-code/generator.rb +4 -4
- data/lib/jekyll-github-code/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8371ea2bd07b6ffc3db43573843179b8bf420c02c59e252771cfa27c1df38b1
|
|
4
|
+
data.tar.gz: a0e590925ed33002b75815b6018e015fa6291baa1f6d93af4e4e57bbbea94dff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 750b8c33c7c1cc37fc556ec7d12aad267bc13dcc28bae4263362af57724b8d8ad58697e09e7eec40db4f1c8b49eea0b85ba7de2606fb449e740806c05a981dfd
|
|
7
|
+
data.tar.gz: 4463d6f073ada40c343da33d28571d4ae0bcaa8863c24889e2057003b03f25902a3d531e74ca80aab2146a19e15da859546dd4472b60df3dd4556e2311e1bca2
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.2] - 2025-12-12
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Fix override with jekyll-github-card
|
|
12
|
+
|
|
8
13
|
## [0.2.1] - 2025-12-12
|
|
9
14
|
|
|
10
15
|
### Fixed
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module Jekyll
|
|
4
|
-
module
|
|
5
|
-
class
|
|
4
|
+
module GithubCode
|
|
5
|
+
class CodeStyleGenerator < Jekyll::Generator
|
|
6
6
|
safe true
|
|
7
7
|
priority :low
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ module Jekyll
|
|
|
10
10
|
content = File.read(File.join(File.dirname(__FILE__), "..", "..", "assets", "css", "github-code.css"))
|
|
11
11
|
|
|
12
12
|
# Create a static file for the CSS
|
|
13
|
-
site.static_files <<
|
|
13
|
+
site.static_files << CodeStyleFile.new(site, content)
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
|
|
@@ -26,7 +26,7 @@ module Jekyll
|
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
class
|
|
29
|
+
class CodeStyleFile < Jekyll::StaticFile
|
|
30
30
|
def initialize(site, content)
|
|
31
31
|
@site = site
|
|
32
32
|
@content = content
|