Skip to content

Commit

Permalink
removed the MacOS required because we no longer use DocC
Browse files Browse the repository at this point in the history
  • Loading branch information
breautek committed Oct 6, 2024
1 parent fd992c0 commit b056e5b
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
source ../build-tools/DirectoryTools.sh
source ../build-tools/assertions.sh

assertMac "Mac is required to build Fuse Documentation"

echo "Building Fuse JS Reference Documentation..."
npx typedoc --options typedoc.fusejs.json

Expand All @@ -28,23 +26,6 @@ spopd

echo "Building Fuse iOS Reference Documentation..."
doxygen ../ios/Doxyfile
# spushd ../ios
# xcodebuild -quiet -workspace BTFuse.xcworkspace -scheme BTFuse -configuration Release -destination 'generic/platform=iOS' docbuild
# xcodebuild -quiet -workspace BTFuse.xcworkspace -scheme BTFuseTestTools -configuration Release -destination 'generic/platform=iOS' docbuild

# iosBuild=$(echo "$(xcodebuild -workspace BTFuse.xcworkspace -scheme BTFuse -configuration Release -sdk iphoneos -showBuildSettings | grep -E '^\s*CONFIGURATION_BUILD_DIR =' | awk -F '= ' '{print $2}' | xargs)")
# simBuild=$(echo "$(xcodebuild -workspace BTFuse.xcworkspace -scheme BTFuse -configuration Debug -sdk iphonesimulator -showBuildSettings | grep -E '^\s*CONFIGURATION_BUILD_DIR =' | awk -F '= ' '{print $2}' | xargs)")

# rm -rf ../docs/build
# mkdir -p ../docs/build

# rm -rf ../docs/docs/ref/fuse-ios
# mkdir -p ../docs/docs/ref/fuse-ios

# xcrun docc convert ./Overview.docc --fallback-display-name BTFuse --output-dir ../docs/build/Overview.doccarchive
# xcrun docc merge ../docs/build/Overview.doccarchive $iosBuild/BTFuse.doccarchive $iosBuild/BTFuseTestTools.doccarchive --output-path ../docs/build/merged.doccarchive
# xcrun docc process-archive transform-for-static-hosting ../docs/build/merged.doccarchive --hosting-base-path ref/fuse-ios --output-path ../docs/docs/ref/fuse-ios/
# spopd

rm -rf ./docs/ref/fuse-android
cp -r ../android/fuse/build/docs/javadoc ./docs/ref/fuse-android
Expand Down

0 comments on commit b056e5b

Please sign in to comment.