Skip to content

2.0.3 #1703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jan 29, 2024
Merged

2.0.3 #1703

Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"homepage": "https://github.com/arduino/docs-content#readme",
"dependencies": {
"@arduino/docs-arduino-cc": "^2.0.3-alpha-2",
"gatsby": "^5.11.0",
"@arduino/docs-arduino-cc": "^2.0.3",
"gatsby": "^5.11.0",
"gatsby-background-image": "^1.6.0",
"gatsby-image": "^3.11.0",
"gatsby-plugin-gatsby-cloud": "^5.11.0",
Expand Down
13 changes: 13 additions & 0 deletions scripts/datasheet-rendering/render-datasheets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,30 @@ if [ -n "$CI" ]; then
# Fix for SSL problem in phantom.js
# export OPENSSL_CONF=/etc/ssl/

fc-list :lang=zh

apt-get install -y language-pack-zh*

fc-list :lang=zh

mkdir /usr/share/fonts/truetype/open-sans
mkdir /usr/share/fonts/truetype/roboto-mono
mkdir /usr/share/fonts/truetype/noto-sans-sc
mkdir /usr/share/fonts/truetype/noto-sans-tc

cp -a ./styles/fonts/OpenSans*.ttf /usr/share/fonts/truetype/open-sans
cp -a ./styles/fonts/RobotoMono*.ttf /usr/share/fonts/truetype/roboto-mono
cp -a ./styles/fonts/NotoSansSC*.ttf /usr/share/fonts/truetype/noto-sans-sc
cp -a ./styles/fonts/NotoSansTC*.ttf /usr/share/fonts/truetype/noto-sans-tc
fc-cache /usr/share/fonts

echo "Font info:"
fc-list | grep "OpenSans"
fc-list | grep "RobotoMono"
fc-list | grep "NotoSansSC"
fc-list | grep "NotoSansTC"

# apt-get install fonts-wqy-microhei ttf-wqy-microhei fonts-wqy-zenhei ttf-wqy-zenhei
apt-get -qq update -y
# SEE: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix
apt-get -qq install -y -o=Dpkg::Use-Pty=0 ca-certificates fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils
Expand Down
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.