Skip to content

Commit 3abc268

Browse files
committed
Merge branch 'transformer_showdown'
2 parents 0eb7efa + 38aaa65 commit 3abc268

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+5680
-219
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ indent_size = 2
77
trim_trailing_whitespace = true
88
# Unix-style newlines with a newline ending every file
99
end_of_line = lf
10-
insert_final_newline = true
10+
insert_final_newline = truea
1111

1212
[*.{js,css,scss}]
1313
quote_type = single

.github/workflows/pages-deploy.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: "Build and Deploy"
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
paths-ignore:
8+
- .gitignore
9+
- README.md
10+
- LICENSE
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
permissions:
16+
contents: read
17+
pages: write
18+
id-token: write
19+
20+
# Allow one concurrent deployment
21+
concurrency:
22+
group: "pages"
23+
cancel-in-progress: true
24+
25+
jobs:
26+
build:
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v4
32+
with:
33+
fetch-depth: 0
34+
# submodules: true
35+
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
36+
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
37+
38+
- name: Setup Pages
39+
id: pages
40+
uses: actions/configure-pages@v3
41+
42+
- name: Setup Ruby
43+
uses: ruby/setup-ruby@v1
44+
with:
45+
ruby-version: 3.2
46+
bundler-cache: true
47+
48+
- name: Build site
49+
run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}"
50+
env:
51+
JEKYLL_ENV: "production"
52+
53+
- name: Test site
54+
run: |
55+
bundle exec htmlproofer _site \
56+
\-\-disable-external=true \
57+
\-\-enforce-https=false \
58+
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
59+
60+
- name: Upload site artifact
61+
uses: actions/upload-pages-artifact@v1
62+
with:
63+
path: "_site${{ steps.pages.outputs.base_path }}"
64+
65+
deploy:
66+
environment:
67+
name: github-pages
68+
url: ${{ steps.deployment.outputs.page_url }}
69+
runs-on: ubuntu-latest
70+
needs: build
71+
steps:
72+
- name: Deploy to GitHub Pages
73+
id: deployment
74+
uses: actions/deploy-pages@v2

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2+
# hidden files
3+
.*
4+
!.git*
5+
!.editorconfig
6+
!.nojekyll
7+
!.travis.yml
8+
19
# Bundler cache
210
.bundle
311
vendor

Gemfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,24 @@ source "https://rubygems.org"
44

55
gemspec
66

7+
78
gem "html-proofer", "~> 5.0", group: :test
89

10+
911
platforms :mingw, :x64_mingw, :mswin, :jruby do
1012
gem "tzinfo", ">= 1", "< 3"
1113
gem "tzinfo-data"
1214
end
1315

16+
gem 'csv'
17+
gem 'base64'
18+
19+
# Performance-booster for watching directories on Windows
1420
gem "wdm", "~> 0.2.0", :platforms => [:mingw, :x64_mingw, :mswin]
21+
22+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
23+
# do not have a Java counterpart.
24+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
25+
26+
# to make creating posts one step easier
27+
gem 'jekyll-compose', group: [:jekyll_plugins]

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<!-- markdownlint-disable-next-line -->
22
<div align="center">
33

4-
<!-- markdownlint-disable-next-line -->
54
# Chirpy Jekyll Theme
65

76
A minimal, responsive, and feature-rich Jekyll theme for technical writing.
@@ -19,7 +18,6 @@
1918
</div>
2019

2120
## Features
22-
2321
- Dark Theme
2422
- Localized UI language
2523
- Pinned Posts on Home Page
@@ -58,6 +56,7 @@ Thanks to [all the contributors][contributors] involved in the development of th
5856
[![all-contributors](https://contrib.rocks/image?repo=cotes2020/jekyll-theme-chirpy&columns=16)][contributors]
5957
<sub> — Made with [contrib.rocks](https://contrib.rocks)</sub>
6058

59+
6160
### Third-Party Assets
6261

6362
This project is built on the [Jekyll][jekyllrb] ecosystem and some [great libraries][lib], and is developed using [VS Code][vscode] as well as tools provided by [JetBrains][jetbrains] under a non-commercial open-source software license.

0 commit comments

Comments
 (0)