rdoc-markdown 0.10.1 → 0.10.2

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: 95c2805fe0b3c3762f7a90354a6af836c974c86f5d1ebf186a3c4b75aca99d22
4
- data.tar.gz: 2637246dbf1cb793d2b72fe6caecb9ca5d33224963c08207994216ffdd712793
3
+ metadata.gz: 7f62c96dacb7b3f4987b9d48f3f949ac37ee0abe715288139d937f9085e63097
4
+ data.tar.gz: 7a8326a4247d835f83694707f03a851c1a1c676fc40cf29fcfc9e682f6226480
5
5
  SHA512:
6
- metadata.gz: ae4b635a4926dc848337aa7f533ef9f0d2ae683a503ae30d9f9d83d076e05fadbe6ab7b7df6db4fddd74e571904676a0a76b9cadb3245573c3b2a175a2774c48
7
- data.tar.gz: 5981bc64273f6a03de7b0ef2a0201d9a164409efd178292f4fe7ae336c8b29a6040aaba647e51b06a96cd519a7419eff74982213f94c527b328db783b5b6fc91
6
+ metadata.gz: e332801e5958e9f91342c62b2df262270a38386624257835d68ed96c97b4d3a113f9d4d89b723abc5387239dd9425a93accc485bb534b582cfc629ba03f8dce6
7
+ data.tar.gz: cd8a226680fbc336396b23b2f90cfcbe1bf78822426ad538ede0bd44f6e7bd05f0defdf01c2af8b7083fc4aa835c761e527824a727782d19754f74bd8f93773f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.10.2
6
+
7
+ ### Fixed
8
+ - Generated anchors stay inline with headings
9
+
5
10
  ## 0.10.1
6
11
 
7
12
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rdoc-markdown (0.10.1)
4
+ rdoc-markdown (0.10.2)
5
5
  csv
6
6
  erb
7
7
  rdoc
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rdoc
4
4
  module Markdown
5
- VERSION = "0.10.1"
5
+ VERSION = "0.10.2"
6
6
  end
7
7
  end
@@ -1,5 +1,4 @@
1
- # <%= klass.type.capitalize %> <%= display_name(klass) %>
2
- <%= anchor(klass.aref.strip) %>
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
 
@@ -22,8 +21,7 @@
22
21
  ### Constants
23
22
  <% constants.sort_by(&:name).each do |const| -%>
24
23
 
25
- #### `<%= const.name %>`
26
- <%= anchor(const.name) %>
24
+ #### `<%= const.name %>` <%= anchor(const.name) %>
27
25
 
28
26
  <%= describe(const, fallback: "Not documented.", heading_level_offset: 4) %>
29
27
  <% end -%>
@@ -33,8 +31,7 @@
33
31
  ### Attributes
34
32
  <% attributes.sort_by(&:name).each do |attr| -%>
35
33
 
36
- #### `<%= attr.name %>` [<%= attr.rw %>]
37
- <%= anchor(attr.aref.strip) %>
34
+ #### `<%= attr.name %>` [<%= attr.rw %>] <%= anchor(attr.aref.strip) %>
38
35
 
39
36
  <%= describe(attr, fallback: "Not documented.", heading_level_offset: 4) %>
40
37
  <% end -%>
@@ -47,8 +44,7 @@
47
44
  ### <%= visibility.capitalize %> <%= type.capitalize %> Methods
48
45
  <% methods.each do |method| -%>
49
46
 
50
- #### `<%= method.name %><%= method_signature(method) %>`
51
- <%= anchor(method.aref) %>
47
+ #### `<%= method.name %><%= method_signature(method) %>` <%= anchor(method.aref) %>
52
48
 
53
49
  <%= method_description(method, current_class: klass) %>
54
50
  <% 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.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislav (Stas) Katkov