asciidoctor 2.0.13 → 2.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +151 -30
  3. data/LICENSE +1 -1
  4. data/README-de.adoc +9 -12
  5. data/README-fr.adoc +9 -12
  6. data/README-jp.adoc +10 -13
  7. data/README-zh_CN.adoc +9 -12
  8. data/README.adoc +40 -19
  9. data/asciidoctor.gemspec +2 -9
  10. data/data/locale/attributes-fr.adoc +2 -2
  11. data/data/locale/attributes-th.adoc +23 -0
  12. data/data/locale/attributes-vi.adoc +23 -0
  13. data/data/stylesheets/asciidoctor-default.css +54 -53
  14. data/data/stylesheets/coderay-asciidoctor.css +9 -9
  15. data/lib/asciidoctor/abstract_block.rb +11 -9
  16. data/lib/asciidoctor/abstract_node.rb +9 -8
  17. data/lib/asciidoctor/attribute_list.rb +1 -1
  18. data/lib/asciidoctor/block.rb +6 -6
  19. data/lib/asciidoctor/cli/invoker.rb +1 -2
  20. data/lib/asciidoctor/cli/options.rb +25 -25
  21. data/lib/asciidoctor/convert.rb +1 -0
  22. data/lib/asciidoctor/converter/docbook5.rb +45 -26
  23. data/lib/asciidoctor/converter/html5.rb +130 -102
  24. data/lib/asciidoctor/converter/manpage.rb +69 -64
  25. data/lib/asciidoctor/converter/template.rb +12 -13
  26. data/lib/asciidoctor/converter.rb +6 -4
  27. data/lib/asciidoctor/core_ext/hash/merge.rb +1 -1
  28. data/lib/asciidoctor/document.rb +61 -57
  29. data/lib/asciidoctor/extensions.rb +20 -12
  30. data/lib/asciidoctor/list.rb +2 -6
  31. data/lib/asciidoctor/load.rb +11 -9
  32. data/lib/asciidoctor/logging.rb +10 -8
  33. data/lib/asciidoctor/parser.rb +177 -193
  34. data/lib/asciidoctor/path_resolver.rb +3 -3
  35. data/lib/asciidoctor/reader.rb +73 -72
  36. data/lib/asciidoctor/rx.rb +5 -4
  37. data/lib/asciidoctor/section.rb +7 -0
  38. data/lib/asciidoctor/substitutors.rb +121 -121
  39. data/lib/asciidoctor/syntax_highlighter/coderay.rb +2 -1
  40. data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +1 -1
  41. data/lib/asciidoctor/syntax_highlighter/pygments.rb +16 -7
  42. data/lib/asciidoctor/syntax_highlighter/rouge.rb +2 -1
  43. data/lib/asciidoctor/syntax_highlighter.rb +8 -11
  44. data/lib/asciidoctor/table.rb +18 -20
  45. data/lib/asciidoctor/timings.rb +3 -3
  46. data/lib/asciidoctor/version.rb +1 -1
  47. data/lib/asciidoctor.rb +10 -10
  48. data/man/asciidoctor.1 +26 -28
  49. data/man/asciidoctor.adoc +33 -27
  50. metadata +8 -62
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9e72633de0c6754af3817cb79f6dbb3837a14b6ed1dd4c9f2e22bb600460bff
4
- data.tar.gz: ad8533870d76be07168b23cec5c8e53aa9e6128e30535650d827ffade7fad92d
3
+ metadata.gz: c33baadb7f5d28211bbb55b0b2b002159d57d483d35d17fe1b11d72dd4389e53
4
+ data.tar.gz: db81a673d28035c721612ab1c4f9d23e005a824384ac0ba1b1983e9e817d44e6
5
5
  SHA512:
6
- metadata.gz: db1c156201c46129fea64fdfa08b40a7892ef655856ec679e81caad32fa5601da67de7bfd5e47f7a811813cf6efe78c3f958e4b294ac29fbf105ebb6725115d9
7
- data.tar.gz: d6656dca3af8847229c556063bf0ed2ec5db03129a7af0d2bfaf65e400e5bb95fb571b9378c367ed2305b967fb33ce0c7085cc2e1740d653c360d079fff386f5
6
+ metadata.gz: a1fae45fddd3696607f9337f35222ecfad106aa295d2f328b54af5c21404ddb0c59baf6424b180bf46e4fed36fa28a6042f2d90310bb8acea01da4790a80ba3f
7
+ data.tar.gz: 0d65fb85055130df297d9ed12a63d68d03d5876c5b09f84d052396e793dada3a9406217969ac6574a3404b62113fb3afa7da235f6692ef2c1651904ecba00c71
data/CHANGELOG.adoc CHANGED
@@ -11,9 +11,129 @@ endif::[]
11
11
  {uri-asciidoctor}[Asciidoctor] is a _fast_, open source text processor and publishing toolchain for converting {uri-asciidoc}[AsciiDoc] content into HTML 5, DocBook 5, and other formats.
12
12
 
13
13
  This document provides a high-level view of the changes introduced in Asciidoctor by release.
14
- For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
14
+ For an even more detailed look at what has changed, refer to the {uri-repo}/commits/[commit history] on GitHub.
15
+
16
+ This project utilizes semantic versioning.
15
17
 
16
18
  // tag::compact[]
19
+ == 2.0.17 (2022-01-05) - @mojavelinux
20
+
21
+ Bug Fixes::
22
+
23
+ * Don't crash if process method for custom block returns an abstract block with context `:compound` that isn't of type `Block` (e.g., a list)
24
+ * Ignore return value of process method for custom block or block macro if value matches parent argument
25
+ * Remove unnamespaced selectors in Pygments stylesheet
26
+ * Normalize output from Pygments to use `linenos` class for inline line numbering and trim space after number; update default stylesheet accordingly
27
+ * Change `AbstractBlock#sections?` to return false when called on block that isn't a Section or Document (PR #3591) *@mogztter*
28
+ * Hide built-in marker on HTML summary element in Safari when using default stylesheet (#4162)
29
+ * Hide outline around HTML summary when activated in Safari (#4162)
30
+ * Include primary video in value of `playlist` attribute when embeddding YouTube video (#4156)
31
+ * Honor stripes=none on nested table (#4165)
32
+ * Update default stylesheet to fix spacing around empty list item (#4184)
33
+ * Honor `:header_only` option when parsing document with manpage doctype (#4192)
34
+ * Use numeric character reference for closing square bracket around alt text of icon
35
+ * Process author or authors document attribute in document header when implicit doctitle is absent (#4206)
36
+ * Patch open-uri-cached gem to work with Ruby 3.1 (update: drop patch now that open-uri-cached has been fixed) (#4227)
37
+
38
+ Improvements::
39
+
40
+ * Prevent line numbers on source blocks in HTML output from being selected (applies to pygments and coderay) (#4128)
41
+ * Allow hash to be specified for Vimeo video either in video ID or using `hash` attribute (#4176)
42
+ * Remove unnecessary specificity in default stylesheet for styling p element inside list item
43
+ * Remove obsolete gist embed styles from default stylesheet
44
+ * Allow `--failure-level` to be set to default value, `FATAL`
45
+ * Sort levels in help for `--failure-level` option in ascending order
46
+ * Invert FR translations for caution & warning admonition labels (#4212) (*cyChop*)
47
+ * Add tests for open-uri-cached integration that is activated by the `cache-uri` attribute
48
+ * Don't warn if negated tag is not found in include file (#4230)
49
+
50
+ Documentation::
51
+
52
+ * Document how to extend an existing converter or create a new converter (#4136)
53
+ * Document the syntax topic of the `--help` CLI option (#4175)
54
+ * Document how to uninstall the Asciidoctor gem (#4154)
55
+ * Document how to enable and use the sourcemap (the `:sourcemap` option)
56
+ * Document how to catalog additional assets (the `:catalog_assets` option)
57
+
58
+ // end::compact[]
59
+ == 2.0.16 (2021-08-03) - @mojavelinux
60
+
61
+ Bug Fixes::
62
+
63
+ * Include all lines outside of specified tagged region when tag filter on include directive is a single negated tag (#4048)
64
+ * Only interpret negated wildcard in tag filter on include directive as implicit globstar if it precedes other tags (#4086)
65
+ * Change ifeval directive to resolve to false if comparison operation cannot be performed (#4046)
66
+ * Don't crash if `:to_file` option is passed to `load` or `load_file` and value is not a string (#4055)
67
+ * Use automatic link text if ID in shorthand xref is followed by dangling comma (e.g., `+<<idname,>>+`)
68
+ * Update default stylesheet to indent blocks attached to list item in checklist (#2550)
69
+ * Update default stylesheet to re-enable styling of implicit lead role on first paragraph of preamble inside AsciiDoc table cell
70
+ * Update default stylesheet to fix conflict between text decoration and bottom border on abbr[title] element
71
+ * Change invalid font family "sans" in default stylesheet to "sans-serif"
72
+ * Fix missing automatic reftext for internal xrefs in manpage output (#4110)
73
+ * Replace numeric character reference for plus in manpage output (#4059)
74
+ * Replace numeric character reference for degree sign in manpage output (#4059)
75
+ * Convert apostrophe to the portable `+\*(Aq+` variable instead of the groff-specific escape `\(aq` (#4060) (*@felipec*)
76
+ * Document the `-e, --embedded` option flag in the man page, which replaces the outdated `-e, --eruby` option flag
77
+
78
+ Improvements::
79
+
80
+ * Use queue to iterate over lines in reader instead of stack (#4106)
81
+ * Uppercase automatic reftext for level-2 section titles in manpage output if reftext matches section title (#4110)
82
+ * Show safe modes in strictness order in CLI help (#4065)
83
+ * Remove redundant styles from the default stylesheet
84
+ * Update font styles for summary element in default stylesheet to match font styles of paragraph (#4114)
85
+ * Update default stylesheet to indent content of details element (#4116)
86
+ * Update default stylesheet to use custom marker for summary element to make appearance consistent (#4116)
87
+ * Add Vietnamese translation of built-in attributes (PR #4066) (*@nguyenhoa93*)
88
+ * Add Thai translation of built-in attributes (PR #4113) (*@ammaneena*)
89
+
90
+ Build / Infrastructure::
91
+
92
+ * Import source of default stylesheet into this repository; use PostCSS with cssnano to minify (#4062)
93
+ * Use autoprefixer to manage browser prefixes in default stylesheet (#4118)
94
+
95
+ == 2.0.15 (2021-04-27) - @mojavelinux
96
+
97
+ Bug Fixes::
98
+
99
+ * Don't include trailing period, question mark, or exclamation point in target (URL) of autolink (#3860)
100
+ * Don't assign nil value to named attribute mapped to absent positional attribute when parsing attrlist (#4033)
101
+ * Remove leading and trailing spaces around role on inline phrase (#4035)
102
+ * Ignore empty role on inline phrase defined using legacy syntax and followed by comma (#4035)
103
+ * Use xreftext on document as fallback link text in HTML output for inter-document xref that resolves to current document when no link text is provided (#4032)
104
+ * Use xreftext on document as fallback link text in HTML output for internal xref with empty fragment when no link text is provided (#4032)
105
+ * Use document ID as linkend in DocBook output for internal xref with empty fragment; auto-generating one if necessary (#4032)
106
+
107
+ Improvements::
108
+
109
+ * Format keyboard references in monospace in manpage output
110
+
111
+ Build / Infrastructure::
112
+
113
+ * Get remaining invoker tests working on JRuby 9.1 for Windows
114
+
115
+ == 2.0.14 (2021-04-19) - @mojavelinux
116
+
117
+ Bug Fixes::
118
+
119
+ * Don't allow AsciiDoc table cell to set document attribute that was unset from the API (exceptions include: `compat-mode`, `toc`, `showtitle`, and `notitle`) (#4017)
120
+ * Ensure default document attributes unset in parent document remain unset in AsciiDoc table cell (#2586)
121
+ * Allow the `showtitle` / `notitle` attribute to be toggled in an AsciiDoc table cell if set or unset in parent document (#4018)
122
+ * Ensure mtime of input file honors TZ environment variable on JRuby for Windows (affects value of `docdatetime` attribute) (#3550)
123
+ * Honor caption attribute on blocks that support captioned title even if corresponding `*-caption` document attribute (e.g., `example-caption`) is not set (#4023)
124
+ * Suppress missing attribute warning when applying substitutions to implicit document title for assignment to intrinsic `doctitle` attribute (#4024)
125
+ * Increment counter (but not the corresponding attribute) if attribute is locked (#4013)
126
+
127
+ Improvements::
128
+
129
+ * Use attribute, if set, as seed value for counter even if not already registered as a counter (#4014)
130
+ * Allow subs attribute value on Inline node returned by process method for custom inline macro to be a String (#3938)
131
+ * Allow value of `user-home` attribute to be overridden by API or CLI (#3732)
132
+
133
+ Build / Infrastructure::
134
+
135
+ * Run tests on JRuby for Windows (#3550)
136
+
17
137
  == 2.0.13 (2021-04-10) - @mojavelinux
18
138
 
19
139
  Bug Fixes::
@@ -50,14 +170,13 @@ Documentation::
50
170
  * Import documentation for processor into this repository (#3861) (*@graphitefriction*)
51
171
  * Add Belarusian translation of built-in attributes (PR #3928) (*@morganov*)
52
172
 
53
- // end::compact[]
54
173
  == 2.0.12 (2020-11-10) - @mojavelinux
55
174
 
56
175
  Bug Fixes::
57
176
 
58
177
  * Set type and target property on unresolved footnote reference and unset id property (fixes regression) (#3825)
59
178
  * Fix crash when inlining an SVG if the explicit width or height value on the image node is not a string (#3829)
60
- * Reset word wrap behavior to normal on tables, then reenable again for admonition content, horizontal dlist description, and AsciiDoc table cells (#3833)
179
+ * Reset word wrap behavior to normal on tables, then re-enable again for admonition content, horizontal dlist description, and AsciiDoc table cells (#3833)
61
180
 
62
181
  Improvements::
63
182
 
@@ -118,6 +237,7 @@ Bug Fixes::
118
237
 
119
238
  Compliance::
120
239
 
240
+ * Account for empty positional attribute when parsing attrlist (#3813)
121
241
  * Add support for muted option to self-hosted video (#3408)
122
242
  * Move style tag for convert-time syntax highlighters (coderay, rouge, pygments) into head (#3462)
123
243
  * Move style tag for client-side syntax highlighters (highlight.js, prettify) into head (#3503)
@@ -210,7 +330,7 @@ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues
210
330
 
211
331
  Bug Fixes::
212
332
 
213
- * assume implicit AsciiDoc extension on interdoc xref macro target with no extension (e.g., `document#`); restores 1.5.x behavior (#3231)
333
+ * assume implicit AsciiDoc extension on inter-document xref macro target with no extension (e.g., `document#`); restores 1.5.x behavior (#3231)
214
334
  * don't fail to load application if call to Dir.home fails; use a rescue with fallback values (#3238)
215
335
  * Helpers.rootname should only consider final path segment when dropping file extension
216
336
 
@@ -323,7 +443,7 @@ Enhancements / Compliance::
323
443
  * change default value of third argument to Abstractnode#attr / AbstractNode#attr? to nil so attribute doesn't inherit by default (#3059)
324
444
  * look for table-frame, table-grid, and table-stripes attributes on document as fallback for frame, grid, and stripes attributes on table (#3059)
325
445
  * add support for hover mode for table stripes (stripes=hover) (#3110)
326
- * always assume the target of a shorthand interdocument xref is a reference to an AsciiDoc document (source-to-source) (#3021)
446
+ * always assume the target of a shorthand inter-document xref is a reference to an AsciiDoc document (source-to-source) (#3021)
327
447
  * if the target of a formal xref macro has a file extension, assume it's a path reference (#3021)
328
448
  * never assume target of a formal xref macro is a path reference unless a file extension or fragment is present (#3021)
329
449
  * encode characters in URI to comply with RFC-3986
@@ -344,7 +464,7 @@ Enhancements / Compliance::
344
464
  * AbstractBlock#find_by looks inside AsciiDoc table cells if traverse_documents selector option is true (#3101)
345
465
  * AbstractBlock#find_by finds table cells, which can be selected using the :table_cell context in the selector (#2524)
346
466
  * allow ampersand to be used in e-mail address (#2553)
347
- * propogate ID assigned to inline passthrough (#2912)
467
+ * propagate ID assigned to inline passthrough (#2912)
348
468
  * rename control keywords in find_by to better align with the standard NodeFilter terminology
349
469
  * stop find_by iteration if filter block returns :stop directive
350
470
  * rename header_footer option to standalone (while still honoring header_footer for backwards compatibility) (#1444)
@@ -362,6 +482,7 @@ Enhancements / Compliance::
362
482
  * require space after semi-colon that separates multiple authors (#2441)
363
483
  * catalog inline anchors at start of callout list items (#2818) (*@owenh000*)
364
484
  * add parse_attributes helper method to base extension Processor class (#2134)
485
+ * require at least one character in the term position of a description list (#2766)
365
486
 
366
487
  Improvements::
367
488
 
@@ -443,7 +564,7 @@ Bug Fixes::
443
564
  Build / Infrastructure::
444
565
 
445
566
  * clear SOURCE_DATE_EPOCH env var when testing timezones (PR #2969) (*@aerostitch*)
446
- * remove compat folder (removes the AsciiDoc Python config file that provides pseudo-compliance with Asciidoctor and a stylesheet for an old Font Awesome migration)
567
+ * remove compat folder (removes the AsciiDoc.py config file that provides pseudo-compliance with Asciidoctor and a stylesheet for an old Font Awesome migration)
447
568
  * add Ruby 2.6.0 to build matrix
448
569
  * stop running CI job on unsupported versions of Ruby
449
570
  * exclude test suite, build script, and Gemfile from gem (#3044)
@@ -560,11 +681,11 @@ Enhancements::
560
681
 
561
682
  * BREAKING: drop XML tags, character refs, and non-word characters (except hyphen, dot, and space) when auto-generating section IDs (#794)
562
683
  ** hyphen, dot, and space are replaced with value of idseparator, if set; otherwise, spaces are dropped
563
- * BREAKING: disable interdocument xrefs in compat mode (#2740)
684
+ * BREAKING: disable inter-document xrefs in compat mode (#2740)
564
685
  * BREAKING: automatically parse attributes in link macro if equals is present, ignoring linkattrs (except in compat mode) (#2059)
565
686
  * pass non-AsciiDoc file extensions in target of xref through unprocessed (#2740)
566
- * process any known AsciiDoc file extension in target of shorthand interdocument xref if hash is also present (e.g., `<<target.asciidoc#,text>>`) (#2740)
567
- * only allow .adoc to be used in target of formal xref macro to create an interdocument xref (with or without a hash) (#2740)
687
+ * process any known AsciiDoc file extension in target of shorthand inter-document xref if hash is also present (e.g., `<<target.asciidoc#,text>>`) (#2740)
688
+ * only allow .adoc to be used in target of formal xref macro to create an inter-document xref (with or without a hash) (#2740)
568
689
  * allow attribute names to contain any word character defined by Unicode (#2376, PR #2393)
569
690
  * do not recognize attribute entry line if name contains a colon (PR #2377)
570
691
  * route all processor messages through a logger instead of using Kernel#warn (#44, PR #2660)
@@ -576,9 +697,9 @@ Enhancements::
576
697
  * add `--failure-level=LEVEL` option to CLI to force non-zero exit code if specified logging level is reached (#2003, PR #2674)
577
698
  * parse text of xref macro as attributes if attribute signature found (equal sign) (#2381)
578
699
  * allow xrefstyle to be specified per xref by assigning the xrefstyle attribute on the xref macro (#2365)
579
- * recognize target with .adoc extension in xref macro as an interdocument xref
700
+ * recognize target with .adoc extension in xref macro as an inter-document xref
580
701
  * resolve nested includes in remote documents relative to URI (#2506, PR #2511)
581
- * allow `relfilesuffix` attribute to control file extension used for interdoc xrefs (#1273)
702
+ * allow `relfilesuffix` attribute to control file extension used for inter-document xrefs (#1273)
582
703
  * support `!name@` (preferred), `!name=@`, `name!@`, and `name!=@` syntax to soft unset attribute from API or CLI (#642, PR #2649)
583
704
  * allow modifier to be placed at end of name to soft set an attribute (e.g., `icons@=font`) (#642, PR #2649)
584
705
  * interpret `false` attribute value defined using API as a soft unset (#642, PR #2649)
@@ -604,7 +725,7 @@ Enhancements::
604
725
  * register document in catalog if id is set; assign reftext to document attributes if specified in a block attribute line (#2301, PR #2428)
605
726
  * allow automatic width to be applied to individual columns in a table using the special value `~` (#1844)
606
727
  * use the quote element in DocBook converter to represent smart quotes (#2272, PR #2356) (@bk2204)
607
- * parse and pass all manpage names to output document master (i.e., shadow man pages) (#1811, #2543, PR #2414)
728
+ * parse and pass all manpage names to output (i.e., shadow man pages) (#1811, #2543, PR #2414)
608
729
  * parse credit line of shorthand quote block as block attributes; apply normal subs to credit line in shorthand quote blocks (#1667, PR #2452)
609
730
  * populate copyright element in DocBook output from value of copyright attribute (#2728)
610
731
  * preserve directories if source dir and destination dir are set (#1394, PR #2421)
@@ -692,7 +813,7 @@ Improvements / Refactoring::
692
813
  * add methods to read results from timings (#2578, PR #2580)
693
814
  * collapse bottom margin of last block in AsciiDoc table cell (#2568, PR #2593)
694
815
  * set authorcount to 0 if there are no authors (#2519, PR #2520)
695
- * validate fragment of interdoc xref that resolves to current doc (#2448, PR #2449)
816
+ * validate fragment of inter-document xref that resolves to current doc (#2448, PR #2449)
696
817
  * put id attribute on tag around phrase instead of preceding anchor (#2445, PR #2446)
697
818
  * add .plist extension to XML circumfix comment family (#2430, PR #2431) (*@akosma*)
698
819
  * alias Document#title method to no args Document#doctitle method (#2429, PR #2432)
@@ -934,7 +1055,7 @@ Compliance::
934
1055
 
935
1056
  * retain block content in items of callout list when converting to HTML and man page (#1478)
936
1057
  * only substitute specialchars for content in literal table cells (#1912)
937
- * fix operator logic for ifndef directive with multiple attributes (#1983)
1058
+ * fix operator logic for ifndef directive with multiple attributes to align with behavior of AsciiDoc.py; when attributes are separated by commas, content is only included if none of the attributes listed are set; when attributes are separated by pluses, content is included if at least one of the attributes is not set (#1983)
938
1059
  * only recognize uniform underline for setext section title (#2083)
939
1060
  * don't match headings with mixed leading characters (#2074)
940
1061
  * fix layout break from matching lines it shouldn't
@@ -1057,7 +1178,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.5\...v1.5.6[full diff]
1057
1178
  Enhancements::
1058
1179
 
1059
1180
  * Add preference to limit the maximum size of an attribute value (#1861)
1060
- * Honor SOURCE_DATE_EPOCH environment variable to accomodate reproducible builds (#1721) (*@JojoBoulix*)
1181
+ * Honor SOURCE_DATE_EPOCH environment variable to accommodate reproducible builds (#1721) (*@JojoBoulix*)
1061
1182
  * Add reversed attribute to ordered list if reversed option is enabled (#1830)
1062
1183
  * Add support for additional docinfo locations (e.g., :header)
1063
1184
  * Configure default stylesheet to break monospace word if exceeds length of line using `word-wrap: break-word`; add `nobreak` and `nowrap` roles to prevent breaks (#1814)
@@ -1089,7 +1210,7 @@ Improvements::
1089
1210
 
1090
1211
  Compliance::
1091
1212
 
1092
- * Support 6-digit decimal char refs, 5-digit hexidecimal char refs (#1824)
1213
+ * Support 6-digit decimal char refs, 5-digit hexadecimal char refs (#1824)
1093
1214
  * Compatibility fixes for Opal
1094
1215
  * Check for number using Integer instead of Fixnum class for compatibility with Ruby 2.4
1095
1216
 
@@ -1106,7 +1227,7 @@ Bug Fixes::
1106
1227
 
1107
1228
  Infrastructure::
1108
1229
 
1109
- * Build gem properly in the absense of a git workspace, make compatible with JRuby (#1779)
1230
+ * Build gem properly in the absence of a git workspace, make compatible with JRuby (#1779)
1110
1231
  * Run tests in CI using latest versions of Ruby, including Ruby 2.3 (*@ferdinandrosario*)
1111
1232
 
1112
1233
  Distribution Packages::
@@ -1549,7 +1670,7 @@ Bug Fixes::
1549
1670
  Infrastructure::
1550
1671
 
1551
1672
  * add Ruby 2.1 to list of supported platforms
1552
- * reenable rbx in Travis build
1673
+ * re-enable rbx in Travis build
1553
1674
  * switch tests to minitest (*@ktdreyer*)
1554
1675
  * update RPM for Fedora Rawhide (*@ktdreyer*)
1555
1676
  * refactor unit tests so they work in RubyMine (*@cmoulliard*)
@@ -1634,13 +1755,13 @@ Compliance::
1634
1755
  * skip include directives when processing comment blocks
1635
1756
  * added xmlns to root element in docbook45 backend, set noxmlns attribute to disable
1636
1757
  * added a Compliance module to control compliance-related behavior
1637
- * added linkattrs feature to AsciiDoc compatibility file (#441)
1638
- * added level-5 heading to AsciiDoc compatibility file (#388)
1639
- * added new XML-based callouts to AsciiDoc compatibility file
1640
- * added absolute and uri image target matching to AsciiDoc compatibility file
1641
- * added float attribute on inline image macro to AsciiDoc compatibility file
1642
- * removed linkcss in AsciiDoc compatibility file
1643
- * fixed fenced code entry in compatibility file
1758
+ * added linkattrs feature to AsciiDoc.py compatibility file (#441)
1759
+ * added level-5 heading to AsciiDoc.py compatibility file (#388)
1760
+ * added new XML-based callouts to AsciiDoc.py compatibility file
1761
+ * added absolute and uri image target matching to AsciiDoc.py compatibility file
1762
+ * added float attribute on inline image macro to AsciiDoc.py compatibility file
1763
+ * removed linkcss in AsciiDoc.py compatibility file
1764
+ * fixed fenced code entry in AsciiDoc.py compatibility file
1644
1765
 
1645
1766
  Bug Fixes::
1646
1767
 
@@ -1738,7 +1859,7 @@ Enhancements::
1738
1859
 
1739
1860
  Compliance::
1740
1861
 
1741
- * ~ 99.5% compliance with AsciiDoc
1862
+ * ~ 99.5% compliance with AsciiDoc.py
1742
1863
  * drop line if target of include directive is blank (#376)
1743
1864
  * resolve attribute references in target of include directive (#367)
1744
1865
  * added irc scheme to link detection (#314)
@@ -1799,7 +1920,7 @@ Enhancements::
1799
1920
 
1800
1921
  Compliance::
1801
1922
 
1802
- * added AsciiDoc compatibility file to make AsciiDoc behave like Asciidoctor (#257)
1923
+ * added compatibility file to make AsciiDoc.py behave like Asciidoctor (#257)
1803
1924
  * restore alpha-based xml entities (#211)
1804
1925
  * implement video and audio block macros (#155)
1805
1926
  * implement toc block macro (#269)
@@ -1855,7 +1976,7 @@ Compliance::
1855
1976
  * support limited value comparison functionality of ifeval (#83)
1856
1977
  * added support for multiple attributes in ifdef and ifndef directives
1857
1978
  * don't attempt to embed image with uri reference when data-uri is set (#157)
1858
- * accomodate trailing dot in author name (#156)
1979
+ * accommodate trailing dot in author name (#156)
1859
1980
  * don't hardcode language attribute in html backend (#185)
1860
1981
  * removed language from DocBook root node (#188)
1861
1982
  * fixed revinfo line swallowing attribute entry
@@ -1899,7 +2020,7 @@ Enhancements::
1899
2020
  * added hardbreaks option to preserve line breaks in paragraph text (#119)
1900
2021
  * :header_footer option defaults to false when using the API, unless rendering to file
1901
2022
  * added idseparator attribute to customized separator used in generated section ids
1902
- * do not number special sections (differs from AsciiDoc)
2023
+ * do not number special sections (differs from AsciiDoc.py)
1903
2024
 
1904
2025
  Compliance::
1905
2026
 
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, and the
3
+ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the
4
4
  individual contributors to Asciidoctor.
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
data/README-de.adoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = Asciidoctor
2
- Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.13, 2021-04-10
2
+ Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
3
+ v2.0.17, 2022-01-05
4
4
  // settings:
5
5
  :idprefix:
6
6
  :idseparator: -
@@ -9,7 +9,6 @@ v2.0.13, 2021-04-10
9
9
  ifndef::env-github[:icons: font]
10
10
  ifdef::env-github[]
11
11
  :status:
12
- :outfilesuffix: .adoc
13
12
  :caution-caption: :fire:
14
13
  :important-caption: :exclamation:
15
14
  :note-caption: :paperclip:
@@ -17,7 +16,7 @@ ifdef::env-github[]
17
16
  :warning-caption: :warning:
18
17
  endif::[]
19
18
  // Variables:
20
- :release-version: 2.0.13
19
+ :release-version: 2.0.17
21
20
  // URIs:
22
21
  :uri-org: https://github.com/asciidoctor
23
22
  :uri-repo: {uri-org}/asciidoctor
@@ -33,8 +32,8 @@ ifdef::env-site[:uri-project: link:]
33
32
  :uri-rel-file-base: link:
34
33
  :uri-rel-tree-base: link:
35
34
  ifdef::env-site[]
36
- :uri-rel-file-base: {uri-repo}/blob/master/
37
- :uri-rel-tree-base: {uri-repo}/tree/master/
35
+ :uri-rel-file-base: {uri-repo}/blob/HEAD/
36
+ :uri-rel-tree-base: {uri-repo}/tree/HEAD/
38
37
  endif::[]
39
38
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
40
39
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -51,14 +50,13 @@ endif::[]
51
50
  :uri-render-doc: {uri-docs}/render-documents
52
51
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
53
52
  :uri-gitscm-repo: https://github.com/git/git-scm.com
54
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
55
53
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
56
54
  :uri-foundation: https://foundation.zurb.com
57
55
  :uri-opal: https://opalrb.com
58
56
  :uri-tilt: https://github.com/rtomayko/tilt
59
57
  :uri-ruby: https://ruby-lang.org
60
58
  // images:
61
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
59
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
62
60
 
63
61
  {uri-project}[Asciidoctor] ist ein _schneller_, {uri-license}[Open Source] Textverarbeitungs- und Publishing-Toolchain für die Konvertierung von {uri-what-is-asciidoc}[AsciiDoc]-Inhalten in HTML 5, DocBook 5, PDF und andere Formate.
64
62
  Asciidoctor ist in Ruby geschrieben und läuft auf allen gängigen Betriebsystemen.
@@ -88,8 +86,7 @@ ifdef::status[]
88
86
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
89
87
  image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
90
88
  image:https://github.com/asciidoctor/asciidoctor/workflows/CI/badge.svg[Build Status (GitHub Actions),link={uri-repo}/actions]
91
- image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
92
- image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/]
89
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat (Zulip),link={uri-chat}]
93
90
  endif::[]
94
91
 
95
92
  == Sponsoren
@@ -452,7 +449,7 @@ Asciidoctor Organization auf GitHub:: {uri-org}
452
449
 
453
450
  == Lizenz
454
451
 
455
- Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, und die einzelnen Mitarbeiter von Asciidoctor.
452
+ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, und die einzelnen Mitarbeiter von Asciidoctor.
456
453
  Die Nutzung dieser Software wird unter den Bedingungen der MIT-Lizenz gewährt.
457
454
 
458
455
  Siehe die {uri-license}[LIZENZ] für den vollen Lizenztext.
@@ -460,7 +457,7 @@ Siehe die {uri-license}[LIZENZ] für den vollen Lizenztext.
460
457
  == Authoren
461
458
 
462
459
  *Asciidoctor* wird von https://github.com/mojavelinux[Dan Allen] und https://github.com/graphitefriction[Sarah White] geleitet und hat Beiträge von {uri-contributors}[vielen Personen] in Asciidoctors großartiger Gemeinschaft erhalten.
463
- Das Projekt wurde 2012 von https://github.com/erebor[Ryan Waldron] initiiert und basiert auf einem {uri-prototype}[Prototyp] von https://github.com/nickh[Nick Hengeveld].
460
+ Das Projekt wurde 2012 von https://github.com/erebor[Ryan Waldron] initiiert und basiert auf einem prototyp von https://github.com/nickh[Nick Hengeveld].
464
461
 
465
462
  *AsciiDoc* wurde von Stuart Rackham gegründet und hat Beiträge von vielen Personen aus der AsciiDoc-Community erhalten.
466
463
 
data/README-fr.adoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = Asciidoctor
2
- Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.13, 2021-04-10
2
+ Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
3
+ v2.0.17, 2022-01-05
4
4
  // settings:
5
5
  :idprefix:
6
6
  :idseparator: -
@@ -9,7 +9,6 @@ v2.0.13, 2021-04-10
9
9
  ifndef::env-github[:icons: font]
10
10
  ifdef::env-github[]
11
11
  :status:
12
- :outfilesuffix: .adoc
13
12
  :caution-caption: :fire:
14
13
  :important-caption: :exclamation:
15
14
  :note-caption: :paperclip:
@@ -17,7 +16,7 @@ ifdef::env-github[]
17
16
  :warning-caption: :warning:
18
17
  endif::[]
19
18
  // Variables:
20
- :release-version: 2.0.13
19
+ :release-version: 2.0.17
21
20
  // URIs:
22
21
  :uri-org: https://github.com/asciidoctor
23
22
  :uri-repo: {uri-org}/asciidoctor
@@ -33,8 +32,8 @@ ifdef::env-site[:uri-project: link:]
33
32
  :uri-rel-file-base: link:
34
33
  :uri-rel-tree-base: link:
35
34
  ifdef::env-site[]
36
- :uri-rel-file-base: {uri-repo}/blob/master/
37
- :uri-rel-tree-base: {uri-repo}/tree/master/
35
+ :uri-rel-file-base: {uri-repo}/blob/HEAD/
36
+ :uri-rel-tree-base: {uri-repo}/tree/HEAD/
38
37
  endif::[]
39
38
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
40
39
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -51,13 +50,12 @@ endif::[]
51
50
  :uri-render-doc: {uri-docs}/render-documents
52
51
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
53
52
  :uri-gitscm-repo: https://github.com/git/git-scm.com
54
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
55
53
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
56
54
  :uri-foundation: https://foundation.zurb.com
57
55
  :uri-tilt: https://github.com/rtomayko/tilt
58
56
  :uri-ruby: https://ruby-lang.org
59
57
  // images:
60
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
58
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
61
59
 
62
60
  {uri-project}/[Asciidoctor] est un processeur de texte et une chaîne de publication _rapide_ et {uri-license}[open source] permettant de convertir du contenu {uri-what-is-asciidoc}[AsciiDoc] en HTML 5, DocBook 5, PDF et d'autres formats.
63
61
  Asciidoctor est écrit en Ruby et fonctionne sur les principaux systèmes d'exploitation.
@@ -85,8 +83,7 @@ ifdef::status[]
85
83
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
86
84
  image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
87
85
  image:https://github.com/asciidoctor/asciidoctor/workflows/CI/badge.svg[Build Status (GitHub Actions),link={uri-repo}/actions]
88
- image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
89
- image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/]
86
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat,link={uri-chat}]
90
87
  endif::[]
91
88
 
92
89
  == Sponsors
@@ -418,7 +415,7 @@ L'organisation Asciidoctor sur GitHub:: {uri-org}
418
415
 
419
416
  == Licence
420
417
 
421
- Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, et les contributeurs individuels d'Asciidoctor.
418
+ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, et les contributeurs individuels d'Asciidoctor.
422
419
  Une utilisation libre de ce logiciel est autorisée sous les termes de la licence MIT.
423
420
 
424
421
  Consultez le fichier {uri-license}[LICENSE] pour plus de détails.
@@ -426,7 +423,7 @@ Consultez le fichier {uri-license}[LICENSE] pour plus de détails.
426
423
  == Auteurs
427
424
 
428
425
  *Asciidoctor* est mené par https://github.com/mojavelinux[Dan Allen] et https://github.com/graphitefriction[Sarah White] et reçoit de nombreuses contributions de la part de la {uri-contributors}[géniale communauté] Asciidoctor.
429
- Le projet a été initié en 2012 par https://github.com/erebor[Ryan Waldron] et est basé sur {uri-prototype}[un prototype] écrit par https://github.com/nickh[Nick Hengeveld].
426
+ Le projet a été initié en 2012 par https://github.com/erebor[Ryan Waldron] et est basé sur un prototype écrit par https://github.com/nickh[Nick Hengeveld].
430
427
 
431
428
  *AsciiDoc* a été démarré par Stuart Rackham et a reçu de nombreuses contributions de la part de la communauté AsciiDoc.
432
429
 
data/README-jp.adoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = Asciidoctor
2
- Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.13, 2021-04-10
2
+ Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
3
+ v2.0.17, 2022-01-05
4
4
  // settings:
5
5
  :idprefix:
6
6
  :idseparator: -
@@ -9,7 +9,6 @@ v2.0.13, 2021-04-10
9
9
  ifndef::env-github[:icons: font]
10
10
  ifdef::env-github[]
11
11
  :status:
12
- :outfilesuffix: .adoc
13
12
  :caution-caption: :fire:
14
13
  :important-caption: :exclamation:
15
14
  :note-caption: :paperclip:
@@ -17,7 +16,7 @@ ifdef::env-github[]
17
16
  :warning-caption: :warning:
18
17
  endif::[]
19
18
  // Variables:
20
- :release-version: 2.0.13
19
+ :release-version: 2.0.17
21
20
  // URIs:
22
21
  :uri-org: https://github.com/asciidoctor
23
22
  :uri-repo: {uri-org}/asciidoctor
@@ -37,8 +36,8 @@ ifdef::env-site[:uri-project: link:]
37
36
  :uri-rel-file-base: link:
38
37
  :uri-rel-tree-base: link:
39
38
  ifdef::env-site,env-yard[]
40
- :uri-rel-file-base: {uri-repo}/blob/master/
41
- :uri-rel-tree-base: {uri-repo}/tree/master/
39
+ :uri-rel-file-base: {uri-repo}/blob/HEAD/
40
+ :uri-rel-tree-base: {uri-repo}/tree/HEAD/
42
41
  endif::[]
43
42
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
44
43
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -55,14 +54,13 @@ endif::[]
55
54
  :uri-convert-doc: {uri-docs}/convert-documents
56
55
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
57
56
  :uri-gitscm-repo: https://github.com/git/git-scm.com
58
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
59
57
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
60
58
  :uri-foundation: https://foundation.zurb.com
61
59
  :uri-opal: https://opalrb.com
62
60
  :uri-tilt: https://github.com/rtomayko/tilt
63
61
  :uri-ruby: https://www.ruby-lang.org
64
62
  // images:
65
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
63
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
66
64
 
67
65
  {uri-project}[Asciidoctor]は, {uri-what-is-asciidoc}[AsciiDoc] で書かれたコンテンツをHTML5, DocBook, PDFなどのフォーマットに変換する, _高速で_ {uri-license}[オープンソース] のテキストプロセッサおよびパブリッシングツールチェインです.
68
66
  AsciidoctorはRubyで書かれており, すべての主要オペレーティングシステムで動作します.
@@ -70,7 +68,7 @@ Asciidoctorプロジェクトは {uri-repo}[GitHubにホスティング] され
70
68
 
71
69
  インストールをシンプルにするため, AsciidoctorはRubyGem(gem)パッケージとして, {uri-rubygem}[RubyGems.org] で配布されています.
72
70
  さらに, Asciidoctorは主要なLinuxディストリビューション用およびmacOS用パッケージとしても配布されています.
73
- AsciidctorはRubyで動作するだけでなく, {uri-asciidoctorj}[AsciidoctorJ]としてJVM上でも動作します. また, {uri-asciidoctorjs}[Asciidoctor.js]としてどのようなJavaScript環境(ブラウザを含む)でも実行できます.
71
+ AsciidoctorはRubyで動作するだけでなく, {uri-asciidoctorj}[AsciidoctorJ]としてJVM上でも動作します. また, {uri-asciidoctorjs}[Asciidoctor.js]としてどのようなJavaScript環境(ブラウザを含む)でも実行できます.
74
72
 
75
73
  ifndef::env-site,env-yard[]
76
74
  このドキュメントには以下の言語版が存在します: +
@@ -94,8 +92,7 @@ ifdef::status[]
94
92
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
95
93
  image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
96
94
  image:https://github.com/asciidoctor/asciidoctor/workflows/CI/badge.svg[Build Status (GitHub Actions),link={uri-repo}/actions]
97
- image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
98
- image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/]
95
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat,link={uri-chat}]
99
96
  endif::[]
100
97
 
101
98
  == スポンサー
@@ -452,7 +449,7 @@ GitHub上のAsciidoctorのorganization:: {uri-org}
452
449
 
453
450
  == ライセンス
454
451
 
455
- Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor.
452
+ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor.
456
453
  本ソフトウェアはMITライセンスのもとで使用できます.
457
454
 
458
455
  ライセンスの詳細については {uri-license}[LICENSE] ファイルを参照してください.
@@ -460,7 +457,7 @@ Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, and the individual
460
457
  == 作者
461
458
 
462
459
  *Asciidoctor* は https://github.com/mojavelinux[Dan Allen] と https://github.com/graphitefriction[Sarah White] がリードし, Asciidoctorの素晴らしきコミュニティの {uri-contributors}[数多くのメンバ] からコントリビューションを受けてきました.
463
- このプロジェクトは https://github.com/nickh[Nick Hengeveld] {uri-prototype}[プロトタイプ] をベースに https://github.com/erebor[Ryan Waldron] により2012年から創始されました.
460
+ このプロジェクトは https://github.com/nickh[Nick Hengeveld] のプロトタイプをベースに https://github.com/erebor[Ryan Waldron] により2012年から創始されました.
464
461
 
465
462
  *AsciiDoc* は Stuart Rackham により創始され, AsciiDocコミュニティの数多くのメンバからコントリビューションを受けてきました.
466
463