Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb committed Nov 10, 2024
2 parents d0f69d7 + b8487d9 commit a567d5a
Show file tree
Hide file tree
Showing 34 changed files with 1,662 additions and 19 deletions.
3 changes: 1 addition & 2 deletions src/config/2024.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"part": "I",
"chapter_number": "5",
"title": "Fonts",
"slug": "fonts",
"todo": true
"slug": "fonts"
},
{
"part": "I",
Expand Down
61 changes: 60 additions & 1 deletion src/config/contributors.json
Original file line number Diff line number Diff line change
Expand Up @@ -750,9 +750,13 @@
"2022": [
"analysts",
"authors"
],
"2024": [
"authors"
]
},
"twitter": "bram_stein",
"mastodon": "https://typo.social/@bram",
"linkedin": "bramstein",
"website": "http://www.bramstein.com/"
},
"clarkio": {
Expand Down Expand Up @@ -938,6 +942,18 @@
"twitter": "catalinred",
"website": "https://catalin.red/"
},
"charlesberret": {
"avatar_url": "3780812",
"name": "Charles Berret",
"github": "cberret",
"website": "https://charlesberret.net/",
"teams": {
"2024": [
"authors",
"editors"
]
}
},
"huijing": {
"avatar_url": "1461498",
"github": "huijing",
Expand Down Expand Up @@ -997,6 +1013,9 @@
],
"2022": [
"reviewers"
],
"2024": [
"reviewers"
]
},
"twitter": "svgeesus",
Expand Down Expand Up @@ -1263,6 +1282,16 @@
},
"twitter": "dominiclovell"
},
"drott": {
"avatar_url": "1021784",
"github": "drott",
"name": "Dominik Röttsches",
"teams": {
"2024": [
"reviewers"
]
}
},
"dougsillars": {
"avatar_url": "1514288",
"github": "dougsillars",
Expand Down Expand Up @@ -1893,6 +1922,17 @@
},
"website": "https://sites.google.com/view/iuliacomsa/"
},
"ivanukhov": {
"avatar_url": "57440",
"github": "IvanUkhov",
"name": "Ivan Ukhov",
"teams": {
"2024": [
"analysts",
"reviewers"
]
}
},
"SilentJMA": {
"avatar_url": "16384750",
"github": "SilentJMA",
Expand Down Expand Up @@ -2268,6 +2308,9 @@
"teams": {
"2022": [
"reviewers"
],
"2024": [
"reviewers"
]
},
"twitter": "jmsoleb",
Expand Down Expand Up @@ -2567,6 +2610,16 @@
},
"twitter": "Zizzamia"
},
"liamquin": {
"avatar_url": "8258535",
"github": "liamquin",
"name": "Liam Quin",
"teams": {
"2024": [
"reviewers"
]
}
},
"lirantal": {
"avatar_url": "316371",
"github": "lirantal",
Expand Down Expand Up @@ -2684,6 +2737,9 @@
"teams": {
"2020": [
"reviewers"
],
"2024": [
"reviewers"
]
},
"twitter": "Mandy_Kerr",
Expand Down Expand Up @@ -3583,6 +3639,9 @@
"teams": {
"2020": [
"authors"
],
"2024": [
"reviewers"
]
},
"twitter": "raphlinus",
Expand Down
1,607 changes: 1,596 additions & 11 deletions src/content/en/2024/fonts.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2024/fonts/font-sizes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2024/fonts/hosting-type.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2024/fonts/nabla-color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/static/images/2024/fonts/webfont-usage.png
Binary file added src/static/images/2024/fonts/woff2-font-sizes.png
Binary file added src/static/images/2024/fonts/writing-systems.png
2 changes: 1 addition & 1 deletion src/tools/generate/generate_rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const generate_rss = async (configs, rss_chapters, rss_languages) => {
const updatedate = get_update_date(`${language}/${year}/chapters/${chapter}.html`);
const url = convert_file_name(`${language}/${year}/${chapter}`);
title = `${title} (${year})`;
authors = authors.map(author => configs[year].contributors[author].name.replace(/\\/g, '\\\\').replace(/"/g, '\\"'));
authors = authors.map(author => configs[year].contributors[author]?.name?.replace(/\\/g, '\\\\')?.replace(/"/g, '\\"'));
authors = '"' + authors.join('","') + '"';

// Capture the latest updated date as the overall rss updated date
Expand Down
8 changes: 4 additions & 4 deletions src/tools/generate/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ simpleConverter.setOption('ghMentions', false);

const convertSimpleMarkdown = (text) => {
// Showdown replaces & with & so convert those back to avoid escape issues
let convertedText = text.replace(/&/g,'&');
let convertedText = text?.replace(/&/g,'&');
convertedText = simpleConverter.makeHtml(convertedText);
// As we've converted again, need to convert back & again
convertedText = convertedText.replace(/&/g,'&');
convertedText = convertedText?.replace(/&/g,'&');
// Strip paragraph tags from beginning and end
convertedText = convertedText.replace(/^<p>/,'');
convertedText = convertedText.replace(/<\/p>$/,'');
convertedText = convertedText?.replace(/^<p>/,'');
convertedText = convertedText?.replace(/<\/p>$/,'');
return convertedText;
};

Expand Down

0 comments on commit a567d5a

Please sign in to comment.