developer
developer copied to clipboard
Create docc repo and publish Wallet Core swift docc
Todo:
- [x] Create
doccrepo under Trust - [ ] Create
mainandgh-pagesbranch - [ ] Add GitHub Action
-
- [ ] manual dispatch action (tag name)
-
- [ ] pull tag and process it
-
- [ ] commit to
gh-pages
- [ ] commit to
$(xcrun --find docc) process-archive \
transform-for-static-hosting PATH_TO_DOARCHIVE_FILE \
--output-path PATH_TO_SAVE_FILES \
--hosting-base-path URL_BASE_PATH
#URL_BASE_PATH=docc
Reference:
- https://github.com/apple/swift-markdown/blob/main/bin/update-gh-pages-documentation-site#L36
- https://gist.github.com/alfianlosari/9469a4d0ddf528355cdd64513999f431