Skip to content

Commit

Permalink
Update documentation script to remove symlink and use podfile for mod…
Browse files Browse the repository at this point in the history
…ule spec
  • Loading branch information
julianlocke committed Apr 3, 2024
1 parent 2e2d625 commit f4ed3b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Format/generate_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ else

echo "Generating documents..."
cd ..
jazzy --readme $sdk_repo_location/README.md --config $sdk_repo_location/.jazzy.json --github_url https://github.com/dropbox/SwiftyDropbox --module-version $sdk_version --module SwiftyDropbox -o $docs_location
jazzy --readme $sdk_repo_location/README.md --config $sdk_repo_location/.jazzy.json --github_url https://github.com/dropbox/SwiftyDropbox --module-version $sdk_version --podspec SwiftyDropbox.podspec -o $docs_location
cd -

cd $docs_repo_location/api-docs
rm latest
ln -s $sdk_version latest
rm -rf latest
mkdir latest
cp -R $sdk_version/* latest/
cd -

echo "Finished generating docs to: $docs_repo_location/api-docs."
Expand Down

0 comments on commit f4ed3b4

Please sign in to comment.