Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# @format
name: Documentation

permissions:
contents: write

on:
push:
branches:
- main
tags:
- "*"

concurrency:
group: docs-deploy
cancel-in-progress: false

jobs:
build-and-push-documentation:
runs-on: macos-26

steps:
- name: Select Xcode 26.5
run: sudo xcode-select -s /Applications/Xcode_26.5.app

- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: mise setup
uses: jdx/mise-action@v4
with:
install: true
env:
MISE_HTTP_TIMEOUT: 300
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Resolve documentation version
id: docs-version
env:
REF_TYPE: ${{ github.ref_type }}
REF_NAME: ${{ github.ref_name }}
run: |
if [[ "${REF_TYPE}" == "tag" ]]; then
VERSION="${REF_NAME#v}"
UPDATE_LATEST="false"
else
VERSION="latest"
UPDATE_LATEST="false"
fi

echo "version=${VERSION}" >> "${GITHUB_OUTPUT}"
echo "update_latest=${UPDATE_LATEST}" >> "${GITHUB_OUTPUT}"

echo "Resolved documentation version: ${VERSION}"
echo "Update latest: ${UPDATE_LATEST}"

- name: Build documentation
env:
DOCS_VERSION: ${{ steps.docs-version.outputs.version }}
run: mise run docs:build

- name: Fix permissions
run: sudo chown -R "$USER" .docs-out

- name: Deploy documentation
env:
UPDATE_LATEST: ${{ steps.docs-version.outputs.update_latest }}
run: mise run docs:deploy
25 changes: 0 additions & 25 deletions .github/workflows/main.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# @format
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- "*"
- "!gh-pages"
jobs:
test:
name: Test ${{ matrix.platform }}
runs-on: macos-26
strategy:
fail-fast: false
matrix:
include:
- platform: iOS
destination: "platform=iOS Simulator,OS=26.5,name=iPhone 17 Pro"
- platform: watchOS
destination: "platform=watchOS Simulator,OS=26.5,name=Apple Watch Ultra 3 (49mm)"
- platform: visionOS
destination: "platform=visionOS Simulator,OS=26.5,name=Apple Vision Pro"
- platform: tvOS
destination: "platform=tvOS Simulator,OS=26.5,name=Apple TV"
- platform: macOS
destination: "platform=macOS"
steps:
- name: Select Xcode 26.5
run: sudo xcode-select -s /Applications/Xcode_26.5.app
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: mise setup
uses: jdx/mise-action@v4
with:
install: true
env:
MISE_HTTP_TIMEOUT: 300
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test ${{ matrix.platform }}
run: >
set -euo pipefail

xcodebuild test
-scheme LoggingKit
-destination "${{ matrix.destination }}"
| xcbeautify
121 changes: 14 additions & 107 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,110 +1,17 @@

# Created by https://www.gitignore.io/api/macos,xcode,carthage,cocoapods,fastlane

### Carthage ###
# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
Carthage/Checkouts

Carthage/Build

### CocoaPods ###
## CocoaPods GitIgnore Template

# CocoaPods - Only use to conserve bandwidth / Save time on Pushing
# - Also handy if you have a large number of dependant pods
# - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGNORE THE LOCK FILE
Pods/

### macOS ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Documentation
#Documentation

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Xcode ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
# macOS
.DS_Store
.netrc

# SPM
.swiftpm
/.deriveddata
/.build
/Packages
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint

### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcworkspace/contents.xcworkspacedata
/*.gcno

### fastlane ###
# fastlane - A streamlined workflow tool for Cocoa deployment
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

# fastlane specific
/fastlane/README.md
fastlane/report.xml

# deliver temporary files
fastlane/Preview.html

# snapshot generated screenshots
fastlane/screenshots/**/*.png
fastlane/screenshots/screenshots.html

# scan temporary files
fastlane/test_output

# End of https://www.gitignore.io/api/macos,xcode,carthage,cocoapods,fastlane

.build/**
.bundle/**
.vendor/**
.swiftpm/**
.vendor/**
# Documentation
.documentation_website
*.doccarchive
.docs-out/
*.docc-build/
7 changes: 0 additions & 7 deletions .jazzy.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions .mise/tasks/docs/assets/version-picker.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.version-picker {
display: flex;
align-items: center;
gap: 6px;
margin-left: auto;
padding: 0 16px;
font-size: 14px;
}

.version-picker-label {
color: var(--color-figure-gray-secondary, #6e6e73);
white-space: nowrap;
}

.version-picker-select {
appearance: auto;
background: var(--color-fill, #fff);
border: 1px solid var(--color-grid, #d2d2d7);
border-radius: 4px;
color: var(--color-text, #1d1d1f);
font-size: 13px;
padding: 4px 8px;
cursor: pointer;
}

body[data-color-scheme="dark"] .version-picker-select {
background: var(--color-fill, #1c1c1e);
border-color: var(--color-grid, #424245);
color: var(--color-text, #f5f5f7);
}
Loading