├── .github
└── workflows
│ └── docs.yml
├── .gitignore
├── .swiftpm
└── xcode
│ ├── package.xcworkspace
│ └── contents.xcworkspacedata
│ └── xcuserdata
│ └── haren724.xcuserdatad
│ └── xcschemes
│ └── xcschememanagement.plist
├── Package.swift
├── README.md
└── Sources
├── User_Documentation_en_US
├── Documentation.docc
│ ├── Resources
│ │ └── documentation-art
│ │ │ └── WallpaperPlayer-icon@2x.png
│ ├── articles
│ │ ├── import-your-first-wallpaper.md
│ │ └── supported-wallpaper-types.md
│ └── homepage.md
└── UserDocumentation.swift
└── User_Documentation_zh_CN
├── Documentation.docc
├── Resources
│ └── documentation-art
│ │ └── WallpaperPlayer-icon@2x.png
├── articles
│ ├── import-your-first-wallpaper.md
│ └── supported-wallpaper-types.md
└── homepage.md
└── UserDocumentation.swift
/.github/workflows/docs.yml:
--------------------------------------------------------------------------------
1 | name: Documentation
2 |
3 | on:
4 | push:
5 | branches:
6 | - main
7 | workflow_dispatch:
8 |
9 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10 | permissions:
11 | contents: read
12 | pages: write
13 | id-token: write
14 |
15 | # Allow one concurrent deployment
16 | concurrency:
17 | group: "pages"
18 | cancel-in-progress: true
19 |
20 | jobs:
21 | docs:
22 | runs-on: ubuntu-22.04
23 |
24 | steps:
25 | - uses: actions/checkout@v4.2.2
26 | - name: Set up Pages
27 | uses: actions/configure-pages@v5.0.0
28 | - name: Set up Swift
29 | uses: swift-actions/setup-swift@v2.2.0
30 | with:
31 | swift-version: '6.0.0'
32 | - name: Generate Docs (en_US)
33 | run: |
34 | mkdir -p ./docs/en_us
35 | swift package --allow-writing-to-directory ./docs/en_us \
36 | generate-documentation --target "User_Documentation_en_US" \
37 | --disable-indexing \
38 | --transform-for-static-hosting \
39 | --hosting-base-path "wallpaper-player-mac/en_us" \
40 | --output-path ./docs/en_us
41 | - name: Generate Docs (zh_CN)
42 | run: |
43 | mkdir -p ./docs/zh_cn
44 | swift package --allow-writing-to-directory ./docs/zh_cn \
45 | generate-documentation --target "User_Documentation_zh_CN" \
46 | --disable-indexing \
47 | --transform-for-static-hosting \
48 | --hosting-base-path "wallpaper-player-mac/zh_cn" \
49 | --output-path ./docs/zh_cn
50 | - name: Upload artifact
51 | uses: actions/upload-pages-artifact@v3.0.1
52 | with:
53 | path: ./docs
54 |
55 | deploy:
56 | environment:
57 | name: github-pages
58 | url: ${{ steps.deployment.outputs.page_url }}
59 | runs-on: ubuntu-latest
60 | needs: docs
61 |
62 | steps:
63 | - name: Deploy Docs
64 | uses: actions/deploy-pages@v4.0.5
65 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .build
2 | .index-build
3 | DerivedData
4 | /.previous-build
5 | xcuserdata
6 | .DS_Store
7 | *~
8 | \#*
9 | .\#*
10 | .*.sw[nop]
11 | *.xcscmblueprint
12 | /default.profraw
13 | *.xcodeproj
14 | Utilities/Docker/*.tar.gz
15 | .swiftpm
16 | Package.resolved
17 | /build
18 | *.pyc
19 | .docc-build
20 | .vscode
21 | Utilities/InstalledSwiftPMConfiguration/config.json
22 | .devcontainer
23 | xcschememanagement.plist
24 | *.xcscheme
25 |
--------------------------------------------------------------------------------
/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
6 | Testflight 7 |
8 | 9 | Hi there! 10 | I hosted a chat group on QQ: `228230228` 11 | Guys If you are interested in contributing to this project, please 12 | join this chat so that we could communicate much easier. 13 | 14 | 大家好呀! 15 | 我在QQ上建了个群:`228230228` 16 | 如果您有兴趣为这个项目做出贡献,不介意的话加一下呗,以便我们可以更方便地沟通。 17 | -------------------------------------------------------------------------------- /Sources/User_Documentation_en_US/Documentation.docc/Resources/documentation-art/WallpaperPlayer-icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haren724/wallpaper-player-mac/889b9d6694264abb40e2905587cf3f9d42cb8fee/Sources/User_Documentation_en_US/Documentation.docc/Resources/documentation-art/WallpaperPlayer-icon@2x.png -------------------------------------------------------------------------------- /Sources/User_Documentation_en_US/Documentation.docc/articles/import-your-first-wallpaper.md: -------------------------------------------------------------------------------- 1 | # Import your first Wallpaper 2 | 3 | Teach you how to add and display your first wallpaper using this App 4 | 5 | ## Overview 6 | 7 | To learn more about wallpaper types, see