rdoc-markdown 0.21.1 → 0.21.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 +6 -0
- data/README.md +1 -8
- data/lib/rdoc/generator/markdown/index.rb +2 -1
- data/lib/rdoc/markdown/version.rb +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: feb14b11dc71c71a4e9e0af4a71f6d074706120984b7b5c6c890c126e8894e23
|
|
4
|
+
data.tar.gz: ea5b339442fe650abae65db6f5ce051a959c361056b651cde5fb7ae2b1daf778
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0a5a47ff262d233b3bebb8f2016f1f31f3a0ce106ce3d25e68f46251bed353cc5df1a26e4534a9e92159e9ee458965d0864b91f94f4c48100f4f54d012824ce
|
|
7
|
+
data.tar.gz: a95167a0eed14716ce4014cd6330c73cb546fa45a553f747e883b64f7614c54638656ce6ce76a95bc6e64ae9f9f8051ceabcfd02c30c060e8d0aa1a94aa8ac85
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.21.2
|
|
6
|
+
|
|
7
|
+
- Distinguish instance methods (`Class#method`) from class methods (`Class.method`) in search-index names, without changing their document paths or anchors.
|
|
8
|
+
|
|
3
9
|
## 0.21.1
|
|
4
10
|
|
|
5
11
|
- Preserve hash-prefixed comments and literal Markdown headings in code examples when offsetting documentation headings.
|
data/README.md
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
# RDoc-Markdown
|
|
2
2
|
RDoc plugin to generate markdown documentation and search index file (CSV).
|
|
3
3
|
|
|
4
|
-
> [!CAUTION]
|
|
5
|
-
> This gem relies on multiple hacks to generate "plausible" markdown documentation. This is **NOT PRODUCTION READY** — use at your own risk.
|
|
6
|
-
>
|
|
7
|
-
> RDoc maintainers are actively working on markdown support, things will improve with time...
|
|
8
|
-
|
|
9
4
|
## Motivation
|
|
10
|
-
Markdown has become the de facto documentation standard.
|
|
11
|
-
|
|
12
|
-
It's a pity that RDoc can't output a proper markdown file. Somebody has to try to build it.
|
|
5
|
+
Markdown has become the de facto documentation standard. Rdoc should be able to output it too.
|
|
13
6
|
|
|
14
7
|
## Installation
|
|
15
8
|
|
|
@@ -34,7 +34,8 @@ module RDoc::Generator::Markdown::Index
|
|
|
34
34
|
csv << [class_name, klass.type.capitalize, output_path]
|
|
35
35
|
|
|
36
36
|
klass.method_list.select(&:display?).each do |method|
|
|
37
|
-
|
|
37
|
+
separator = method.singleton ? "." : "#"
|
|
38
|
+
csv << ["#{class_name}#{separator}#{method.name}", "Method", "#{output_path}##{method.aref}"]
|
|
38
39
|
end
|
|
39
40
|
klass.constants.select(&:display?).sort.each do |const|
|
|
40
41
|
name = const.name
|
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.21.
|
|
4
|
+
version: 0.21.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stanislav (Stas) Katkov
|
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
208
208
|
- !ruby/object:Gem::Version
|
|
209
209
|
version: '0'
|
|
210
210
|
requirements: []
|
|
211
|
-
rubygems_version: 4.0.
|
|
211
|
+
rubygems_version: 4.0.20
|
|
212
212
|
specification_version: 4
|
|
213
213
|
summary: RDoc plugin to generate markdown documentation
|
|
214
214
|
test_files: []
|