Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jenly1314 committed Aug 18, 2024
1 parent 028b287 commit 9cd811e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ mv zxing-lite/build/dokka/html/* docs/api

# Copy in special files that GitHub wants in the project root.
GITHUB_URL=https://github.com/jenly1314/ZXingLite/
sed '/<!-- end -->/q' README.md > docs/index.md
sed -i 's|app/src/main/ic_launcher-web.png|($(GITHUB_URL)blob/master/app/src/main/ic_launcher-web.png|g' docs/index.md
sed -i 's|[Image](GIF.gif)|[Image]($(GITHUB_URL)blob/master/GIF.gif)|g' docs/index.md
sed -i 's|[app](app)|[app]($(GITHUB_URL)blob/master/app)|g' docs/index.md
sed "/<!-- end -->/q" README.md > docs/index.md
sed -i "s|app/src/main/ic_launcher-web.png|${GITHUB_URL}blob/master/app/src/main/ic_launcher-web.png|g" docs/index.md
sed -i "s|[Image](GIF.gif)|[Image](${GITHUB_URL}blob/master/GIF.gif)|g" docs/index.md
sed -i "s|[app](app)|[app](${GITHUB_URL}blob/master/app)|g" docs/index.md
cat CHANGELOG.md | grep -v '## 版本日志' > docs/changelog.md

# Build the site locally
Expand Down

0 comments on commit 9cd811e

Please sign in to comment.