Skip to content

Commit 53dfa24

Browse files
committed
updated to be multilanguage with search alfolio
2 parents dff9f3e + 901c82f commit 53dfa24

File tree

353 files changed

+40352
-45174
lines changed

Some content is hidden

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

353 files changed

+40352
-45174
lines changed

.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+
}

.dockerignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
_site/
22
.git/
33
assets/
4-
original_photos/
5-
scripts/

.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: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ 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),
13-
or [ask a question](https://github.com/alshedivat/al-folio/discussions/new?category=q-a).
13+
or [ask a question](https://github.com/alshedivat/al-folio/discussions/new?category=q-a) there. If your question is related to localization,
14+
please check if it was not already answered in the Q&A section of the [GitHub Discussions](https://github.com/george-gca/multi-language-al-folio/discussions/categories/q-a) or
15+
[ask a question](https://github.com/george-gca/multi-language-al-folio/discussions/new?category=q-a).
1416
1517
- type: checkboxes
1618
id: requirements
@@ -20,7 +22,7 @@ body:
2022
Please check if somebody else has already filed the same issue.
2123
If you find a similar issue, please add a 👍 reaction or comment on the original post.
2224
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.
25+
- label: I read through [FAQ](https://github.com/george-gca/multi-language-al-folio/blob/main/FAQ.md) and searched through the past issues both in the [original repo](https://github.com/alshedivat/al-folio/issues) and [this one](https://github.com/george-gca/multi-language-al-folio/issues), none of which addressed my issue.
2426
required: true
2527
- label: Yes, I have checked that this issue isn't already filed.
2628
required: true
@@ -81,7 +83,8 @@ body:
8183
description: select all environments where you have experienced this issue
8284
multiple: true
8385
options:
84-
- "Running locally with Docker"
86+
- "Running locally with Docker (docker compose)"
87+
- "Running locally with Docker (devcontainer)"
8588
- "Running locally without Docker"
8689
- "Deployed site"
8790
validations:

.github/ISSUE_TEMPLATE/2_feature_request.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ 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),
13-
or [ask a question](https://github.com/alshedivat/al-folio/discussions/new?category=q-a).
13+
or [ask a question](https://github.com/alshedivat/al-folio/discussions/new?category=q-a) there. If your question is related to localization,
14+
please check if it was not already answered in the Q&A section of the [GitHub Discussions](https://github.com/george-gca/multi-language-al-folio/discussions/categories/q-a) or
15+
[ask a question](https://github.com/george-gca/multi-language-al-folio/discussions/new?category=q-a).
1416
1517
- type: checkboxes
1618
id: requirements
@@ -20,7 +22,7 @@ body:
2022
Please check if somebody else has already filed the same 🚀 feature request.
2123
If you find a similar feature request, please add a 👍 reaction or comment on the original post.
2224
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.
25+
- label: I read through [FAQ](https://github.com/george-gca/multi-language-al-folio/blob/main/FAQ.md) and searched through the past issues both in the [original repo](https://github.com/alshedivat/al-folio/issues) and [this one](https://github.com/george-gca/multi-language-al-folio/issues), none of which addressed my issue.
2426
required: true
2527
- label: Yes, I have checked that this feature request isn't already filed.
2628
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ contact_links:
33
- name: ❓ Ask a Question
44
url: https://github.com/alshedivat/al-folio/discussions/categories/q-a
55
about: Ask and answer al-folio related questions.
6+
- name: ❓ Ask a Question (Localization)
7+
url: https://github.com/george-gca/multi-language-al-folio/discussions/categories/q-a
8+
about: Ask and answer al-folio questions related to localization.
69
- name: 📖 Read the documentation
7-
url: https://github.com/alshedivat/al-folio/blob/master/README.md
10+
url: https://github.com/george-gca/multi-language-al-folio/blob/main/README.md
811
about: Please consult the documentation before opening any issues!

.github/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ changelog:
33
labels:
44
- ignore-for-release
55
categories:
6+
- title: breaking changes ⚠️
7+
labels:
8+
- breaking change
69
- title: new features 🚀
710
labels:
811
- enhancement
9-
- title: bug fixes and improvements ✨
12+
- title: bug fixes 🐞 and improvements ✨
1013
labels:
1114
- bug-fix
1215
- title: other changes 🛠️

.github/workflows/axe.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
steps:
2727
- name: Checkout 🛎️
2828
uses: actions/checkout@v4
29+
with:
30+
ref: gca
2931
- name: Setup Ruby
3032
uses: ruby/setup-ruby@v1
3133
with:
@@ -43,9 +45,10 @@ jobs:
4345
}
4446
- name: Install and Build 🔧
4547
run: |
48+
sudo apt-get update && sudo apt-get install -y imagemagick
4649
pip3 install --upgrade jupyter
4750
export JEKYLL_ENV=production
48-
bundle exec jekyll build --lsi
51+
bundle exec jekyll build
4952
- name: Purge unused CSS 🧹
5053
run: |
5154
npm install -g purgecss

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout 🛎️
1616
uses: actions/checkout@v4
17+
with:
18+
ref: gca
1719
- name: Setup Ruby
1820
uses: ruby/setup-ruby@v1
1921
with:
@@ -31,9 +33,10 @@ jobs:
3133
}
3234
- name: Install and Build 🔧
3335
run: |
36+
sudo apt-get update && sudo apt-get install -y imagemagick
3437
pip3 install --upgrade jupyter
3538
export JEKYLL_ENV=production
36-
bundle exec jekyll build --lsi
39+
bundle exec jekyll build
3740
- name: Purge unused CSS 🧹
3841
run: |
3942
npm install -g purgecss

.github/workflows/broken-links.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ name: Check for broken links
33
on:
44
push:
55
branches:
6-
- master
7-
- main
6+
- gca
87
paths:
98
- "assets/**"
109
- "**.html"
1110
- "**.js"
1211
- "**.liquid"
13-
- "**/*.md"
12+
- "**/**.md"
1413
- "**.yml"
1514
- "!.github/workflows/axe.yml"
1615
- "!.github/workflows/deploy-docker-tag.yml"
@@ -28,7 +27,7 @@ on:
2827
- "**.html"
2928
- "**.js"
3029
- "**.liquid"
31-
- "**/*.md"
30+
- "**/**.md"
3231
- "**.yml"
3332
- "!.github/workflows/axe.yml"
3433
- "!.github/workflows/deploy-docker-tag.yml"
@@ -45,8 +44,8 @@ jobs:
4544
- uses: actions/checkout@v4
4645

4746
- name: Link Checker 🔗
48-
uses: lycheeverse/lychee-action@v1.9.0
47+
uses: lycheeverse/lychee-action@v2.1.0
4948
with:
5049
fail: true
5150
# removed md files that include liquid tags
52-
args: --exclude-path README.md --exclude-path _pages/404.md --exclude-path _pages/blog.md --exclude-path _posts/2018-12-22-distill.md --verbose --no-progress './**/*.md' './**/*.html'
51+
args: --user-agent 'curl/7.54' --exclude-path README.md --exclude-path _pages/en-us/404.md --exclude-path _pages/pt-br/404.md --exclude-path _pages/en-us/blog.md --exclude-path _pages/pt-br/blog.md --exclude-path --exclude-path _books/en-us/the_godfather.md --exclude-path _books/pt-br/the_godfather.md --verbose --no-progress './**/*.md' './**/*.html'

0 commit comments

Comments
 (0)