jazzy 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d85303f765a7df28885d3fcdd9d7d8d89d502c8
4
- data.tar.gz: b03826e493810d8d6fa62f1bb6c3877852d1cdf7
3
+ metadata.gz: ae94356306e611e8d528016fb64e8552f375e512
4
+ data.tar.gz: a74aa7abbe93d6c123f6a12636fe05a4a82eb774
5
5
  SHA512:
6
- metadata.gz: b6daabf69f85b3a83aa8db1598b4a307718b9056b176b580dd981e15d22e3a27fc0dda6b12582eac8af2067a1916bfbb94963ef0666fe18346b91f5f5f29acad
7
- data.tar.gz: 060d7221d8c6a827d78bba090c525740febb55c4323fc71aa626af598cb6562836c0103f71819078c123a42913cd95267c2ec90b3715e392a65e360c7d46ed76
6
+ metadata.gz: 89643d290acf1f0e171f947d3c93ba604de3dbb55b4e37c326f2f73766f1c0d07714ecb9e20d76cfd7b189834e2253b8e916c34bb8bb73b0151d63caa4f3abee
7
+ data.tar.gz: d4266e1d6839e14abfcaf82932604243aa596dddef23de3b83082887ed2fc1d6f29dfbd5123842743c6ce56c30b07ed812e02af2b58b9f9f3f579da1227a733f
@@ -1,3 +1,20 @@
1
+ ## 0.6.2
2
+
3
+ ##### Breaking
4
+
5
+ * None.
6
+
7
+ ##### Enhancements
8
+
9
+ * Include one level of nested classes, structs, protocols and enums in the
10
+ navigation bar.
11
+ [JP Simard](https://github.com/jpsim)
12
+ [#64](https://github.com/realm/jazzy/issues/64)
13
+
14
+ ##### Bug Fixes
15
+
16
+ * None.
17
+
1
18
  ## 0.6.1
2
19
 
3
20
  ##### Breaking
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jazzy (0.6.1)
4
+ jazzy (0.6.2)
5
5
  cocoapods (~> 0.39)
6
6
  mustache (~> 0.99)
7
7
  open4
@@ -31,8 +31,14 @@ module Jazzy
31
31
  docs.map do |doc|
32
32
  children = doc.children
33
33
  .sort_by { |c| [c.nav_order, c.name] }
34
- .map do |child|
35
- { name: child.name, url: child.url }
34
+ .flat_map do |child|
35
+ # FIXME: include arbitrarily nested extensible types
36
+ [{ name: child.name, url: child.url }] +
37
+ Array(child.children.select do |sub_child|
38
+ sub_child.type.swift_extensible?
39
+ end).map do |sub_child|
40
+ { name: "– #{sub_child.name}", url: sub_child.url }
41
+ end
36
42
  end
37
43
  {
38
44
  section: doc.name,
@@ -1,3 +1,3 @@
1
1
  module Jazzy
2
- VERSION = '0.6.1'.freeze unless defined? Jazzy::VERSION
2
+ VERSION = '0.6.2'.freeze unless defined? Jazzy::VERSION
3
3
  end
@@ -224,6 +224,7 @@ header {
224
224
  .nav-group-task {
225
225
  font-size: 0.9em;
226
226
  list-style-type: none;
227
+ white-space: nowrap;
227
228
  a {
228
229
  color: #888;
229
230
  }
@@ -325,6 +325,7 @@ pre code {
325
325
  .nav-group-task {
326
326
  font-size: 1em;
327
327
  list-style-type: none;
328
+ white-space: nowrap;
328
329
  }
329
330
 
330
331
  .nav-group-task-link {
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.6.1
4
+ version: 0.6.2
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: 2016-05-19 00:00:00.000000000 Z
13
+ date: 2016-05-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cocoapods