-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23fd02d
commit 1912b32
Showing
32 changed files
with
130 additions
and
907 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Deploy Docs | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
|
||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
Deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: macos-14 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build Docs | ||
run: | | ||
xcrun xcodebuild docbuild \ | ||
-scheme SettingsKit \ | ||
-destination 'generic/platform=macOS' \ | ||
-derivedDataPath "$PWD/.derivedData" | ||
xcrun docc process-archive transform-for-static-hosting \ | ||
"$PWD/.derivedData/Build/Products/Debug/Adwaita.doccarchive" \ | ||
--output-path "docs" \ | ||
--hosting-base-path "settingskit-macos" | ||
- name: Modify Docs | ||
run: | | ||
echo "<script>window.location.href += \"/documentation/settingskit\"</script>" > docs/index.html; | ||
sed -i '' 's/,2px/,10px/g' docs/css/index.038e887c.css | ||
- name: Upload Artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: 'docs' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ DerivedData/ | |
.swiftpm/ | ||
.netrc | ||
/Package.resolved | ||
.Ulysses-Group.plist | ||
.Ulysses-Group.plist | ||
/.docc-build |
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
Documentation/Reference/SettingsKit/classes/SettingsModel.md
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
Documentation/Reference/SettingsKit/enums/SettingsAction.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
Documentation/Reference/SettingsKit/extensions/ButtonStyle.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
Documentation/Reference/SettingsKit/extensions/KeyboardShortcut.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.