developer icon indicating copy to clipboard operation
developer copied to clipboard

Create docc repo and publish Wallet Core swift docc

Open hewigovens opened this issue 3 years ago • 0 comments

Todo:

  • [x] Create docc repo under Trust
  • [ ] Create main and gh-pages branch
  • [ ] Add GitHub Action
    • [ ] manual dispatch action (tag name)
    • [ ] pull tag and process it
    • [ ] commit to gh-pages
$(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

hewigovens avatar Sep 11 '22 00:09 hewigovens