Skip to content

Commit ff0f6df

Browse files
Matteo-itsebromero
andauthored
2.0.3 (#1703)
* 2.0.3 * Add Chinese font true type * Update datasheets font * Tentative: chinese font * Tentative: chinese font * 2.0.3-alpha-4 * 2.0.3-alpha-5 * 2.0.3 * Update scripts/datasheet-rendering/render-datasheets.sh Co-authored-by: Sebastian Romero <[email protected]> * Update scripts/datasheet-rendering/render-datasheets.sh Co-authored-by: Sebastian Romero <[email protected]> * Update scripts/datasheet-rendering/render-datasheets.sh Co-authored-by: Sebastian Romero <[email protected]> * 2.0.3 --------- Co-authored-by: Sebastian Romero <[email protected]>
1 parent e4a2486 commit ff0f6df

14 files changed

+12
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
},
1919
"homepage": "https://github.com/arduino/docs-content#readme",
2020
"dependencies": {
21-
"@arduino/docs-arduino-cc": "^2.0.3-alpha-2",
22-
"gatsby": "^5.11.0",
21+
"@arduino/docs-arduino-cc": "^2.0.3",
22+
"gatsby": "^5.11.0",
2323
"gatsby-background-image": "^1.6.0",
2424
"gatsby-image": "^3.11.0",
2525
"gatsby-plugin-gatsby-cloud": "^5.11.0",

scripts/datasheet-rendering/render-datasheets.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,20 @@ if [ -n "$CI" ]; then
88

99
mkdir /usr/share/fonts/truetype/open-sans
1010
mkdir /usr/share/fonts/truetype/roboto-mono
11+
mkdir /usr/share/fonts/truetype/noto-sans-sc
12+
mkdir /usr/share/fonts/truetype/noto-sans-tc
1113

1214
cp -a ./styles/fonts/OpenSans*.ttf /usr/share/fonts/truetype/open-sans
1315
cp -a ./styles/fonts/RobotoMono*.ttf /usr/share/fonts/truetype/roboto-mono
16+
cp -a ./styles/fonts/NotoSansSC*.ttf /usr/share/fonts/truetype/noto-sans-sc
17+
cp -a ./styles/fonts/NotoSansTC*.ttf /usr/share/fonts/truetype/noto-sans-tc
1418
fc-cache /usr/share/fonts
1519

1620
echo "Font info:"
1721
fc-list | grep "OpenSans"
1822
fc-list | grep "RobotoMono"
23+
fc-list | grep "NotoSansSC"
24+
fc-list | grep "NotoSansTC"
1925

2026
apt-get -qq update -y
2127
# SEE: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)