rdoc-markdown 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 405929506a512e2000ebf5446b834abc96b1d5547fc3d6ec09daecf28356f4d5
4
- data.tar.gz: b3d82d2787e012d16d9ca72d72fa2617e096315ea11eb80db0874fd609cb938b
3
+ metadata.gz: a9e7c9de1a47770ad5a481a5908b247c1baf4bc5d65db6afa1bc130f61308768
4
+ data.tar.gz: 2263b102aaf74238b723e292348c98da4f99b75e6bfd62399f73f6d336667ea7
5
5
  SHA512:
6
- metadata.gz: acf30a9851cbb932c3a51a05541b296cb0d2f5c5b910b40812824c43c69ee9e423312c3b07ccceff901b0cea2889bc5f2f8373bd0a79f40985d232183185d5e5
7
- data.tar.gz: 6d994d364f33251761a52f58e69dc534cd4806c2eea806e9d536f65b681a92b4d0b1e096436012c3d0aad6dac07bcad379620ce7a94b09ebd2c28e43bf9349d6
6
+ metadata.gz: 970c61173dbdc3fa191becf7f5f6ba6dd0116e2ff03a69617488ec30d356b663cb071deb4786c2fed900abc064b53f76d26994c2fcfb39c742ce614d55fbb781
7
+ data.tar.gz: 40bb22da2e8a70a115c30f5d530860c41780129ec472c9e591704fc54ca09ccf84b677bac0d16c8d82f1b5ab95ddef9c3e0d4eb34a7d59945bbc41dddc573c5c
data/.yard-lint.yml CHANGED
@@ -8,7 +8,13 @@ AllValidators:
8
8
 
9
9
  Exclude:
10
10
  - '\.git'
11
+ - ".erb_linters"
12
+ - ".erb_linters/**/*"
13
+ - "coverage"
14
+ - "coverage/**/*"
15
+ - "tmp"
11
16
  - "vendor/**/*"
17
+ - "vendor"
12
18
  - "node_modules/**/*"
13
19
  - "spec/**/*"
14
20
  - "test/**/*"
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.11.1
6
+
7
+ - Changed headings from standalone anchors to adjacent inline anchors:
8
+
5
9
  ## 0.11.0
6
10
 
7
11
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rdoc-markdown (0.11.0)
4
+ rdoc-markdown (0.11.1)
5
5
  csv
6
6
  erb
7
7
  rdoc
@@ -5,6 +5,6 @@ module Rdoc
5
5
  # @private
6
6
  module Markdown
7
7
  # @private
8
- VERSION = "0.11.0"
8
+ VERSION = "0.11.1"
9
9
  end
10
10
  end
@@ -1,5 +1,4 @@
1
- <%= anchor(klass.aref.strip) %>
2
- # <%= klass.type.capitalize %> <%= display_name(klass) %>
1
+ # <%= klass.type.capitalize %> <%= display_name(klass) %><%= anchor(klass.aref.strip) %>
3
2
  <%- class_description = describe(klass) -%>
4
3
  <%- unless class_description.empty? -%>
5
4
  <%= class_description %>
@@ -21,8 +20,7 @@
21
20
  ### Constants
22
21
  <% constants.sort_by(&:name).each do |const| -%>
23
22
 
24
- <%= anchor(const.name) %>
25
- #### `<%= const.name %>`
23
+ #### `<%= const.name %>`<%= anchor(const.name) %>
26
24
  <%= describe(const, fallback: "Not documented.", heading_level_offset: 4) %>
27
25
  <% end -%>
28
26
  <%- end -%>
@@ -31,8 +29,7 @@
31
29
  ### Attributes
32
30
  <% attributes.sort_by(&:name).each do |attr| -%>
33
31
 
34
- <%= anchor(attr.aref.strip) %>
35
- #### `<%= attr.name %>` [<%= attr.rw %>]
32
+ #### `<%= attr.name %>` [<%= attr.rw %>]<%= anchor(attr.aref.strip) %>
36
33
  <%= describe(attr, fallback: "Not documented.", heading_level_offset: 4) %>
37
34
  <% end -%>
38
35
  <%- end -%>
@@ -44,8 +41,7 @@
44
41
  ### <%= visibility.capitalize %> <%= type.capitalize %> Methods
45
42
  <% methods.each do |method| -%>
46
43
 
47
- <%= anchor(method.aref) %>
48
- #### `<%= method.name %><%= method_signature(method) %>`
44
+ #### `<%= method.name %><%= method_signature(method) %>`<%= anchor(method.aref) %>
49
45
  <%= method_description(method, current_class: klass) %>
50
46
  <% end -%>
51
47
  <% end -%>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislav (Stas) Katkov