Skip to content

Commit 07d4bb4

Browse files
committed
Add Symbols Doxygen
1 parent a529e1c commit 07d4bb4

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/.vscode
44
/site
55
/tmp
6+
/game.AppImage

scripts/build.sh

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,32 @@ set -e
55
# Build Site
66
mkdocs build --strict
77

8-
# RakNet
8+
# Extra Files
99
if [ -z "${CI}" ]; then
1010
exit 0
1111
fi
12-
cd site/multiplayer
12+
cd site
13+
14+
# RakNet
15+
cd multiplayer
1316
tmp="$(pwd)/tmp"
1417
rm -rf "${tmp}"
1518
mkdir "${tmp}"
1619
name='raknet'
1720
zip="${tmp}/${name}.zip"
18-
url='http://www.jenkinssoftware.com/raknet/downloads/RakNet_PC-4.036.zip'
21+
url='https://web.archive.org/web/20240730202156/http://raknet.net/raknet/downloads/RakNet_PC-4.036.zip'
1922
wget --quiet -O "${zip}" "${url}"
2023
unzip -q -d "${tmp}" "${zip}"
2124
dir="$(pwd)/${name}"
2225
rm -rf "${dir}"
2326
mv "${tmp}/Help" "${dir}"
2427
rm -rf "${tmp}"
28+
cd ../
29+
30+
# Reborn SDK
31+
cd reborn/master
32+
name='symbols-doxygen'
33+
zip="${HOME}/.minecraft-pi/sdk/lib/minecraft-pi-reborn/sdk/${name}.tar.xz"
34+
rm -rf "${name}"
35+
mkdir "${name}"
36+
tar -xf "${zip}" -C "${name}"

scripts/download-reborn-docs.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,15 @@ clone() {
5353

5454
# Latest
5555
clone master
56+
echo '* [Symbols Doxygen](https://mcpi-revival.github.io/docs/reborn/master/symbols-doxygen/)' >> "${DIR}/master/SUMMARY.md"
5657
# 2.X
5758
clone 2.x
59+
60+
# Download MCPI-Reborn SDK
61+
version='3.0.1'
62+
url="https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/releases/download/${version}/minecraft-pi-reborn-${version}-amd64.AppImage"
63+
appimage='game.AppImage'
64+
wget --quiet -O "${appimage}" "${url}"
65+
chmod +x "${appimage}"
66+
"./${appimage}" --appimage-extract-and-run --copy-sdk
67+
rm -f "${appimage}"

0 commit comments

Comments
 (0)