yard-markdown 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/README.md +19 -6
- data/example/Bird.md +1 -0
- data/example/Duck.md +1 -1
- data/lib/yard-markdown.rb +10 -0
- data/templates/default/fulldoc/markdown/setup.rb +0 -1
- metadata +21 -10
- data/lib/yard/markdown/version.rb +0 -7
- data/lib/yard/markdown.rb +0 -11
- data/lib/yard/serializers/markdown_serializer.rb +0 -11
- data/templates/default/fulldoc/markdown/content.erb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8bc0dd303b8e3b40e53d55a7b53c339e8d0c8c8f8a44427c12bc6cca9f303f4
|
4
|
+
data.tar.gz: 13159d5918456cbfa5e909679ba2596a52dfecb24ec14bdccac20f51d5552146
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2aa7fac3e51b28d2bece0f852da3436d9f9bdb83242af7f78bb25aefde514206f01fe6f9d70f2765b6342cf11b1b40a484454b782565161ec50a72705c41aec
|
7
|
+
data.tar.gz: 37c63aa190abaa091d27c279268a23756f120393a519286983510933e5fd22f9076cc6c8f8b694ba25e27d4b638b5d44587f5528c9a97c61f4db3e2b861cca70
|
data/.yardopts
CHANGED
data/README.md
CHANGED
@@ -1,14 +1,27 @@
|
|
1
1
|
# Yard::Markdown
|
2
2
|
|
3
|
-
Yard
|
3
|
+
Yard theme plugin that generates markdown documentation for gems
|
4
4
|
|
5
|
-
Goals:
|
5
|
+
## Goals:
|
6
6
|
- Compatible with Github Flavored Markdown
|
7
7
|
- Mimick yard html layout in markdown format as much as possible
|
8
|
-
- Produce .csv index file alonside markdown documentation
|
8
|
+
- Produce .csv index file alonside markdown documentation to act as file index
|
9
9
|
|
10
|
-
|
10
|
+
## Usage
|
11
|
+
Add these lines:
|
12
|
+
```
|
13
|
+
gem 'yard-markdown'
|
14
|
+
```
|
15
|
+
And run `bundle install`
|
11
16
|
|
17
|
+
Run yardoc with `--format=markdown` parameter.
|
12
18
|
|
13
|
-
|
14
|
-
|
19
|
+
## Backstory
|
20
|
+
Successor to rdoc-mardown gem that was authored by me. So there is a lot of similarities between two - [example](https://github.com/skatkov/rdoc-markdown/tree/main/example).
|
21
|
+
|
22
|
+
This gem is used by documentation reviewing tool called [POSH TUI](https://poshtui.com)
|
23
|
+
|
24
|
+
## Testing
|
25
|
+
Unit tests can't really test this gem properly. So it's semi-manual process of making changes and reviewing output.
|
26
|
+
|
27
|
+
`yardoc example.rb` -> outputs everything into example/ folder.
|
data/example/Bird.md
CHANGED
data/example/Duck.md
CHANGED
metadata
CHANGED
@@ -1,16 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yard-markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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: 2023-11-
|
12
|
-
dependencies:
|
13
|
-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: yard
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: yard theme plugin that generates markdown documentation for gems
|
14
28
|
email:
|
15
29
|
- yard-markdown@skatkov.com
|
16
30
|
executables: []
|
@@ -27,11 +41,8 @@ files:
|
|
27
41
|
- example/Bird.md
|
28
42
|
- example/Duck.md
|
29
43
|
- example/Waterfowl.md
|
30
|
-
- lib/yard
|
31
|
-
- lib/yard/markdown/version.rb
|
32
|
-
- lib/yard/serializers/markdown_serializer.rb
|
44
|
+
- lib/yard-markdown.rb
|
33
45
|
- sig/yard/markdown.rbs
|
34
|
-
- templates/default/fulldoc/markdown/content.erb
|
35
46
|
- templates/default/fulldoc/markdown/setup.rb
|
36
47
|
homepage: https://poshtui.com
|
37
48
|
licenses:
|
@@ -54,8 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
65
|
- !ruby/object:Gem::Version
|
55
66
|
version: '0'
|
56
67
|
requirements: []
|
57
|
-
rubygems_version: 3.4.
|
68
|
+
rubygems_version: 3.4.22
|
58
69
|
signing_key:
|
59
70
|
specification_version: 4
|
60
|
-
summary: yard
|
71
|
+
summary: yard theme plugin that generates markdown documentation for gems
|
61
72
|
test_files: []
|
data/lib/yard/markdown.rb
DELETED