Skip to content

Commit

Permalink
test jazzy docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Nov 13, 2023
1 parent c469f10 commit 03b2545
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
33 changes: 20 additions & 13 deletions .github/workflows/docs-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
- uses: actions/[email protected]
with:
ref: main

- name: Publish Jazzy Docs
uses: steven0351/publish-jazzy-docs@v1
with:
personal_access_token: ${{ secrets.JAZZY_DOCS }}
args: "--root-url https://kukai-crypto-swift.kukai.app/"

#- name: Swift Doc
# uses: SwiftDocOrg/[email protected]
Expand All @@ -20,19 +26,20 @@ jobs:
# format: "html"
# output: "Documentation"
# base-url: "https://kukai-crypto-swift.kukai.app/"


- name: Documentation
uses: sersoft-gmbh/swifty-docs-action@v3
with:
use-xcodebuild: true
output: Documentation
hosting-base-path: "https://kukai-crypto-swift.kukai.app/"
#- name: Documentation
# uses: sersoft-gmbh/swifty-docs-action@v3
# with:
# use-xcodebuild: true
# output: Documentation
# hosting-base-path: "https://kukai-crypto-swift.kukai.app/"


- name: Update Permissions
run: 'sudo chown --recursive $USER Documentation'
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: Documentation
#- name: Update Permissions
# run: 'sudo chown --recursive $USER Documentation'
#- name: Deploy to GitHub Pages
# uses: JamesIves/[email protected]
# with:
# branch: gh-pages
# folder: Documentation
3 changes: 0 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ let package = Package(
.package(url: "https://github.com/jedisct1/swift-sodium", from: "0.9.1"),
.package(url: "https://github.com/Boilertalk/secp256k1.swift", from: "0.1.7"),
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.3.0"),

// Documentation plugin, only needed for github action
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0")
],
targets: [
.target(
Expand Down

0 comments on commit 03b2545

Please sign in to comment.