Skip to content

Commit 39ac7e0

Browse files
authored
Global Website Update (#10)
Update to match template
1 parent 8efd710 commit 39ac7e0

281 files changed

Lines changed: 37342 additions & 44208 deletions

File tree

Some content is hidden

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

.all-contributorsrc

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"files": [
3-
"README.md"
4-
],
2+
"files": ["README.md"],
53
"imageSize": 100,
64
"commit": false,
75
"contributorsPerLine": 7,
@@ -18,37 +16,28 @@
1816
"name": "Maruan",
1917
"avatar_url": "https://avatars.githubusercontent.com/u/2126561?v=4",
2018
"profile": "http://maruan.alshedivat.com",
21-
"contributions": [
22-
"design",
23-
"code"
24-
]
19+
"contributions": ["design", "code"]
2520
},
2621
{
2722
"login": "rohandebsarkar",
2823
"name": "Rohan Deb Sarkar",
2924
"avatar_url": "https://avatars.githubusercontent.com/u/50144004?v=4",
3025
"profile": "http://rohandebsarkar.github.io",
31-
"contributions": [
32-
"code"
33-
]
26+
"contributions": ["code"]
3427
},
3528
{
3629
"login": "pourmand1376",
3730
"name": "Amir Pourmand",
3831
"avatar_url": "https://avatars.githubusercontent.com/u/32064808?v=4",
3932
"profile": "https://amirpourmand.ir",
40-
"contributions": [
41-
"code"
42-
]
33+
"contributions": ["code"]
4334
},
4435
{
4536
"login": "george-gca",
4637
"name": "George",
4738
"avatar_url": "https://avatars.githubusercontent.com/u/31376482?v=4",
4839
"profile": "https://george-gca.github.io/",
49-
"contributions": [
50-
"code"
51-
]
40+
"contributions": ["code"]
5241
}
5342
],
5443
"commitConvention": "angular"

.devcontainer/devcontainer.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/jekyll
3+
{
4+
"name": "Jekyll",
5+
"image": "mcr.microsoft.com/devcontainers/jekyll",
6+
7+
// Features to add to the dev container. More info: https://containers.dev/features.
8+
"features": {
9+
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
10+
"packages": "build-essential,imagemagick,inotify-tools,jupyter-nbconvert,procps,ruby-full,zlib1g-dev"
11+
},
12+
"ghcr.io/devcontainers-contrib/features/prettier:1": {}
13+
},
14+
15+
// Optionally: run jekyll serve automatically on container entering using the Docker entrypoint
16+
"postAttachCommand": "./bin/entry_point.sh",
17+
18+
"customizations": {
19+
"vscode": {
20+
"extensions": ["esbenp.prettier-vscode", "sissel.shopify-liquid", "yzhang.markdown-all-in-one"],
21+
"settings": {
22+
// use prettier code formatter as default formatter
23+
"editor.defaultFormatter": "esbenp.prettier-vscode",
24+
"prettier.configPath": ".prettierrc",
25+
"editor.formatOnSave": true
26+
}
27+
}
28+
},
29+
30+
"remoteUser": "vscode"
31+
}

.git-blame-ignore-revs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Template taken from https://github.com/v8/v8/blob/master/.git-blame-ignore-revs.
2+
#
3+
# This file contains a list of git hashes of revisions to be ignored by git blame. These
4+
# revisions are considered "unimportant" in that they are unlikely to be what you are
5+
# interested in when blaming. Most of these will probably be commits related to linting
6+
# and code formatting.
7+
#
8+
# Instructions:
9+
# - Only large (generally automated) reformatting or renaming CLs should be
10+
# added to this list. Do not put things here just because you feel they are
11+
# trivial or unimportant. If in doubt, do not put it on this list.
12+
# - Precede each revision with a comment containing the PR title and number.
13+
# For bulk work over many commits, place all commits in a block with a single
14+
# comment at the top describing the work done in those commits.
15+
# - Only put full 40-character hashes on this list (not short hashes or any
16+
# other revision reference).
17+
# - Append to the bottom of the file (revisions should be in chronological order
18+
# from oldest to newest).
19+
# - Because you must use a hash, you need to append to this list in a follow-up
20+
# PR to the actual reformatting PR that you are trying to ignore.
21+
22+
# Format all the code using prettier.io. (#2048, #2062)
23+
beb6f27d596e753014cb9bff1939e5f78d66431c
24+
2d34024961c3a3d27d6fd18ce06a551657983234

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Force LF line endings, needed for Docker to work on Windows
2+
*.sh text eol=lf

.github/ISSUE_TEMPLATE/1_bug_report.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ body:
77
value: >
88
Before you go any further. Is this really a **🐛 bug**?
99
10-
If it's a question about how al-folio works, have a look at our [documentation](https://github.com/alshedivat/al-folio/blob/master/README.md),
11-
[frequently asked questions](https://github.com/alshedivat/al-folio/blob/master/FAQ.md),
10+
If it's a question about how al-folio works, have a look at our [documentation](https://github.com/alshedivat/al-folio/blob/main/README.md),
11+
[frequently asked questions](https://github.com/alshedivat/al-folio/blob/main/FAQ.md),
1212
[past questions](https://github.com/alshedivat/al-folio/discussions/categories/q-a),
1313
or [ask a question](https://github.com/alshedivat/al-folio/discussions/new?category=q-a).
1414
@@ -20,7 +20,7 @@ body:
2020
Please check if somebody else has already filed the same issue.
2121
If you find a similar issue, please add a 👍 reaction or comment on the original post.
2222
options:
23-
- label: I read through [FAQ](https://github.com/alshedivat/al-folio/blob/master/FAQ.md) and searched through the [past issues](https://github.com/alshedivat/al-folio/issues), none of which addressed my issue.
23+
- label: I read through [FAQ](https://github.com/alshedivat/al-folio/blob/main/FAQ.md) and searched through the [past issues](https://github.com/alshedivat/al-folio/issues), none of which addressed my issue.
2424
required: true
2525
- label: Yes, I have checked that this issue isn't already filed.
2626
required: true
@@ -81,7 +81,8 @@ body:
8181
description: select all environments where you have experienced this issue
8282
multiple: true
8383
options:
84-
- "Running locally with Docker"
84+
- "Running locally with Docker (docker compose)"
85+
- "Running locally with Docker (devcontainer)"
8586
- "Running locally without Docker"
8687
- "Deployed site"
8788
validations:

.github/ISSUE_TEMPLATE/2_feature_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ body:
77
value: >
88
Before you go any further, are you sure that this feature is not already implemented?
99
10-
If it's a question about how al-folio works, have a look at our [documentation](https://github.com/alshedivat/al-folio/blob/master/README.md),
11-
[frequently asked questions](https://github.com/alshedivat/al-folio/blob/master/FAQ.md),
10+
If it's a question about how al-folio works, have a look at our [documentation](https://github.com/alshedivat/al-folio/blob/main/README.md),
11+
[frequently asked questions](https://github.com/alshedivat/al-folio/blob/main/FAQ.md),
1212
[past questions](https://github.com/alshedivat/al-folio/discussions/categories/q-a),
1313
or [ask a question](https://github.com/alshedivat/al-folio/discussions/new?category=q-a).
1414
@@ -20,7 +20,7 @@ body:
2020
Please check if somebody else has already filed the same 🚀 feature request.
2121
If you find a similar feature request, please add a 👍 reaction or comment on the original post.
2222
options:
23-
- label: I read through [FAQ](https://github.com/alshedivat/al-folio/blob/master/FAQ.md) and searched through the [past issues](https://github.com/alshedivat/al-folio/issues), none of which addressed my feature request.
23+
- label: I read through [FAQ](https://github.com/alshedivat/al-folio/blob/main/FAQ.md) and searched through the [past issues](https://github.com/alshedivat/al-folio/issues), none of which addressed my feature request.
2424
required: true
2525
- label: Yes, I have checked that this feature request isn't already filed.
2626
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ contact_links:
44
url: https://github.com/alshedivat/al-folio/discussions/categories/q-a
55
about: Ask and answer al-folio related questions.
66
- name: 📖 Read the documentation
7-
url: https://github.com/alshedivat/al-folio/blob/master/README.md
7+
url: https://github.com/alshedivat/al-folio/blob/main/README.md
88
about: Please consult the documentation before opening any issues!

.github/workflows/axe.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ jobs:
4343
}
4444
- name: Install and Build 🔧
4545
run: |
46+
sudo apt-get update && sudo apt-get install -y imagemagick
4647
pip3 install --upgrade jupyter
4748
export JEKYLL_ENV=production
48-
bundle exec jekyll build --lsi
49+
bundle exec jekyll build
4950
- name: Purge unused CSS 🧹
5051
run: |
5152
npm install -g purgecss

.github/workflows/broken-links-site.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131
}
3232
- name: Install and Build 🔧
3333
run: |
34+
sudo apt-get update && sudo apt-get install -y imagemagick
3435
pip3 install --upgrade jupyter
3536
export JEKYLL_ENV=production
36-
bundle exec jekyll build --lsi
37+
bundle exec jekyll build
3738
- name: Purge unused CSS 🧹
3839
run: |
3940
npm install -g purgecss

.github/workflows/broken-links.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Check for broken links
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
paths:
9+
- "assets/**"
10+
- "**.html"
11+
- "**.js"
12+
- "**.liquid"
13+
- "**/*.md"
14+
- "**.yml"
15+
- "!.github/workflows/axe.yml"
16+
- "!.github/workflows/deploy-docker-tag.yml"
17+
- "!.github/workflows/deploy-image.yml"
18+
- "!.github/workflows/docker-slim.yml"
19+
- "!.github/workflows/lighthouse-badger.yml"
20+
- "!.github/workflows/prettier.yml"
21+
- "!lighthouse_results/**"
22+
pull_request:
23+
branches:
24+
- master
25+
- main
26+
paths:
27+
- "assets/**"
28+
- "**.html"
29+
- "**.js"
30+
- "**.liquid"
31+
- "**/*.md"
32+
- "**.yml"
33+
- "!.github/workflows/axe.yml"
34+
- "!.github/workflows/deploy-docker-tag.yml"
35+
- "!.github/workflows/deploy-image.yml"
36+
- "!.github/workflows/docker-slim.yml"
37+
- "!.github/workflows/lighthouse-badger.yml"
38+
- "!.github/workflows/prettier.yml"
39+
- "!lighthouse_results/**"
40+
41+
jobs:
42+
link-checker:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v4
46+
47+
- name: Link Checker 🔗
48+
uses: lycheeverse/lychee-action@v2.1.0
49+
with:
50+
fail: true
51+
# removed md files that include liquid tags
52+
args: --user-agent 'curl/7.54' --exclude-path README.md --exclude-path _pages/404.md --exclude-path _pages/blog.md --exclude-path _posts/2018-12-22-distill.md --exclude-path _posts/2023-04-24-videos.md --exclude-path _books/the_godfather.md --verbose --no-progress './**/*.md' './**/*.html'

0 commit comments

Comments
 (0)