jazzy 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/README.md +23 -2
- data/lib/jazzy/gem_version.rb +1 -1
- data/lib/jazzy/sourcekitten.rb +3 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c8747a4dce6e077126ed85f1edf28d1086a91f803be85d79980408a615c826c
|
4
|
+
data.tar.gz: 94584ede0b4365b7412e07914048961fcd84a3d0f9fe568047a3c4569cbd4b4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c5a22a98d6f7669f1555f8196aea1a0ae9cea6f1a1e08044b8eca819e8e0a1f50976b42570a8f954d23eaa2e4ed9d6f8231335b2751a7d993063829282917bb
|
7
|
+
data.tar.gz: 30b9480645fdff451fc3bf5856c1ffb3bb0aca32349c28c55ccecc0252e5ee13238968db5908c4d90f23f6c748a0ca30d285d429291327c6a41165d7fa0b0ef8
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
## 0.11.1
|
2
|
+
|
3
|
+
##### Breaking
|
4
|
+
|
5
|
+
* None.
|
6
|
+
|
7
|
+
##### Enhancements
|
8
|
+
|
9
|
+
* None.
|
10
|
+
|
11
|
+
##### Bug Fixes
|
12
|
+
|
13
|
+
* Don't use SwiftPM if there is an Xcode workspace or project in a non-root
|
14
|
+
directory.
|
15
|
+
[John Fairhurst](https://github.com/johnfairh)
|
16
|
+
[#1103](https://github.com/realm/jazzy/issues/1103)
|
17
|
+
|
1
18
|
## 0.11.0
|
2
19
|
|
3
20
|
##### Breaking
|
data/README.md
CHANGED
@@ -23,8 +23,11 @@ unacceptable behavior to [info@realm.io](mailto:info@realm.io).
|
|
23
23
|
|
24
24
|
## Requirements
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
You need development tools to build the project you wish to document. Jazzy supports
|
27
|
+
both [Xcode][xcode] and [Swift Package Manager][spm] projects.
|
28
|
+
|
29
|
+
Jazzy expects to be running on __macOS__. See [below](#linux) for tips to run Jazzy
|
30
|
+
on Linux.
|
28
31
|
|
29
32
|
## Installation
|
30
33
|
|
@@ -242,6 +245,24 @@ For example to use Xcode 9.4:
|
|
242
245
|
jazzy --swift-version 4.1.2
|
243
246
|
```
|
244
247
|
|
248
|
+
## Linux
|
249
|
+
|
250
|
+
Jazzy uses [SourceKitten][sourcekitten] to communicate with the Swift build
|
251
|
+
environment and compiler. The `sourcekitten` binary included in the Jazzy gem
|
252
|
+
is built for macOS and so does not run on other operating systems.
|
253
|
+
|
254
|
+
To use Jazzy on Linux you first need to install and build `sourcekitten`
|
255
|
+
following instructions from [SourceKitten's GitHub repository][sourcekitten].
|
256
|
+
|
257
|
+
Then to generate documentation for a SwiftPM project, instead of running just
|
258
|
+
`jazzy` do:
|
259
|
+
```shell
|
260
|
+
sourcekitten doc --spm > doc.json
|
261
|
+
jazzy --sourcekitten-sourcefile doc.json
|
262
|
+
```
|
263
|
+
|
264
|
+
We hope to improve this process in the future.
|
265
|
+
|
245
266
|
## Troubleshooting
|
246
267
|
|
247
268
|
### Swift
|
data/lib/jazzy/gem_version.rb
CHANGED
data/lib/jazzy/sourcekitten.rb
CHANGED
@@ -185,7 +185,9 @@ module Jazzy
|
|
185
185
|
def self.use_spm?(options)
|
186
186
|
options.swift_build_tool == :spm ||
|
187
187
|
(!options.swift_build_tool_configured &&
|
188
|
-
Dir['*.xcodeproj'].empty?
|
188
|
+
Dir['*.xcodeproj', '*.xcworkspace'].empty? &&
|
189
|
+
!options.build_tool_arguments.include?('-project') &&
|
190
|
+
!options.build_tool_arguments.include?('-workspace'))
|
189
191
|
end
|
190
192
|
|
191
193
|
# Builds SourceKitten arguments based on Jazzy options
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jazzy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Simard
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-09-
|
13
|
+
date: 2019-09-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cocoapods
|
@@ -279,7 +279,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
279
279
|
- !ruby/object:Gem::Version
|
280
280
|
version: '0'
|
281
281
|
requirements: []
|
282
|
-
|
282
|
+
rubyforge_project:
|
283
|
+
rubygems_version: 2.7.3
|
283
284
|
signing_key:
|
284
285
|
specification_version: 4
|
285
286
|
summary: Soulful docs for Swift & Objective-C.
|