rdoc-markdown 0.13.1 → 0.13.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/rdoc/markdown/version.rb +1 -1
- data/lib/templates/classfile.md.erb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8d5874e33560a773358b53ee711bb485e0daecde88e51ca7dd95c54046bcede
|
|
4
|
+
data.tar.gz: 876f010a0efd3779ca28d93dd60567b100cc20e28e5aa9fc93446b07fb9be6fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3bbc5ee66dabe686f3c984a2aeffc251c77c6315646c475b45a2076d039100e034d2cc482c6d1070c8ed49dde3e12a82b2c2350bd90b51103730568ccbf611e
|
|
7
|
+
data.tar.gz: 9d7941c568619a5c149bc844519b90bbe9d25530714a386e4a275286a95226ef308dba5e2c30f6b25b78d989eb9d81270b5a4a4486823b315eb93277d67305c5
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
<%- superclass = klass.superclass if klass.type == "class" -%>
|
|
3
3
|
<%- includes = klass.includes -%>
|
|
4
4
|
<%- source_files = klass.in_files -%>
|
|
5
|
-
<%-
|
|
5
|
+
<%- has_metadata = superclass || !includes.empty? || !source_files.empty? -%>
|
|
6
|
+
<%- if has_metadata -%>
|
|
6
7
|
|
|
7
8
|
| | |
|
|
8
9
|
| --- | --- |
|
|
@@ -15,17 +16,16 @@
|
|
|
15
16
|
<%- unless source_files.empty? -%>
|
|
16
17
|
| **Defined in** | <%= source_files.map { |file| metadata_table_cell(file.relative_name) }.join(", ") %> |
|
|
17
18
|
<%- end -%>
|
|
18
|
-
<%- end -%>
|
|
19
19
|
|
|
20
|
+
<%- end -%>
|
|
20
21
|
<%- class_description = describe(klass) -%>
|
|
21
22
|
<%- unless class_description.empty? -%>
|
|
22
23
|
<%= class_description %>
|
|
23
|
-
<%- end -%>
|
|
24
24
|
|
|
25
|
+
<%- end -%>
|
|
25
26
|
<% klass.each_section do |section, constants, attributes| -%>
|
|
26
27
|
<%- section_title = section.title.to_s.strip -%>
|
|
27
28
|
<%- unless section_title.empty? -%>
|
|
28
|
-
|
|
29
29
|
## <%= section_title %>
|
|
30
30
|
<%- end -%>
|
|
31
31
|
<%- section_description = section_description(section, heading_level_offset: 2) -%>
|