Files
ZXingLite/build_docs.sh
2024-08-18 14:28:27 +08:00

17 lines
343 B
Bash
Executable File

#!/bin/bash
set -ex
# Generate the API docs
./gradlew dokkaHtml
mkdir -p docs/api
mv zxing-lite/build/dokka/html/* docs/api
# Copy in special files that GitHub wants in the project root.
sed '/<!-- end -->/q' README.md > docs/index.md
cat CHANGELOG.md | grep -v '## 版本日志' > docs/changelog.md
# Build the site locally
mkdocs build