Skip to content

Commit 7d6f142

Browse files
authored
chore: update images (#47)
1 parent 84e6a0f commit 7d6f142

Some content is hidden

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

57 files changed

+34
-14
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,6 @@ jobs:
8888
## By swap-urls, we don't get error if we rename or move a document.
8989
- name: Check for broken links
9090
run: htmlproofer --swap-urls 'https\://docs.pactus.org:' --ignore-status-codes "999,429,403,0" --ignore-urls=/github.com/,/cdn./,/discord.gg/,/t.me/,/tools.ietf.org/,/www.googletagmanager.com/,/googletagmanager.com/ ./public
91+
92+
- name: Check images
93+
run: python .github/workflows/check_images.py ./static/images

Makefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
build:
2+
hugo
3+
4+
serve:
5+
hugo serve
6+
7+
check: build
8+
mdl --style=.mdlrc.rb ./content
9+
htmlproofer --enforce-https=false --ignore-missing-alt=true --ignore-status-codes "999,429,403,0" --ignore-urls=/github.com/,/cdn./,/discord.gg/,/t.me/,/tools.ietf.org/,/www.googletagmanager.com/,/googletagmanager.com/ ./public
10+
python3 .github/workflows/check_images.py ./static/images
11+
12+
exif:
13+
for i in $(shell find ./static/images -name "*.png" -o -name "*.gif" -o -name "*.jpg" -o -name "*.jpeg"); do \
14+
echo "Processing $$i"; \
15+
exiftool -all= "$$i"; \
16+
done
17+

content/get-started/pactus-gui.md

Lines changed: 11 additions & 11 deletions

content/get-started/troubleshooting.md

Lines changed: 1 addition & 1 deletion

content/protocol/consensus/protocol.md

Lines changed: 2 additions & 2 deletions
-232 Bytes

static/images/apple-touch-icon.png

-232 Bytes

static/images/confirm-seed.png

-32.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)