-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate PrebidMobile Documentation (#1034)
* feat: add jazzy configuration * feat: update settings * feat: update settings * feat: update .circleci/config.yml * feat: update .circleci/config.yml * feat: update .circleci/config.yml * feat: update .circleci/config.yml * feat: update * feat: add doc in comments * feat: update doc * feat: update README.md * feat: add upload-docs.yml * feat: update config * feat: update config * feat: update config * feat: update config * feat: update config * feat: update upload-docs-ios.yml * feat: update upload-docs-ios.yml * feat: update upload-docs-ios.yml * feat: update upload-docs-ios.yml * doc: use specific README * doc: update the Overview page * doc: small change to fix build * doc: small change to fix the build * Revert "doc: small change to fix build" This reverts commit 6606584. * Revert "doc: small change to fix the build" This reverts commit 4b5ced4. * feat: update upload-docs-ios.yml * feat: update upload-docs-ios.yml * doc: update README * doc: update README * fix build * fix: update supported GMA SDK version * fix test * fix tests * tests: clean build before running unit tests * feat: add check for operation with docs_new directory * feat: update workflow to abort if conditions are not met --------- Co-authored-by: Yuriy Velichko <yuriy.velichko@ postindustria.com>
- Loading branch information
1 parent
a0dcb0f
commit a20b62e
Showing
82 changed files
with
1,857 additions
and
658 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,6 @@ jobs: | |
name: Run Smoke UI Tests | ||
command: scripts/testPrebidDemo.sh -ui -l | ||
|
||
|
||
workflows: | ||
pr-check: | ||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Upload Docs iOS | ||
|
||
on: | ||
push: | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
- 'test-doc-*' | ||
|
||
jobs: | ||
upload-docs: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout current branch | ||
uses: actions/checkout@v4 | ||
- name: Install Jazzy | ||
run: | | ||
gem install jazzy | ||
- name: Generate docs | ||
run: | | ||
jazzy | ||
cp -r docs docs_new | ||
- name: Checkout docs branch | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: docs | ||
clean: false | ||
- name: Commit documentation changes | ||
run: | | ||
MIN_SIZE=5120 | ||
if [ -d docs_new ] && [ "$(du -s docs_new | cut -f1)" -ge "$MIN_SIZE" ]; then | ||
rm -rf docs | ||
cp -r docs_new docs | ||
rm -rf docs_new | ||
else | ||
echo "docs_new directory either does not exist or is too small." | ||
exit 1 | ||
fi | ||
if [ "$(git status --porcelain | wc -l)" -gt 0 ]; then | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
git status | ||
TAG_NAME=${{ github.ref }} | ||
TAG_NAME=${TAG_NAME#refs/tags/} | ||
echo "Current tag: $TAG_NAME" | ||
git add docs | ||
git commit -m "Generate docs - $TAG_NAME" | ||
else | ||
echo "No changes to commit." | ||
fi | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Ordered by output of `jazzy — help config` | ||
output: docs | ||
clean: true | ||
xcodebuild_arguments: | ||
- -workspace | ||
- PrebidMobile.xcworkspace | ||
- -scheme | ||
- PrebidMobile | ||
- CODE_SIGNING_ALLOWED = NO | ||
author: Prebid | ||
readme: README_API_DOC.md | ||
exclude: | ||
- PrebidMobile/Addendum/* | ||
- PrebidMobile/AdUnits/BannerBasedAdUnitProtocol.swift | ||
- PrebidMobile/AdUnits/VideoBasedAdUnitProtocol.swift | ||
- PrebidMobile/CacheManagement/* | ||
- PrebidMobile/ConfigurationAndTargeting/AgeUtils.swift | ||
- PrebidMobile/ConfigurationAndTargeting/ClickbrowserType.swift | ||
- PrebidMobile/ConfigurationAndTargeting/PrebidGAMVersionChecker.swift | ||
- PrebidMobile/ConfigurationAndTargeting/PrebidSDKInitializer.swift | ||
- PrebidMobile/ConfigurationAndTargeting/PrebidServerStatusRequester.swift | ||
- PrebidMobile/ConfigurationAndTargeting/UserConsentDataManager.swift | ||
- PrebidMobile/Constants.swift | ||
- PrebidMobile/Dispatcher.swift | ||
- PrebidMobile/ImageHelper.swift | ||
- PrebidMobile/JSONConvertible.swift | ||
- PrebidMobile/JsonDecodable.swift | ||
- PrebidMobile/Logging/* | ||
- PrebidMobile/StorageUtils.swift | ||
- PrebidMobile/Tracker* | ||
- PrebidMobile/UIViewExtension.swift | ||
- PrebidMobile/Utils/* | ||
- PrebidMobile/PrebidMobileRendering/AdTypes/AdView/AdConfiguration.swift | ||
- PrebidMobile/PrebidMobileRendering/AdTypes/AdView/AdViewButtonDecorator.swift | ||
- PrebidMobile/PrebidMobileRendering/AdTypes/AdView/HiddenWebViewManager.swift | ||
- PrebidMobile/PrebidMobileRendering/Assets/PrebidImagesRepository.swift | ||
- PrebidMobile/PrebidMobileRendering/AutoRefreshCountConfig.swift | ||
- PrebidMobile/PrebidMobileRendering/Impression* | ||
- PrebidMobile/PrebidMobileRendering/Networking* | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/AdLoading/AdLoadFlowControllerDelegate.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/AdLoading/BannerAdLoaderDelegate.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/BannerEventInteractionDelegate.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/BannerEventLoadingDelegate.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/InterstitialEventInteractionDelegate.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/InterstitialEventLoadingDelegate.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/RewardedEventInteractionDelegate.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/RewardedEventLoadingDelegate.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/BaseInterstitialAdUnitProtocol.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/GAM/InterstitialEventHandlerProtocol.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/MediationAPI/MediationUtils.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/MediationAPI/MediationNativeUtils.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/MediationAPI/MediationConstants.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/MediationAPI/MediationBidInfoWrapper.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/PBMStandaloneSDK/DemandResponseInfo.swift | ||
- PrebidMobile/PrebidMobileRendering/Prebid/Integrations/PBMStandaloneSDK/EventHandlers/* | ||
- PrebidMobile/PrebidMobileRendering/Prebid/PBMCore/* | ||
- PrebidMobile/PrebidMobileRendering/Prebid/PBMCacheRenderers/* | ||
- PrebidMobile/PrebidMobileRendering/PrebidServerEventTracker.swift | ||
- PrebidMobile/PrebidMobileRendering/ServerEvent.swift | ||
- PrebidMobile/PrebidMobileRendering/ServerSideConfiguration/* | ||
- PrebidMobile/PrebidMobileRendering/Skadn* | ||
- PrebidMobile/PrebidMobileRendering/Utilities/* | ||
theme: apple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.