rdoc-markdown 0.6.0 → 0.8.0

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.
@@ -0,0 +1,133 @@
1
+ # Class Jekyll::SeoTag::Drop
2
+ <a id="class-jekyll-seotag-drop"></a>
3
+
4
+ ### Constants
5
+
6
+ #### `FORMAT_STRING_METHODS`
7
+ <a id="FORMAT_STRING_METHODS"></a>
8
+
9
+ Not documented.
10
+
11
+ #### `HOMEPAGE_OR_ABOUT_REGEX`
12
+ <a id="HOMEPAGE_OR_ABOUT_REGEX"></a>
13
+
14
+ Not documented.
15
+
16
+ #### `TITLE_SEPARATOR`
17
+ <a id="TITLE_SEPARATOR"></a>
18
+
19
+ Not documented.
20
+
21
+ ### Public Class Methods
22
+
23
+ #### `new(text, context)`
24
+ <a id="method-c-new"></a>
25
+
26
+ Not documented.
27
+
28
+ ### Public Instance Methods
29
+
30
+ #### `author()`
31
+ <a id="method-i-author"></a>
32
+
33
+ A drop representing the page author
34
+
35
+ #### `canonical_url()`
36
+ <a id="method-i-canonical_url"></a>
37
+
38
+ Not documented.
39
+
40
+ #### `date_modified()`
41
+ <a id="method-i-date_modified"></a>
42
+
43
+ Not documented.
44
+
45
+ #### `date_published()`
46
+ <a id="method-i-date_published"></a>
47
+
48
+ Not documented.
49
+
50
+ #### `description()`
51
+ <a id="method-i-description"></a>
52
+
53
+ Not documented.
54
+
55
+ #### `image()`
56
+ <a id="method-i-image"></a>
57
+
58
+ Returns a [`Drop`](Drop.md) representing the page’s image Returns nil if the image has no path, to preserve backwards compatability
59
+
60
+ #### `json_ld()`
61
+ <a id="method-i-json_ld"></a>
62
+
63
+ A drop representing the JSON-LD output
64
+
65
+ #### `links()`
66
+ <a id="method-i-links"></a>
67
+
68
+ Not documented.
69
+
70
+ #### `logo()`
71
+ <a id="method-i-logo"></a>
72
+
73
+ Not documented.
74
+
75
+ #### `name()`
76
+ <a id="method-i-name"></a>
77
+
78
+ rubocop:enable Metrics/CyclomaticComplexity
79
+
80
+ #### `page_lang()`
81
+ <a id="method-i-page_lang"></a>
82
+
83
+ Not documented.
84
+
85
+ #### `page_locale()`
86
+ <a id="method-i-page_locale"></a>
87
+
88
+ Not documented.
89
+
90
+ #### `page_title()`
91
+ <a id="method-i-page_title"></a>
92
+
93
+ Page title without site title or description appended
94
+
95
+ #### `site_description()`
96
+ <a id="method-i-site_description"></a>
97
+
98
+ Not documented.
99
+
100
+ #### `site_tagline()`
101
+ <a id="method-i-site_tagline"></a>
102
+
103
+ Not documented.
104
+
105
+ #### `site_tagline_or_description()`
106
+ <a id="method-i-site_tagline_or_description"></a>
107
+
108
+ Not documented.
109
+
110
+ #### `site_title()`
111
+ <a id="method-i-site_title"></a>
112
+
113
+ Not documented.
114
+
115
+ #### `title()`
116
+ <a id="method-i-title"></a>
117
+
118
+ Page title with site title or description appended rubocop:disable Metrics/CyclomaticComplexity
119
+
120
+ #### `title?()`
121
+ <a id="method-i-title-3F"></a>
122
+
123
+ Should the ‘\<title\>` tag be generated for this page?
124
+
125
+ #### `type()`
126
+ <a id="method-i-type"></a>
127
+
128
+ Not documented.
129
+
130
+ #### `version()`
131
+ <a id="method-i-version"></a>
132
+
133
+ Not documented.
@@ -0,0 +1,9 @@
1
+ # Class Jekyll::SeoTag::Filters
2
+ <a id="class-jekyll-seotag-filters"></a>
3
+
4
+ ### Public Class Methods
5
+
6
+ #### `new(context)`
7
+ <a id="method-c-new"></a>
8
+
9
+ Not documented.
@@ -0,0 +1,33 @@
1
+ # Class Jekyll::SeoTag::ImageDrop
2
+ <a id="class-jekyll-seotag-imagedrop"></a>
3
+
4
+ A drop representing the page image The image path will be pulled from:
5
+
6
+ 1. The `image` key if it’s a string
7
+
8
+ 2. The `image.path` key if it’s a hash
9
+
10
+ 3. The `image.facebook` key
11
+
12
+ 4. The `image.twitter` key
13
+
14
+ ### Public Class Methods
15
+
16
+ #### `new(page: nil, context: nil)`
17
+ <a id="method-c-new"></a>
18
+
19
+ Initialize a new [`ImageDrop`](ImageDrop.md)
20
+
21
+ page - The page hash (e.g., Page#to\_liquid) context - the Liquid::Context
22
+
23
+ ### Public Instance Methods
24
+
25
+ #### `path()`
26
+ <a id="method-i-path"></a>
27
+
28
+ Called path for backwards compatability, this is really the escaped, absolute URL representing the page’s image Returns nil if no image path can be determined
29
+
30
+ #### `to_s()`
31
+ <a id="method-i-to_s"></a>
32
+
33
+ Alias for: [`path`](#method-i-path)
@@ -0,0 +1,18 @@
1
+ # Module Jekyll::SeoTag::JSONLD
2
+ <a id="module-jekyll-seotag-jsonld"></a>
3
+
4
+ This module is deprecated, but is included in the Gem to avoid a breaking change and should be removed at the next major version bump
5
+
6
+ ### Constants
7
+
8
+ #### `METHODS_KEYS`
9
+ <a id="METHODS_KEYS"></a>
10
+
11
+ Not documented.
12
+
13
+ ### Public Instance Methods
14
+
15
+ #### `json_ld()`
16
+ <a id="method-i-json_ld"></a>
17
+
18
+ Self should be a [`Jekyll::SeoTag::Drop`](Drop.md) instance (when extending the module)
@@ -0,0 +1,41 @@
1
+ # Class Jekyll::SeoTag::JSONLDDrop
2
+ <a id="class-jekyll-seotag-jsonlddrop"></a>
3
+
4
+ ### Public Class Methods
5
+
6
+ #### `new(page_drop)`
7
+ <a id="method-c-new"></a>
8
+
9
+ page\_drop should be an instance of [`Jekyll::SeoTag::Drop`](Drop.md)
10
+
11
+ ### Public Instance Methods
12
+
13
+ #### `author()`
14
+ <a id="method-i-author"></a>
15
+
16
+ Not documented.
17
+
18
+ #### `fallback_data()`
19
+ <a id="method-i-fallback_data"></a>
20
+
21
+ Not documented.
22
+
23
+ #### `image()`
24
+ <a id="method-i-image"></a>
25
+
26
+ Not documented.
27
+
28
+ #### `mainEntityOfPage()`
29
+ <a id="method-i-mainEntityOfPage"></a>
30
+
31
+ Alias for: [`main_entity`](#method-i-main_entity)
32
+
33
+ #### `publisher()`
34
+ <a id="method-i-publisher"></a>
35
+
36
+ Not documented.
37
+
38
+ #### `to_json(state = nil)`
39
+ <a id="method-i-to_json"></a>
40
+
41
+ Returns a JSON-encoded object containing the JSON-LD data. Keys are sorted.
@@ -0,0 +1,5 @@
1
+ # Module Jekyll::SeoTag::UrlHelper
2
+ <a id="module-jekyll-seotag-urlhelper"></a>
3
+
4
+ Mixin to share common URL-related methods between class
5
+
@@ -0,0 +1,54 @@
1
+ # Class Jekyll::SeoTag
2
+ <a id="class-jekyll-seotag"></a>
3
+
4
+ ### Constants
5
+
6
+ #### `MINIFY_REGEX`
7
+ <a id="MINIFY_REGEX"></a>
8
+
9
+ Matches all whitespace that follows either
10
+
11
+ ```
12
+ 1. A '}', which closes a Liquid tag
13
+ 2. A '{', which opens a JSON block
14
+ 3. A '>' followed by a newline, which closes an XML tag or
15
+ 4. A ',' followed by a newline, which ends a JSON line
16
+ ```
17
+
18
+ We will strip all of this whitespace to minify the template We will not strip any whitespace if the next character is a ‘-’
19
+
20
+ ```
21
+ so that we do not interfere with the HTML comment at the
22
+ very begining
23
+ ```
24
+
25
+ #### `VERSION`
26
+ <a id="VERSION"></a>
27
+
28
+ Not documented.
29
+
30
+ ### Attributes
31
+
32
+ #### `context` [RW]
33
+ <a id="attribute-i-context"></a>
34
+
35
+ Not documented.
36
+
37
+ ### Public Class Methods
38
+
39
+ #### `new(_tag_name, text, _tokens)`
40
+ <a id="method-c-new"></a>
41
+
42
+ Not documented.
43
+
44
+ #### `template()`
45
+ <a id="method-c-template"></a>
46
+
47
+ Not documented.
48
+
49
+ ### Public Instance Methods
50
+
51
+ #### `render(context)`
52
+ <a id="method-i-render"></a>
53
+
54
+ Not documented.
@@ -0,0 +1,3 @@
1
+ # Module Jekyll
2
+ <a id="module-jekyll"></a>
3
+
@@ -0,0 +1,3 @@
1
+ # Class Liquid::Tag
2
+ <a id="class-liquid-tag"></a>
3
+
@@ -0,0 +1,5 @@
1
+ # Module Liquid
2
+ <a id="module-liquid"></a>
3
+
4
+ Prevent bundler errors
5
+
@@ -0,0 +1,60 @@
1
+ name,type,path
2
+ Jekyll,Module,Jekyll.md
3
+ Jekyll::SeoTag,Class,Jekyll/SeoTag.md
4
+ Jekyll::SeoTag.new,Method,Jekyll/SeoTag.md#method-c-new
5
+ Jekyll::SeoTag.render,Method,Jekyll/SeoTag.md#method-i-render
6
+ Jekyll::SeoTag.template,Method,Jekyll/SeoTag.md#method-c-template
7
+ Jekyll::SeoTag.MINIFY_REGEX,Constant,Jekyll/SeoTag.md#MINIFY_REGEX
8
+ Jekyll::SeoTag.VERSION,Constant,Jekyll/SeoTag.md#VERSION
9
+ Jekyll::SeoTag.context,Attribute,Jekyll/SeoTag.md#attribute-i-context
10
+ Jekyll::SeoTag::AuthorDrop,Class,Jekyll/SeoTag/AuthorDrop.md
11
+ Jekyll::SeoTag::AuthorDrop.new,Method,Jekyll/SeoTag/AuthorDrop.md#method-c-new
12
+ Jekyll::SeoTag::AuthorDrop.name,Method,Jekyll/SeoTag/AuthorDrop.md#method-i-name
13
+ Jekyll::SeoTag::AuthorDrop.to_s,Method,Jekyll/SeoTag/AuthorDrop.md#method-i-to_s
14
+ Jekyll::SeoTag::AuthorDrop.twitter,Method,Jekyll/SeoTag/AuthorDrop.md#method-i-twitter
15
+ Jekyll::SeoTag::Drop,Class,Jekyll/SeoTag/Drop.md
16
+ Jekyll::SeoTag::Drop.new,Method,Jekyll/SeoTag/Drop.md#method-c-new
17
+ Jekyll::SeoTag::Drop.version,Method,Jekyll/SeoTag/Drop.md#method-i-version
18
+ Jekyll::SeoTag::Drop.title?,Method,Jekyll/SeoTag/Drop.md#method-i-title-3F
19
+ Jekyll::SeoTag::Drop.site_title,Method,Jekyll/SeoTag/Drop.md#method-i-site_title
20
+ Jekyll::SeoTag::Drop.site_tagline,Method,Jekyll/SeoTag/Drop.md#method-i-site_tagline
21
+ Jekyll::SeoTag::Drop.site_description,Method,Jekyll/SeoTag/Drop.md#method-i-site_description
22
+ Jekyll::SeoTag::Drop.page_title,Method,Jekyll/SeoTag/Drop.md#method-i-page_title
23
+ Jekyll::SeoTag::Drop.site_tagline_or_description,Method,Jekyll/SeoTag/Drop.md#method-i-site_tagline_or_description
24
+ Jekyll::SeoTag::Drop.title,Method,Jekyll/SeoTag/Drop.md#method-i-title
25
+ Jekyll::SeoTag::Drop.name,Method,Jekyll/SeoTag/Drop.md#method-i-name
26
+ Jekyll::SeoTag::Drop.description,Method,Jekyll/SeoTag/Drop.md#method-i-description
27
+ Jekyll::SeoTag::Drop.author,Method,Jekyll/SeoTag/Drop.md#method-i-author
28
+ Jekyll::SeoTag::Drop.json_ld,Method,Jekyll/SeoTag/Drop.md#method-i-json_ld
29
+ Jekyll::SeoTag::Drop.image,Method,Jekyll/SeoTag/Drop.md#method-i-image
30
+ Jekyll::SeoTag::Drop.date_modified,Method,Jekyll/SeoTag/Drop.md#method-i-date_modified
31
+ Jekyll::SeoTag::Drop.date_published,Method,Jekyll/SeoTag/Drop.md#method-i-date_published
32
+ Jekyll::SeoTag::Drop.type,Method,Jekyll/SeoTag/Drop.md#method-i-type
33
+ Jekyll::SeoTag::Drop.links,Method,Jekyll/SeoTag/Drop.md#method-i-links
34
+ Jekyll::SeoTag::Drop.logo,Method,Jekyll/SeoTag/Drop.md#method-i-logo
35
+ Jekyll::SeoTag::Drop.page_lang,Method,Jekyll/SeoTag/Drop.md#method-i-page_lang
36
+ Jekyll::SeoTag::Drop.page_locale,Method,Jekyll/SeoTag/Drop.md#method-i-page_locale
37
+ Jekyll::SeoTag::Drop.canonical_url,Method,Jekyll/SeoTag/Drop.md#method-i-canonical_url
38
+ Jekyll::SeoTag::Drop.FORMAT_STRING_METHODS,Constant,Jekyll/SeoTag/Drop.md#FORMAT_STRING_METHODS
39
+ Jekyll::SeoTag::Drop.HOMEPAGE_OR_ABOUT_REGEX,Constant,Jekyll/SeoTag/Drop.md#HOMEPAGE_OR_ABOUT_REGEX
40
+ Jekyll::SeoTag::Drop.TITLE_SEPARATOR,Constant,Jekyll/SeoTag/Drop.md#TITLE_SEPARATOR
41
+ Jekyll::SeoTag::Filters,Class,Jekyll/SeoTag/Filters.md
42
+ Jekyll::SeoTag::Filters.new,Method,Jekyll/SeoTag/Filters.md#method-c-new
43
+ Jekyll::SeoTag::ImageDrop,Class,Jekyll/SeoTag/ImageDrop.md
44
+ Jekyll::SeoTag::ImageDrop.new,Method,Jekyll/SeoTag/ImageDrop.md#method-c-new
45
+ Jekyll::SeoTag::ImageDrop.path,Method,Jekyll/SeoTag/ImageDrop.md#method-i-path
46
+ Jekyll::SeoTag::ImageDrop.to_s,Method,Jekyll/SeoTag/ImageDrop.md#method-i-to_s
47
+ Jekyll::SeoTag::JSONLD,Module,Jekyll/SeoTag/JSONLD.md
48
+ Jekyll::SeoTag::JSONLD.json_ld,Method,Jekyll/SeoTag/JSONLD.md#method-i-json_ld
49
+ Jekyll::SeoTag::JSONLD.METHODS_KEYS,Constant,Jekyll/SeoTag/JSONLD.md#METHODS_KEYS
50
+ Jekyll::SeoTag::JSONLDDrop,Class,Jekyll/SeoTag/JSONLDDrop.md
51
+ Jekyll::SeoTag::JSONLDDrop.new,Method,Jekyll/SeoTag/JSONLDDrop.md#method-c-new
52
+ Jekyll::SeoTag::JSONLDDrop.fallback_data,Method,Jekyll/SeoTag/JSONLDDrop.md#method-i-fallback_data
53
+ Jekyll::SeoTag::JSONLDDrop.author,Method,Jekyll/SeoTag/JSONLDDrop.md#method-i-author
54
+ Jekyll::SeoTag::JSONLDDrop.image,Method,Jekyll/SeoTag/JSONLDDrop.md#method-i-image
55
+ Jekyll::SeoTag::JSONLDDrop.publisher,Method,Jekyll/SeoTag/JSONLDDrop.md#method-i-publisher
56
+ Jekyll::SeoTag::JSONLDDrop.mainEntityOfPage,Method,Jekyll/SeoTag/JSONLDDrop.md#method-i-mainEntityOfPage
57
+ Jekyll::SeoTag::JSONLDDrop.to_json,Method,Jekyll/SeoTag/JSONLDDrop.md#method-i-to_json
58
+ Jekyll::SeoTag::UrlHelper,Module,Jekyll/SeoTag/UrlHelper.md
59
+ Liquid,Module,Liquid.md
60
+ Liquid::Tag,Class,Liquid/Tag.md
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ eval_gemfile "../Gemfile"
4
+
5
+ gem "rdoc", git: "https://github.com/ruby/rdoc.git", branch: "master"
data/lib/markdown.rb CHANGED
@@ -2,5 +2,6 @@
2
2
 
3
3
  require "rdoc/generator/markdown"
4
4
 
5
+ # Compatibility namespace loaded by RDoc's generator discovery.
5
6
  class RDoc::Markdown
6
7
  end