This commit is contained in:
Jenly
2024-08-18 14:02:11 +08:00
parent c2b2b4b5bd
commit 4393d7de14
9 changed files with 204 additions and 29 deletions

17
build_docs.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/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
cp GIF.gif docs/
# Build the site locally
mkdocs build