Skip to content

Commit 1832a36

Browse files
Update critical file(s) according to Chirpy v5.5.0
1 parent 02a5de7 commit 1832a36

24 files changed

+20
-1398
lines changed

.editorconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ trim_trailing_whitespace = true
99
end_of_line = lf
1010
insert_final_newline = true
1111

12-
1312
[*.js]
1413
indent_size = 4
14+
15+
[*.md]
16+
trim_trailing_whitespace = false

.github/workflows/pages-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
45-
ruby-version: '3.1' # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
45+
ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
4646
bundler-cache: true
4747

4848
- name: Build site

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# bundler cache
1212
_site
1313
vendor
14+
Gemfile.lock
1415

1516
# rubygem
1617
*.gem

Gemfile

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,27 @@
22

33
source "https://rubygems.org"
44

5-
gem "jekyll-theme-chirpy", "~> 5.4", ">= 5.4.0"
5+
gem "jekyll-theme-chirpy", "~> 5.5", ">= 5.5.0"
66

77
group :test do
88
gem "html-proofer", "~> 3.18"
99
end
1010

1111
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
1212
# and associated library.
13-
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
14-
gem "tzinfo", "~> 1.2"
13+
platforms :mingw, :x64_mingw, :mswin, :jruby do
14+
gem "tzinfo", ">= 1", "< 3"
1515
gem "tzinfo-data"
1616
end
1717

1818
# Performance-booster for watching directories on Windows
19-
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
19+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
20+
21+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
22+
# do not have a Java counterpart.
23+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
24+
25+
# Lock jekyll-sass-converter to 2.x on Linux-musl
26+
if RUBY_PLATFORM =~ /linux-musl/
27+
gem "jekyll-sass-converter", "~> 2.0"
28+
end

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# Chirpy Starter [![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy)](https://rubygems.org/gems/jekyll-theme-chirpy) [![GitHub license](https://img.shields.io/github/license/cotes2020/chirpy-starter.svg?color=blue)][mit]
22

3-
When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders `_includes`, `_layout`, `_sass` and `assets`, as well as a small part of options of the `_config.yml` file from the theme's gem. If you have ever installed this theme gem, you can use the command `bundle info --path jekyll-theme-chirpy` to locate these files.
3+
When installing the [**Chirpy**][chirpy] theme through [RubyGems.org][gem], Jekyll can only read files in the folders `/_data`, `/_layouts`, `/_includes`, `/_sass` and `/assets`, as well as a small part of options of the `/_config.yml` file from the theme's gem. If you have ever installed this theme gem, you can use the command `bundle info --path jekyll-theme-chirpy` to locate these files.
44

5-
The Jekyll organization claims that this is to leave the ball in the user’s court, but this also results in users not being able to enjoy the out-of-the-box experience when using feature-rich themes.
5+
The Jekyll team claims that this is to leave the ball in the user’s court, but this also results in users not being able to enjoy the out-of-the-box experience when using feature-rich themes.
66

77
To fully use all the features of **Chirpy**, you need to copy the other critical files from the theme's gem to your Jekyll site. The following is a list of targets:
88

99
```shell
1010
.
1111
├── _config.yml
12-
├── _data
1312
├── _plugins
1413
├── _tabs
1514
└── index.html

_data/assets/cross_origin.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

_data/assets/self_host.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

_data/contact.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

_data/locales/bg-BG.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.

_data/locales/de-DE.yml

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)