Commit 31d368e
Publish API docs to
This PR adds publishing API docs for the latest sdk version to the
`ios/maps/api/latest`/`android/maps/api/latest` for iOS/Android.
Decision logic for doc publishing is encapsulated in
`.github/actions/docs/check-latest/action.yml` action.
For iOS I duplicated doc building step as there are version-specific
paths, we build one doc archive to be hosted under `/xx.xx.xx` path and
another for `/latest`.
For Android I didn't notice anything version-specific, so the same
artifact is uploaded both for `/xx.xx.xx` and `/latest` paths.
I also fixed iOS create docs PR script erroring out if the documentation
branch already exists(basically on rerun) by skipping PR creation in
this case.
Addresses: https://mapbox.atlassian.net/browse/MAPSSDK-832
Test runs:
New latest `11.999.999` -
https://github.com/mapbox/mapbox-sdk/actions/runs/18405591378
Patch `11.14.999` -
https://github.com/mapbox/mapbox-sdk/actions/runs/18405626406
Pre-release `11.17.999-beta.1` -
https://github.com/mapbox/mapbox-sdk/actions/runs/18405666478
cc @mapbox/maps-ios
cc @mapbox/sdk-ci
cc @mapbox/maps-android
---------
Co-authored-by: Ivan Persidskii <[email protected]>
GitOrigin-RevId: d2cde23743855fa384ab29cf11d6923e052373c9/latest (#7301)1 parent f71e729 commit 31d368e
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
| |||
0 commit comments