Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation script to remove symlink and use podfile for module spec #416

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading