Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
humanagent committed Dec 6, 2023
1 parent 5de131e commit a0003d4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
with:
xcode-version: latest-stable
- name: "Build docs"
run: swift package --allow-writing-to-directory ./docs generate-documentation --target XMTP --disable-indexing --output-path ./docs --hosting-base-path xmtp-ios --transform-for-static-hosting
- name: Setup Pages
run: xcodebuild docbuild -scheme XMTP -destination 'generic/platform=ios'
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './docs'
path: "./docs"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
7 changes: 7 additions & 0 deletions Sources/YourTestTarget/Test.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/// This is a test class for documentation.
public class TestClass {
/// This method does something.
public func doSomething() {
print("Doing something")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

0 comments on commit a0003d4

Please sign in to comment.