asciidoctor 2.0.10 → 2.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +211 -22
- data/LICENSE +1 -1
- data/README-de.adoc +12 -13
- data/README-fr.adoc +11 -15
- data/README-jp.adoc +9 -17
- data/README-zh_CN.adoc +17 -18
- data/README.adoc +140 -132
- data/asciidoctor.gemspec +6 -6
- data/data/locale/attributes-ar.adoc +4 -3
- data/data/locale/attributes-be.adoc +23 -0
- data/data/locale/attributes-bg.adoc +4 -3
- data/data/locale/attributes-ca.adoc +6 -5
- data/data/locale/attributes-cs.adoc +4 -3
- data/data/locale/attributes-da.adoc +6 -5
- data/data/locale/attributes-de.adoc +4 -4
- data/data/locale/attributes-en.adoc +4 -4
- data/data/locale/attributes-es.adoc +6 -5
- data/data/locale/attributes-fa.adoc +4 -3
- data/data/locale/attributes-fi.adoc +4 -3
- data/data/locale/attributes-fr.adoc +6 -5
- data/data/locale/attributes-hu.adoc +4 -3
- data/data/locale/attributes-id.adoc +4 -3
- data/data/locale/attributes-it.adoc +6 -5
- data/data/locale/attributes-ja.adoc +4 -3
- data/data/locale/{attributes-kr.adoc → attributes-ko.adoc} +4 -3
- data/data/locale/attributes-nb.adoc +4 -3
- data/data/locale/attributes-nl.adoc +6 -5
- data/data/locale/attributes-nn.adoc +4 -3
- data/data/locale/attributes-pl.adoc +8 -7
- data/data/locale/attributes-pt.adoc +6 -5
- data/data/locale/attributes-pt_BR.adoc +6 -5
- data/data/locale/attributes-ro.adoc +4 -3
- data/data/locale/attributes-ru.adoc +6 -5
- data/data/locale/attributes-sr.adoc +4 -4
- data/data/locale/attributes-sr_Latn.adoc +4 -4
- data/data/locale/attributes-sv.adoc +4 -4
- data/data/locale/attributes-tr.adoc +4 -3
- data/data/locale/attributes-uk.adoc +6 -5
- data/data/locale/attributes-zh_CN.adoc +4 -3
- data/data/locale/attributes-zh_TW.adoc +4 -3
- data/data/reference/syntax.adoc +14 -7
- data/data/stylesheets/asciidoctor-default.css +27 -28
- data/lib/asciidoctor.rb +38 -12
- data/lib/asciidoctor/abstract_block.rb +9 -4
- data/lib/asciidoctor/abstract_node.rb +16 -6
- data/lib/asciidoctor/attribute_list.rb +64 -72
- data/lib/asciidoctor/cli/invoker.rb +2 -0
- data/lib/asciidoctor/cli/options.rb +10 -9
- data/lib/asciidoctor/convert.rb +167 -162
- data/lib/asciidoctor/converter.rb +13 -12
- data/lib/asciidoctor/converter/docbook5.rb +29 -12
- data/lib/asciidoctor/converter/html5.rb +69 -46
- data/lib/asciidoctor/converter/manpage.rb +68 -49
- data/lib/asciidoctor/converter/template.rb +3 -0
- data/lib/asciidoctor/document.rb +43 -50
- data/lib/asciidoctor/extensions.rb +2 -4
- data/lib/asciidoctor/helpers.rb +20 -15
- data/lib/asciidoctor/load.rb +102 -101
- data/lib/asciidoctor/parser.rb +40 -32
- data/lib/asciidoctor/path_resolver.rb +14 -12
- data/lib/asciidoctor/reader.rb +22 -13
- data/lib/asciidoctor/rx.rb +7 -6
- data/lib/asciidoctor/substitutors.rb +78 -57
- data/lib/asciidoctor/syntax_highlighter.rb +8 -5
- data/lib/asciidoctor/syntax_highlighter/coderay.rb +1 -1
- data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +12 -4
- data/lib/asciidoctor/syntax_highlighter/prettify.rb +7 -4
- data/lib/asciidoctor/syntax_highlighter/pygments.rb +6 -7
- data/lib/asciidoctor/syntax_highlighter/rouge.rb +33 -19
- data/lib/asciidoctor/table.rb +52 -23
- data/lib/asciidoctor/version.rb +1 -1
- data/man/asciidoctor.1 +8 -8
- data/man/asciidoctor.adoc +4 -4
- metadata +16 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb27f87c48be418263b4f94e5b63f95c9615e03226a3cd093d4eab7f6dd02804
|
4
|
+
data.tar.gz: 9d562c732b689e19dfbba66195568c373a44a5ca5402a3310bb172f88ccf16bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cade3f312ab79d06ce6cbce0376c03a5c2fc6f44c02a46273aba40ecb49a15735785a66dbf6381e61f30265f45456c1c434b9f88a4cc6487624a3f4129b4e1c
|
7
|
+
data.tar.gz: d1e9b950be47affa3459f5685efb442f6a2a6ece9485ce961f1aca232e27c0fbdcd8bd2f92983d831fec7176e3fe8996cf952f3e38d6a56c9eb77de8e2a1bad7
|
data/CHANGELOG.adoc
CHANGED
@@ -11,9 +11,193 @@ 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
|
14
|
+
For an even more detailed look at what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
|
15
|
+
|
16
|
+
This project utilizes semantic versioning.
|
15
17
|
|
16
18
|
// tag::compact[]
|
19
|
+
== 2.0.15 (2021-04-27) - @mojavelinux
|
20
|
+
|
21
|
+
Bug Fixes::
|
22
|
+
|
23
|
+
* Don't include trailing period, question mark, or exclamation point in target (URL) of autolink (#3860)
|
24
|
+
* Don't assign nil value to named attribute mapped to absent positional attribute when parsing attrlist (#4033)
|
25
|
+
* Remove leading and trailing spaces around role on inline phrase (#4035)
|
26
|
+
* Ignore empty role on inline phrase defined using legacy syntax and followed by comma (#4035)
|
27
|
+
* 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)
|
28
|
+
* Use xreftext on document as fallback link text in HTML output for internal xref with empty fragment when no link text is provided (#4032)
|
29
|
+
* Use document ID as linkend in DocBook output for internal xref with empty fragment; auto-generating one if necessary (#4032)
|
30
|
+
|
31
|
+
Improvements::
|
32
|
+
|
33
|
+
* Format keyboard references in monospace in manpage output
|
34
|
+
|
35
|
+
Build / Infrastructure::
|
36
|
+
|
37
|
+
* Get remaining invoker tests working on JRuby 9.1 for Windows
|
38
|
+
|
39
|
+
// end::compact[]
|
40
|
+
== 2.0.14 (2021-04-19) - @mojavelinux
|
41
|
+
|
42
|
+
Bug Fixes::
|
43
|
+
|
44
|
+
* 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)
|
45
|
+
* Ensure default document attributes unset in parent document remain unset in AsciiDoc table cell (#2586)
|
46
|
+
* Allow the `showtitle` / `notitle` attribute to be toggled in an AsciiDoc table cell if set or unset in parent document (#4018)
|
47
|
+
* Ensure mtime of input file honors TZ environment variable on JRuby for Windows (affects value of `docdatetime` attribute) (#3550)
|
48
|
+
* Honor caption attribute on blocks that support captioned title even if corresponding `*-caption` document attribute (e.g., `example-caption`) is not set (#4023)
|
49
|
+
* Suppress missing attribute warning when applying substitutions to implicit document title for assignment to intrinsic `doctitle` attribute (#4024)
|
50
|
+
* Increment counter (but not the corresponding attribute) if attribute is locked (#4013)
|
51
|
+
|
52
|
+
Improvements::
|
53
|
+
|
54
|
+
* Use attribute, if set, as seed value for counter even if not already registered as a counter (#4014)
|
55
|
+
* Allow subs attribute value on Inline node returned by process method for custom inline macro to be a String (#3938)
|
56
|
+
* Allow value of `user-home` attribute to be overridden by API or CLI (#3732)
|
57
|
+
|
58
|
+
Build / Infrastructure::
|
59
|
+
|
60
|
+
* Run tests on JRuby for Windows (#3550)
|
61
|
+
|
62
|
+
== 2.0.13 (2021-04-10) - @mojavelinux
|
63
|
+
|
64
|
+
Bug Fixes::
|
65
|
+
|
66
|
+
* Rollback change for #3470, which added logic to remove leading and trailing empty lines in an AsciiDoc include file; instead skip empty lines before processing document header (#3997)
|
67
|
+
* Don't allow `counter` and `counter2` attribute directives to override locked attributes (#3939) (*@mogztter*)
|
68
|
+
* Fix crash when resolving next value in sequence for counter with non-numeric value (#3940)
|
69
|
+
* Honor list of tags following negated wildcard on include directive (#3932)
|
70
|
+
* Update default stylesheet to remove dash in front of cite on nested quote block (#3847)
|
71
|
+
* Don't mangle formatting macros when uppercasing section titles in man page output (#3892)
|
72
|
+
* Don't escape hyphen in `manname` in man page output
|
73
|
+
* Remove extra `.sp` line before content of verse block in man page output
|
74
|
+
* Fix layout of footnotes in man page output (#3989)
|
75
|
+
* Fix formatting of footnote text with URL in man page output (#3988)
|
76
|
+
* Remove redundant trailing space on URL followed by non-adjacent text in man page output (#4004)
|
77
|
+
* Use `.bp` macro at location of page break in man page output (#3992)
|
78
|
+
|
79
|
+
Improvements::
|
80
|
+
|
81
|
+
* Extract method to create lexer and formatter in Rouge adapter (#3953) (*@Oblomov*)
|
82
|
+
* Add support for pygments.rb 2.x (#3969) (*@slonopotamus*)
|
83
|
+
* Allow `NullLogger` to be enabled by setting the `:logger` option to a falsy value (#3982)
|
84
|
+
* Substitute attributes in manpurpose part of NAME section in manpage doctype (#4000)
|
85
|
+
* Output all mannames in name section of HTML output for manpage doctype (#3757)
|
86
|
+
|
87
|
+
Build / Infrastructure::
|
88
|
+
|
89
|
+
* Enable running tests as root (PR #3874) (*@mikemckiernan*)
|
90
|
+
* Run tests against both pygments.rb 1.x and 2.x (#3969) (*@slonopotamus*)
|
91
|
+
* Speed up CI by using Bundler cache (PR #3901) (*@slonopotamus*)
|
92
|
+
|
93
|
+
Documentation::
|
94
|
+
|
95
|
+
* Import documentation for processor into this repository (#3861) (*@graphitefriction*)
|
96
|
+
* Add Belarusian translation of built-in attributes (PR #3928) (*@morganov*)
|
97
|
+
|
98
|
+
== 2.0.12 (2020-11-10) - @mojavelinux
|
99
|
+
|
100
|
+
Bug Fixes::
|
101
|
+
|
102
|
+
* Set type and target property on unresolved footnote reference and unset id property (fixes regression) (#3825)
|
103
|
+
* Fix crash when inlining an SVG if the explicit width or height value on the image node is not a string (#3829)
|
104
|
+
* Reset word wrap behavior to normal on tables, then reenable again for admonition content, horizontal dlist description, and AsciiDoc table cells (#3833)
|
105
|
+
|
106
|
+
Improvements::
|
107
|
+
|
108
|
+
* Pass through role to DocBook output for inline image (#3832)
|
109
|
+
|
110
|
+
Compliance::
|
111
|
+
|
112
|
+
* Defer use of Ruby >= 2.3 constructs to restore compatibility with Ruby 2.0 until at least next minor release (#3827)
|
113
|
+
* Don't append the default px unit identifier to the explicit width or height value when inlining an SVG (#3829)
|
114
|
+
|
115
|
+
Build / Infrastructure::
|
116
|
+
|
117
|
+
* Migrate Linux CI jobs to GitHub Actions (#3837)
|
118
|
+
* Migrate Windows CI jobs to GitHub Actions (#3839)
|
119
|
+
* Run CI job on macOS (#3842)
|
120
|
+
|
121
|
+
== 2.0.11 (2020-11-02) - @mojavelinux
|
122
|
+
|
123
|
+
Bug Fixes::
|
124
|
+
|
125
|
+
* Fix infinite loop when callout list with obsolete syntax is found inside list item (#3472)
|
126
|
+
* Fix infinite loop when xreftext contains a circular reference path in HTML and manpage converters (#3543)
|
127
|
+
* Apply text formatting to table cells in implicit header row when column has the "a" or "l" style (#3760)
|
128
|
+
* Fix errant reference warning for valid reference when running in compat mode (#3555)
|
129
|
+
* Initialize backend traits for converter (if not previously initialized) using assigned basebackend; mimics Asciidoctor < 2 behavior (#3341)
|
130
|
+
* Set source_location on preamble block when sourcemap option is enabled (#3799)
|
131
|
+
* Link the notitle and showtitle attributes so they act as opposites for the same toggle (#3804)
|
132
|
+
* Pass options to constructor of Rouge lexer instead of #lex method; restores compatibility with Rouge >= 3.4 (#3336)
|
133
|
+
* Don't clobber cgi-style options on language when enabling start_inline option on the Rouge PHP lexer (#3336)
|
134
|
+
* Fix parsing of wrapped link and xref text, including when an attrlist signature is detected (#3331)
|
135
|
+
* Restore deprecated writable number property on AbstractBlock
|
136
|
+
* Always use title as xreftext if target block has an empty caption, regardless of xrefstyle value (#3745)
|
137
|
+
* Allow a bibliography reference to be used inside a footnote (#3325)
|
138
|
+
* Fix bottom margin collapsing on AsciiDoc table cell (#3370)
|
139
|
+
* Remove excess hard line break in multi-line AsciiMath blocks (#3407)
|
140
|
+
* Only strip trailing spaces from lines of AsciiDoc include file (#3436)
|
141
|
+
* Remove errant optional flag in regexp for menu macro that breaks Asciidoctor.js (#3433)
|
142
|
+
* Preserve repeating backslashes when generating manpage output (#3456)
|
143
|
+
* Honor percentage width specified on macro of inline SVG (#3464)
|
144
|
+
* Removing leading and trailing blank lines in AsciiDoc include file to match assumption of parser (#3470)
|
145
|
+
* Activate extensions when :extensions option is set even if Extensions API is not yet loaded (#3570)
|
146
|
+
* Don't activate global extensions if :extensions option is false (#3570)
|
147
|
+
* Escape ellipsis at start of line in manpage output (#3645) (*@jnavila*)
|
148
|
+
* Don't register footnote with ID if a footnote is already registered with that ID (#3690)
|
149
|
+
* Honor start attribute on ordered list in manpage output (#3714)
|
150
|
+
* Warn instead of crashing if SVG to inline is empty (#3638) (*@mogztter*)
|
151
|
+
* Compute highlight line ranges on source block relative to value of start attribute (#3519) (*@mogztter*)
|
152
|
+
* Prevent collapsible block from incrementing example number by assigning an empty caption (#3639)
|
153
|
+
* Use custom init function for highlight.js to select the correct `code` elements (#3761)
|
154
|
+
* Fix resolved value of :to_dir when both :to_file and :to_dir options are set to absolute paths (#3778)
|
155
|
+
* Fix crash if value of `stylesheets` attribute contains a folder and the destination directory for the stylesheet does not exist (even when the `:mkdirs` option is set) (#3808)
|
156
|
+
* Fix crash if value passed by API for `copycss` attribute is not a string (#3592)
|
157
|
+
* Restore label in front of each bibliography entry in DocBook output that was dropped by fix for #3085 (#3782)
|
158
|
+
* Apply max width to each top-level container instead of body in HTML output (#3513)
|
159
|
+
* Don't apply border-collapse: separate to HTML for table blocks; fixes double border at boundary of colspan/rowspan (#3793) (*@ahus1*)
|
160
|
+
* Don't remove right border on last table cell in row (#2563)
|
161
|
+
* Rework table borders to leverage border collapsing (apply frame border to table, grid border to cells, and selectively override border on cells to accommodate frame) (#3387)
|
162
|
+
|
163
|
+
Compliance::
|
164
|
+
|
165
|
+
* Account for empty positional attribute when parsing attrlist (#3813)
|
166
|
+
* Add support for muted option to self-hosted video (#3408)
|
167
|
+
* Move style tag for convert-time syntax highlighters (coderay, rouge, pygments) into head (#3462)
|
168
|
+
* Move style tag for client-side syntax highlighters (highlight.js, prettify) into head (#3503)
|
169
|
+
* Define entry point API methods (load, convert, load_file, convert_file) as class methods instead of module_function to avoid conflict with Kernel.load (#3625)
|
170
|
+
* Retain attribute order on HTML code tag for source block to remain consistent with output from 1.5.x (#3786)
|
171
|
+
* Correct language code for Korean language file from kr to ko (#3807) (*@jnavila*)
|
172
|
+
|
173
|
+
Improvements::
|
174
|
+
|
175
|
+
* Apply word wrap (i.e., `word-wrap: anywhere`) to body in default stylesheet (#3544)
|
176
|
+
* Allow `nobreak` and `nowrap` roles to be used on any inline element (#3544)
|
177
|
+
* Add CSS class to support pre-wrap role to preserve leading, trailing, and repeating spaces in phrase (#3815)
|
178
|
+
* Preserve guard around XML-style callout when icons are not enabled (#3319)
|
179
|
+
* Use `.fam C` command to switch font family for verbatim blocks to monospaced text in manpage output (#3561)
|
180
|
+
* Remove redundant test for halign and valign attributes on table cell in DocBook converter
|
181
|
+
* Allow encoding of include file to be specified using encoding attribute (#3248)
|
182
|
+
* Allow template to be used to override outline by only specifying the outline template (#3491)
|
183
|
+
* Upgrade MathJax from 2.7.5 to 2.7.9
|
184
|
+
* Upgrade highlight.js from 9.15.10 to 9.18.3 (note that this increases script size from 48.8 KB to 71.5 KB)
|
185
|
+
* Skip unused default attribute assignments for embedded document
|
186
|
+
* Allow a URL macro to have a preceding single or double quote (#3376)
|
187
|
+
* Add support for erubi template engine; use it in place of erubis in test suite; note the use of erubis is deprecated (#3737)
|
188
|
+
* Download and embed remote custom stylesheet if allow-uri-read is set (#3765)
|
189
|
+
* Remove direction property from default stylesheet (#3753) (*@abdnh*)
|
190
|
+
* remove max width setting on content column for print media in default stylesheet (#3802)
|
191
|
+
* Normalize frame value "topbot" to "ends" in HTML output (consistently use frame-ends class) (#3797)
|
192
|
+
* Add role setter method on AbstractNode (#3614)
|
193
|
+
* Map chapter-signifier and part-signifier attributes in locale attribute files to replace chapter-label and part-label (#3817)
|
194
|
+
|
195
|
+
Build / Infrastructure::
|
196
|
+
|
197
|
+
* Run test suite on TruffleRuby nightly (*@mogztter*, *@erebor*)
|
198
|
+
* Upgrade TruffleRuby to 20.0.0 (*@mogztter*)
|
199
|
+
* Trigger upstream builds for AsciidoctorJ on Github Actions (*@robertpanzer*)
|
200
|
+
|
17
201
|
== 2.0.10 (2019-05-31) - @mojavelinux
|
18
202
|
|
19
203
|
Bug Fixes::
|
@@ -24,7 +208,6 @@ Bug Fixes::
|
|
24
208
|
* fix signature of SyntaxHighlighter#docinfo method (#3300)
|
25
209
|
* when `icons` is set to `image`, enable image icons, but don't use it as the value of the `icontype` attribute (#3308)
|
26
210
|
|
27
|
-
// end::compact[]
|
28
211
|
== 2.0.9 (2019-04-30) - @mojavelinux
|
29
212
|
|
30
213
|
Bug Fixes::
|
@@ -72,7 +255,7 @@ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues
|
|
72
255
|
|
73
256
|
Bug Fixes::
|
74
257
|
|
75
|
-
* assume implicit AsciiDoc extension on
|
258
|
+
* assume implicit AsciiDoc extension on inter-document xref macro target with no extension (e.g., `document#`); restores 1.5.x behavior (#3231)
|
76
259
|
* don't fail to load application if call to Dir.home fails; use a rescue with fallback values (#3238)
|
77
260
|
* Helpers.rootname should only consider final path segment when dropping file extension
|
78
261
|
|
@@ -148,7 +331,7 @@ Enhancements / Compliance::
|
|
148
331
|
|
149
332
|
* drop support for Ruby < 2.3 and JRuby < 9.1 and remove workarounds (#2764)
|
150
333
|
* drop support for Slim < 3 (#2998)
|
151
|
-
* drop the converter for the docbook45 backend (#3005)
|
334
|
+
* drop the converter for the docbook45 backend from core; moved to https://github.com/asciidoctor/asciidoctor-docbook45 (#3005)
|
152
335
|
* apply substitutions to section and block titles in normal substitution order (#1173)
|
153
336
|
* make syntax highlighter pluggable; extract all logic into adapter classes (#2106)
|
154
337
|
* add syntax highlighter adapter for Rouge (#1040)
|
@@ -185,7 +368,7 @@ Enhancements / Compliance::
|
|
185
368
|
* change default value of third argument to Abstractnode#attr / AbstractNode#attr? to nil so attribute doesn't inherit by default (#3059)
|
186
369
|
* look for table-frame, table-grid, and table-stripes attributes on document as fallback for frame, grid, and stripes attributes on table (#3059)
|
187
370
|
* add support for hover mode for table stripes (stripes=hover) (#3110)
|
188
|
-
* always assume the target of a shorthand
|
371
|
+
* always assume the target of a shorthand inter-document xref is a reference to an AsciiDoc document (source-to-source) (#3021)
|
189
372
|
* if the target of a formal xref macro has a file extension, assume it's a path reference (#3021)
|
190
373
|
* never assume target of a formal xref macro is a path reference unless a file extension or fragment is present (#3021)
|
191
374
|
* encode characters in URI to comply with RFC-3986
|
@@ -224,6 +407,7 @@ Enhancements / Compliance::
|
|
224
407
|
* require space after semi-colon that separates multiple authors (#2441)
|
225
408
|
* catalog inline anchors at start of callout list items (#2818) (*@owenh000*)
|
226
409
|
* add parse_attributes helper method to base extension Processor class (#2134)
|
410
|
+
* require at least one character in the term position of a description list (#2766)
|
227
411
|
|
228
412
|
Improvements::
|
229
413
|
|
@@ -305,7 +489,7 @@ Bug Fixes::
|
|
305
489
|
Build / Infrastructure::
|
306
490
|
|
307
491
|
* clear SOURCE_DATE_EPOCH env var when testing timezones (PR #2969) (*@aerostitch*)
|
308
|
-
* remove compat folder (removes the AsciiDoc
|
492
|
+
* remove compat folder (removes the AsciiDoc.py config file that provides pseudo-compliance with Asciidoctor and a stylesheet for an old Font Awesome migration)
|
309
493
|
* add Ruby 2.6.0 to build matrix
|
310
494
|
* stop running CI job on unsupported versions of Ruby
|
311
495
|
* exclude test suite, build script, and Gemfile from gem (#3044)
|
@@ -337,6 +521,7 @@ Enhancements::
|
|
337
521
|
* add support for start attribute on source block to set starting line number when converting to DocBook (#2915)
|
338
522
|
* track imagesdir for image on node and in catalog (#2779)
|
339
523
|
* allow starting line number to be set using start attribute when highighting source block with Pygments or CodeRay (#1742)
|
524
|
+
* add intrinsic attribute named `pp` that effectively resolves to `++` (#2807)
|
340
525
|
* upgrade highlight.js to 9.13.1
|
341
526
|
|
342
527
|
Bug Fixes::
|
@@ -421,6 +606,11 @@ Enhancements::
|
|
421
606
|
|
422
607
|
* BREAKING: drop XML tags, character refs, and non-word characters (except hyphen, dot, and space) when auto-generating section IDs (#794)
|
423
608
|
** hyphen, dot, and space are replaced with value of idseparator, if set; otherwise, spaces are dropped
|
609
|
+
* BREAKING: disable inter-document xrefs in compat mode (#2740)
|
610
|
+
* BREAKING: automatically parse attributes in link macro if equals is present, ignoring linkattrs (except in compat mode) (#2059)
|
611
|
+
* pass non-AsciiDoc file extensions in target of xref through unprocessed (#2740)
|
612
|
+
* process any known AsciiDoc file extension in target of shorthand inter-document xref if hash is also present (e.g., `<<target.asciidoc#,text>>`) (#2740)
|
613
|
+
* only allow .adoc to be used in target of formal xref macro to create an inter-document xref (with or without a hash) (#2740)
|
424
614
|
* allow attribute names to contain any word character defined by Unicode (#2376, PR #2393)
|
425
615
|
* do not recognize attribute entry line if name contains a colon (PR #2377)
|
426
616
|
* route all processor messages through a logger instead of using Kernel#warn (#44, PR #2660)
|
@@ -432,9 +622,9 @@ Enhancements::
|
|
432
622
|
* add `--failure-level=LEVEL` option to CLI to force non-zero exit code if specified logging level is reached (#2003, PR #2674)
|
433
623
|
* parse text of xref macro as attributes if attribute signature found (equal sign) (#2381)
|
434
624
|
* allow xrefstyle to be specified per xref by assigning the xrefstyle attribute on the xref macro (#2365)
|
435
|
-
* recognize target with .adoc extension in xref macro as an
|
625
|
+
* recognize target with .adoc extension in xref macro as an inter-document xref
|
436
626
|
* resolve nested includes in remote documents relative to URI (#2506, PR #2511)
|
437
|
-
* allow `relfilesuffix` attribute to control file extension used for
|
627
|
+
* allow `relfilesuffix` attribute to control file extension used for inter-document xrefs (#1273)
|
438
628
|
* support `!name@` (preferred), `!name=@`, `name!@`, and `name!=@` syntax to soft unset attribute from API or CLI (#642, PR #2649)
|
439
629
|
* allow modifier to be placed at end of name to soft set an attribute (e.g., `icons@=font`) (#642, PR #2649)
|
440
630
|
* interpret `false` attribute value defined using API as a soft unset (#642, PR #2649)
|
@@ -540,7 +730,6 @@ Improvements / Refactoring::
|
|
540
730
|
* move callouts into document catalog (PR #2394)
|
541
731
|
* document ID defined in block attribute line takes precedence over ID defined inside document title line
|
542
732
|
* don't look for link and window attributes on document when resolving these attributes for an image
|
543
|
-
* when linkattrs is set, only parse attributes in link macro if equals is present
|
544
733
|
* skip line comments in name section of manpage (#2584, PR #2585)
|
545
734
|
* always activate extension registry passed to processor (PR #2379)
|
546
735
|
* skip extension registry activation if no groups are registered (PR #2373)
|
@@ -549,7 +738,7 @@ Improvements / Refactoring::
|
|
549
738
|
* add methods to read results from timings (#2578, PR #2580)
|
550
739
|
* collapse bottom margin of last block in AsciiDoc table cell (#2568, PR #2593)
|
551
740
|
* set authorcount to 0 if there are no authors (#2519, PR #2520)
|
552
|
-
* validate fragment of
|
741
|
+
* validate fragment of inter-document xref that resolves to current doc (#2448, PR #2449)
|
553
742
|
* put id attribute on tag around phrase instead of preceding anchor (#2445, PR #2446)
|
554
743
|
* add .plist extension to XML circumfix comment family (#2430, PR #2431) (*@akosma*)
|
555
744
|
* alias Document#title method to no args Document#doctitle method (#2429, PR #2432)
|
@@ -917,7 +1106,7 @@ Enhancements::
|
|
917
1106
|
* Honor SOURCE_DATE_EPOCH environment variable to accomodate reproducible builds (#1721) (*@JojoBoulix*)
|
918
1107
|
* Add reversed attribute to ordered list if reversed option is enabled (#1830)
|
919
1108
|
* Add support for additional docinfo locations (e.g., :header)
|
920
|
-
* Configure default stylesheet to break monospace word if exceeds length of line
|
1109
|
+
* 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)
|
921
1110
|
* Introduce translation file for built-in labels (*@ciampix*)
|
922
1111
|
* Provide translations for built-in labels (*@JmyL* - kr, *@ciampix* - it, *@ivannov* - bg, *@maxandersen* - da, *@radcortez* - pt, *@eddumelendez* - es, *@leathersole* - jp, *@aslakknutsen* - no, *@shahryareiv* - fa, *@AlexanderZobkov* - ru, *@dongwq* - zh, *@rmpestano* - pt_BR, *@ncomet* - fr, *@lgvz* - fi, *@patoi* - hu, *@BojanStipic* - sr, *@fwilhe* - de, *@rahmanusta* - tr, *@abelsromero* - ca, *@aboullaite* - ar, *@roelvs* - nl)
|
923
1112
|
* Translate README to Chinese (*@diguage*)
|
@@ -1171,7 +1360,7 @@ Improvements::
|
|
1171
1360
|
* define JAVASCRIPT_PLATFORM constant to simplify conditional logic in the JavaScript environment (#897)
|
1172
1361
|
* provide access to destination directory, outfile and outdir via Document object (#1203)
|
1173
1362
|
* print encoding information in version report produced by `asciidoctor -v` (#1210)
|
1174
|
-
* add intrinsic attribute named `cpp`
|
1363
|
+
* add intrinsic attribute named `cpp` that effectively resolves to `C++` (#1208)
|
1175
1364
|
* preserve URI targets passed to `stylesheet` and related attributes (#1192)
|
1176
1365
|
* allow numeric characters in block attribute name (#1103)
|
1177
1366
|
* support custom YouTube playlists (#1105)
|
@@ -1491,13 +1680,13 @@ Compliance::
|
|
1491
1680
|
* skip include directives when processing comment blocks
|
1492
1681
|
* added xmlns to root element in docbook45 backend, set noxmlns attribute to disable
|
1493
1682
|
* added a Compliance module to control compliance-related behavior
|
1494
|
-
* added linkattrs feature to AsciiDoc compatibility file (#441)
|
1495
|
-
* added level-5 heading to AsciiDoc compatibility file (#388)
|
1496
|
-
* added new XML-based callouts to AsciiDoc compatibility file
|
1497
|
-
* added absolute and uri image target matching to AsciiDoc compatibility file
|
1498
|
-
* added float attribute on inline image macro to AsciiDoc compatibility file
|
1499
|
-
* removed linkcss in AsciiDoc compatibility file
|
1500
|
-
* fixed fenced code entry in compatibility file
|
1683
|
+
* added linkattrs feature to AsciiDoc.py compatibility file (#441)
|
1684
|
+
* added level-5 heading to AsciiDoc.py compatibility file (#388)
|
1685
|
+
* added new XML-based callouts to AsciiDoc.py compatibility file
|
1686
|
+
* added absolute and uri image target matching to AsciiDoc.py compatibility file
|
1687
|
+
* added float attribute on inline image macro to AsciiDoc.py compatibility file
|
1688
|
+
* removed linkcss in AsciiDoc.py compatibility file
|
1689
|
+
* fixed fenced code entry in AsciiDoc.py compatibility file
|
1501
1690
|
|
1502
1691
|
Bug Fixes::
|
1503
1692
|
|
@@ -1595,7 +1784,7 @@ Enhancements::
|
|
1595
1784
|
|
1596
1785
|
Compliance::
|
1597
1786
|
|
1598
|
-
* ~ 99.5% compliance with AsciiDoc
|
1787
|
+
* ~ 99.5% compliance with AsciiDoc.py
|
1599
1788
|
* drop line if target of include directive is blank (#376)
|
1600
1789
|
* resolve attribute references in target of include directive (#367)
|
1601
1790
|
* added irc scheme to link detection (#314)
|
@@ -1656,7 +1845,7 @@ Enhancements::
|
|
1656
1845
|
|
1657
1846
|
Compliance::
|
1658
1847
|
|
1659
|
-
* added
|
1848
|
+
* added compatibility file to make AsciiDoc.py behave like Asciidoctor (#257)
|
1660
1849
|
* restore alpha-based xml entities (#211)
|
1661
1850
|
* implement video and audio block macros (#155)
|
1662
1851
|
* implement toc block macro (#269)
|
@@ -1756,7 +1945,7 @@ Enhancements::
|
|
1756
1945
|
* added hardbreaks option to preserve line breaks in paragraph text (#119)
|
1757
1946
|
* :header_footer option defaults to false when using the API, unless rendering to file
|
1758
1947
|
* added idseparator attribute to customized separator used in generated section ids
|
1759
|
-
* do not number special sections (differs from AsciiDoc)
|
1948
|
+
* do not number special sections (differs from AsciiDoc.py)
|
1760
1949
|
|
1761
1950
|
Compliance::
|
1762
1951
|
|
data/LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
|
-
Copyright (C) 2012-
|
3
|
+
Copyright (C) 2012-2021 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
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.
|
3
|
+
v2.0.15, 2021-04-27
|
4
4
|
// settings:
|
5
5
|
:idprefix:
|
6
6
|
:idseparator: -
|
@@ -17,7 +17,7 @@ ifdef::env-github[]
|
|
17
17
|
:warning-caption: :warning:
|
18
18
|
endif::[]
|
19
19
|
// Variables:
|
20
|
-
:release-version: 2.0.
|
20
|
+
:release-version: 2.0.15
|
21
21
|
// URIs:
|
22
22
|
:uri-org: https://github.com/asciidoctor
|
23
23
|
:uri-repo: {uri-org}/asciidoctor
|
@@ -40,8 +40,8 @@ endif::[]
|
|
40
40
|
:uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
|
41
41
|
:uri-license: {uri-rel-file-base}LICENSE
|
42
42
|
:uri-tests: {uri-rel-tree-base}test
|
43
|
-
:uri-discuss:
|
44
|
-
:uri-
|
43
|
+
:uri-discuss: https://discuss.asciidoctor.org
|
44
|
+
:uri-chat: https://asciidoctor.zulipchat.com
|
45
45
|
:uri-rubygem: https://rubygems.org/gems/asciidoctor
|
46
46
|
:uri-what-is-asciidoc: {uri-docs}/what-is-asciidoc
|
47
47
|
:uri-user-manual: {uri-docs}/user-manual
|
@@ -85,12 +85,11 @@ endif::[]
|
|
85
85
|
* {uri-docs}/asciidoc-syntax-quick-reference[AsciiDoc Syntax-Referenz]
|
86
86
|
|
87
87
|
ifdef::status[]
|
88
|
-
|
89
|
-
image:https://img.shields.io/
|
90
|
-
image:https://
|
91
|
-
|
92
|
-
|
93
|
-
image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs, link="https://inch-ci.org/github/asciidoctor/asciidoctor"]
|
88
|
+
image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
|
89
|
+
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
|
+
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/]
|
94
93
|
endif::[]
|
95
94
|
|
96
95
|
== Sponsoren
|
@@ -435,9 +434,9 @@ Asciidoctor wurde entwickelt, um Ihnen das Schreiben und Veröffentlichen Ihrer
|
|
435
434
|
Aber wir können es nicht ohne ihr Feedback machen!
|
436
435
|
Wir ermutigen Sie, Fragen zu stellen und alle Aspekte des Projekts auf der Diskussionsliste, auf Twitter oder im Chatroom zu diskutieren.
|
437
436
|
|
438
|
-
Chat (
|
437
|
+
Chat (Zulip):: {uri-chat}
|
439
438
|
Discussionsliste (Nabble):: {uri-discuss}
|
440
|
-
Twitter:: https://twitter.com/
|
439
|
+
Twitter:: Follow https://twitter.com/asciidoctor[@asciidoctor] or search for the https://twitter.com/search?f=tweets&q=%23asciidoctor[#asciidoctor] hashtag
|
441
440
|
|
442
441
|
ifdef::env-github[]
|
443
442
|
Weitere Informationen und Dokumentation zu Asciidoctor finden Sie auf der Website des Projekts.
|
@@ -453,7 +452,7 @@ Asciidoctor Organization auf GitHub:: {uri-org}
|
|
453
452
|
|
454
453
|
== Lizenz
|
455
454
|
|
456
|
-
Copyright (C) 2012-
|
455
|
+
Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, und die einzelnen Mitarbeiter von Asciidoctor.
|
457
456
|
Die Nutzung dieser Software wird unter den Bedingungen der MIT-Lizenz gewährt.
|
458
457
|
|
459
458
|
Siehe die {uri-license}[LIZENZ] für den vollen Lizenztext.
|
data/README-fr.adoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= Asciidoctor
|
2
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.
|
3
|
+
v2.0.15, 2021-04-27
|
4
4
|
// settings:
|
5
5
|
:idprefix:
|
6
6
|
:idseparator: -
|
@@ -17,7 +17,7 @@ ifdef::env-github[]
|
|
17
17
|
:warning-caption: :warning:
|
18
18
|
endif::[]
|
19
19
|
// Variables:
|
20
|
-
:release-version: 2.0.
|
20
|
+
:release-version: 2.0.15
|
21
21
|
// URIs:
|
22
22
|
:uri-org: https://github.com/asciidoctor
|
23
23
|
:uri-repo: {uri-org}/asciidoctor
|
@@ -40,8 +40,8 @@ endif::[]
|
|
40
40
|
:uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
|
41
41
|
:uri-license: {uri-rel-file-base}LICENSE
|
42
42
|
:uri-tests: {uri-rel-tree-base}test
|
43
|
-
:uri-discuss:
|
44
|
-
:uri-
|
43
|
+
:uri-discuss: https://discuss.asciidoctor.org
|
44
|
+
:uri-chat: https://asciidoctor.zulipchat.com
|
45
45
|
:uri-rubygem: https://rubygems.org/gems/asciidoctor
|
46
46
|
:uri-what-is-asciidoc: {uri-docs}/what-is-asciidoc
|
47
47
|
:uri-user-manual: {uri-docs}/user-manual
|
@@ -82,12 +82,11 @@ endif::[]
|
|
82
82
|
* {uri-docs}/user-manual[Manuel Utilisateur Asciidoctor]
|
83
83
|
|
84
84
|
ifdef::status[]
|
85
|
-
|
86
|
-
image:https://img.shields.io/
|
87
|
-
image:https://
|
88
|
-
|
89
|
-
|
90
|
-
image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs, link="https://inch-ci.org/github/asciidoctor/asciidoctor"]
|
85
|
+
image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
|
86
|
+
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
|
+
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/]
|
91
90
|
endif::[]
|
92
91
|
|
93
92
|
== Sponsors
|
@@ -401,12 +400,9 @@ Asciidoctor est développé dans le but de vous aider à écrire et publier du c
|
|
401
400
|
Mais nous ne pouvons pas le faire sans vos avis !
|
402
401
|
Nous vous encourageons à poser vos questions et à discuter de n'importe quels aspects du projet sur la liste de discussion, Twitter ou dans le salon de discussion.
|
403
402
|
|
404
|
-
Chat (
|
403
|
+
Chat (Zulip):: {uri-chat}
|
405
404
|
Forum (Nabble):: {uri-discuss}
|
406
405
|
Twitter:: hashtag https://twitter.com/search?f=tweets&q=%23asciidoctor[#asciidoctor] ou la mention https://twitter.com/asciidoctor[@asciidoctor]
|
407
|
-
////
|
408
|
-
IRC (Chat):: {uri-irc}[#asciidoctor] sur FreeNode IRC
|
409
|
-
////
|
410
406
|
|
411
407
|
ifdef::env-github[]
|
412
408
|
De plus amples informations et documentations sur Asciidoctor peuvent être trouvées sur le site web du projet.
|
@@ -422,7 +418,7 @@ L'organisation Asciidoctor sur GitHub:: {uri-org}
|
|
422
418
|
|
423
419
|
== Licence
|
424
420
|
|
425
|
-
Copyright (C) 2012-
|
421
|
+
Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, et les contributeurs individuels d'Asciidoctor.
|
426
422
|
Une utilisation libre de ce logiciel est autorisée sous les termes de la licence MIT.
|
427
423
|
|
428
424
|
Consultez le fichier {uri-license}[LICENSE] pour plus de détails.
|