rdoc-markdown 0.3.6 → 0.4
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/Gemfile.lock +4 -4
- data/example/Object.md +1 -3
- data/example/RDoc/Generator/Markdown.md +1 -3
- data/lib/rdoc/generator/markdown.rb +1 -0
- data/lib/rdoc/markdown/version.rb +1 -1
- data/lib/templates/classfile.md.erb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 701b08501deaf21f981b61001ec79249d506f685a755b0931ccb40f19a93690f
|
|
4
|
+
data.tar.gz: e3d5b50d3599a08004aaa182426477adeaeb539ff0215a92cd10485007282c88
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79c8b70b7e4a2e5b1a763d66cb8e8210c8b51250c1afdcb0de9fb5a96607f3347f060731540426b7641767d1cd6bd50ad8be3a56749facdc16e3cb8e93c4c704
|
|
7
|
+
data.tar.gz: 051f1cf3cc914fededfebb6db13d0c121b82e5e01de1b51f43a5af27f886929a0b6a3ddea27c7691ea6d46707778c290be142483e065146e2fc0e7db4b131b48
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rdoc-markdown (0.
|
|
4
|
+
rdoc-markdown (0.4)
|
|
5
5
|
erb (~> 2.0)
|
|
6
6
|
extralite-bundle (~> 1.0)
|
|
7
7
|
rdoc (~> 6.0)
|
|
@@ -49,13 +49,13 @@ GEM
|
|
|
49
49
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
50
50
|
rubocop-ast (1.23.0)
|
|
51
51
|
parser (>= 3.1.1.0)
|
|
52
|
-
rubocop-performance (1.15.
|
|
52
|
+
rubocop-performance (1.15.1)
|
|
53
53
|
rubocop (>= 1.7.0, < 2.0)
|
|
54
54
|
rubocop-ast (>= 0.4.0)
|
|
55
55
|
ruby-progressbar (1.11.0)
|
|
56
|
-
standard (1.18.
|
|
56
|
+
standard (1.18.1)
|
|
57
57
|
rubocop (= 1.39.0)
|
|
58
|
-
rubocop-performance (= 1.15.
|
|
58
|
+
rubocop-performance (= 1.15.1)
|
|
59
59
|
stringio (3.0.2)
|
|
60
60
|
unicode-display_width (2.3.0)
|
|
61
61
|
unindent (1.0)
|
data/example/Object.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
## Constants
|
|
3
3
|
| Name | Description |
|
|
4
4
|
| ---- | ----------- |
|
|
5
|
-
| **TEMPLATE_DIR[](#TEMPLATE_DIR)** | Defines a constant for directory where templates could be found
|
|
6
|
-
|
|
7
|
-
|
|
|
5
|
+
| **TEMPLATE_DIR[](#TEMPLATE_DIR)** | Defines a constant for directory where templates could be found |
|
|
8
6
|
## Attributes
|
|
9
7
|
### base_dir[R] [](#attribute-i-base_dir)
|
|
10
8
|
The path to generate files into, combined with `--op` from the options for a full path.
|
|
@@ -174,6 +174,7 @@ class RDoc::Generator::Markdown
|
|
|
174
174
|
##
|
|
175
175
|
# Converts HTML string into a Markdown string with some cleaning and improvements.
|
|
176
176
|
|
|
177
|
+
# FIXME: This could return string with newlines in the end, which is not good.
|
|
177
178
|
def markdownify(input)
|
|
178
179
|
# TODO: I should be able to set unknown_tags to "raise" for debugging purposes. Probably through rdoc parameters?
|
|
179
180
|
# Allowed parameters:
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
## Constants
|
|
8
8
|
| Name | Description |
|
|
9
9
|
| ---- | ----------- |
|
|
10
|
-
<% klass.constants.each do |const| %> | **<%= const.name %>[](#<%= const.name %>)** | <% unless const.description.empty? %> <%= h
|
|
10
|
+
<% klass.constants.each do |const| %> | **<%= const.name %>[](#<%= const.name %>)** | <% unless const.description.empty? %> <%= h(const.description).rstrip %> <%else%> Not documented <% end %> |
|
|
11
11
|
<% end %>
|
|
12
12
|
<% end %>
|
|
13
13
|
<% unless attributes&.empty? %>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rdoc-markdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: '0.4'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stanislav (Stas) Katkov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-11-
|
|
11
|
+
date: 2022-11-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rdoc
|