asciidoctor 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of asciidoctor might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +216 -1
- data/CONTRIBUTING.adoc +2 -2
- data/Gemfile +20 -1
- data/LICENSE.adoc +1 -1
- data/README-fr.adoc +4 -3
- data/README-jp.adoc +11 -10
- data/README-zh_CN.adoc +4 -3
- data/README.adoc +17 -202
- data/Rakefile +41 -25
- data/asciidoctor.gemspec +9 -10
- data/data/locale/attributes.adoc +216 -34
- data/data/stylesheets/asciidoctor-default.css +23 -16
- data/features/step_definitions.rb +15 -19
- data/features/xref.feature +584 -20
- data/lib/asciidoctor.rb +292 -278
- data/lib/asciidoctor/abstract_block.rb +155 -94
- data/lib/asciidoctor/abstract_node.rb +108 -94
- data/lib/asciidoctor/attribute_list.rb +30 -22
- data/lib/asciidoctor/block.rb +7 -7
- data/lib/asciidoctor/cli/invoker.rb +47 -34
- data/lib/asciidoctor/cli/options.rb +22 -11
- data/lib/asciidoctor/converter.rb +3 -3
- data/lib/asciidoctor/converter/base.rb +2 -2
- data/lib/asciidoctor/converter/composite.rb +1 -1
- data/lib/asciidoctor/converter/docbook45.rb +2 -2
- data/lib/asciidoctor/converter/docbook5.rb +132 -87
- data/lib/asciidoctor/converter/factory.rb +0 -1
- data/lib/asciidoctor/converter/html5.rb +116 -98
- data/lib/asciidoctor/converter/manpage.rb +51 -52
- data/lib/asciidoctor/converter/template.rb +47 -36
- data/lib/asciidoctor/core_ext.rb +8 -2
- data/lib/asciidoctor/core_ext/1.8.7/hash/key.rb +4 -0
- data/lib/asciidoctor/core_ext/1.8.7/io/binread.rb +6 -0
- data/lib/asciidoctor/core_ext/1.8.7/io/write.rb +5 -0
- data/lib/asciidoctor/core_ext/1.8.7/string/chr.rb +1 -1
- data/lib/asciidoctor/core_ext/1.8.7/string/{limit.rb → limit_bytesize.rb} +7 -6
- data/lib/asciidoctor/core_ext/1.8.7/symbol/empty.rb +6 -0
- data/lib/asciidoctor/core_ext/1.8.7/symbol/length.rb +1 -1
- data/lib/asciidoctor/core_ext/nil_or_empty.rb +5 -5
- data/lib/asciidoctor/core_ext/regexp/is_match.rb +3 -0
- data/lib/asciidoctor/core_ext/string/{limit.rb → limit_bytesize.rb} +2 -2
- data/lib/asciidoctor/document.rb +216 -213
- data/lib/asciidoctor/extensions.rb +318 -185
- data/lib/asciidoctor/helpers.rb +35 -35
- data/lib/asciidoctor/inline.rb +32 -1
- data/lib/asciidoctor/list.rb +22 -6
- data/lib/asciidoctor/parser.rb +1008 -1038
- data/lib/asciidoctor/path_resolver.rb +46 -50
- data/lib/asciidoctor/reader.rb +275 -251
- data/lib/asciidoctor/section.rb +86 -58
- data/lib/asciidoctor/stylesheets.rb +6 -6
- data/lib/asciidoctor/substitutors.rb +567 -649
- data/lib/asciidoctor/table.rb +163 -108
- data/lib/asciidoctor/version.rb +1 -1
- data/man/asciidoctor.1 +18 -16
- data/man/asciidoctor.adoc +15 -13
- data/test/attributes_test.rb +138 -22
- data/test/blocks_test.rb +377 -97
- data/test/converter_test.rb +13 -0
- data/test/document_test.rb +244 -34
- data/test/extensions_test.rb +409 -42
- data/test/fixtures/asciidoc_index.txt +521 -0
- data/test/fixtures/basic-docinfo-footer.html +6 -0
- data/test/fixtures/basic-docinfo-footer.xml +8 -0
- data/test/fixtures/basic-docinfo.html +1 -0
- data/test/fixtures/basic-docinfo.xml +4 -0
- data/test/fixtures/basic.asciidoc +5 -0
- data/test/fixtures/chapter-a.adoc +3 -0
- data/test/fixtures/child-include.adoc +5 -0
- data/test/fixtures/circle.svg +9 -0
- data/test/fixtures/custom-backends/erb/html5/block_paragraph.html.erb +6 -0
- data/test/fixtures/custom-backends/haml/docbook45/block_paragraph.xml.haml +6 -0
- data/test/fixtures/custom-backends/haml/html5-tweaks/block_paragraph.html.haml +1 -0
- data/test/fixtures/custom-backends/haml/html5/block_paragraph.html.haml +3 -0
- data/test/fixtures/custom-backends/haml/html5/block_sidebar.html.haml +5 -0
- data/test/fixtures/custom-backends/slim/docbook45/block_paragraph.xml.slim +6 -0
- data/test/fixtures/custom-backends/slim/html5/block_paragraph.html.slim +3 -0
- data/test/fixtures/custom-backends/slim/html5/block_sidebar.html.slim +5 -0
- data/test/fixtures/custom-docinfodir/basic-docinfo.html +1 -0
- data/test/fixtures/custom-docinfodir/docinfo.html +1 -0
- data/test/fixtures/docinfo-footer.html +1 -0
- data/test/fixtures/docinfo-footer.xml +9 -0
- data/test/fixtures/docinfo.html +1 -0
- data/test/fixtures/docinfo.xml +3 -0
- data/test/fixtures/dot.gif +0 -0
- data/test/fixtures/encoding.asciidoc +13 -0
- data/test/fixtures/grandchild-include.adoc +3 -0
- data/test/fixtures/hello-asciidoctor.pdf +69 -0
- data/test/fixtures/include-file.asciidoc +24 -0
- data/test/fixtures/include-file.ml +3 -0
- data/test/fixtures/include-file.xml +5 -0
- data/test/fixtures/master.adoc +5 -0
- data/test/fixtures/mismatched-end-tag.adoc +7 -0
- data/test/fixtures/parent-include-restricted.adoc +5 -0
- data/test/fixtures/parent-include.adoc +5 -0
- data/test/fixtures/sample.asciidoc +26 -0
- data/test/fixtures/stylesheets/custom.css +3 -0
- data/test/fixtures/subs-docinfo.html +2 -0
- data/test/fixtures/subs.adoc +7 -0
- data/test/fixtures/tagged-class-enclosed.rb +26 -0
- data/test/fixtures/tagged-class.rb +23 -0
- data/test/fixtures/tip.gif +0 -0
- data/test/invoker_test.rb +82 -4
- data/test/links_test.rb +312 -37
- data/test/lists_test.rb +204 -25
- data/test/manpage_test.rb +191 -4
- data/test/options_test.rb +18 -1
- data/test/paragraphs_test.rb +32 -7
- data/test/parser_test.rb +150 -30
- data/test/paths_test.rb +47 -13
- data/test/preamble_test.rb +1 -1
- data/test/reader_test.rb +366 -126
- data/test/sections_test.rb +203 -56
- data/test/substitutions_test.rb +339 -131
- data/test/tables_test.rb +315 -15
- data/test/test_helper.rb +400 -0
- data/test/text_test.rb +5 -5
- metadata +110 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9291c3c5872dd8602d062efc979b88ac593eb1e
|
4
|
+
data.tar.gz: 1424268363aa327aace6ffd2bf7325f4d7eb2b20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 154a4a997b9e3640083df71c1903b069467171504b3241678ffffacd9bf19114be957e92cbcb904fb86de611479ad67864d66daaba7092cd3531de5cb2ee8953
|
7
|
+
data.tar.gz: 9d2fe8f52e02c0cdecbb5ee3d9159ba79d6bb8ce451a8c2d3803ec65641020f21e4f415e1700f8558ac15db9993a93e22857a81dbaa5a77d2ce7e14441c6704f
|
data/CHANGELOG.adoc
CHANGED
@@ -14,6 +14,222 @@ This document provides a high-level view of the changes introduced in Asciidocto
|
|
14
14
|
For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
|
15
15
|
|
16
16
|
// tag::compact[]
|
17
|
+
== 1.5.6 (2017-07-12) - @mojavelinux
|
18
|
+
|
19
|
+
Enhancements::
|
20
|
+
* use custom cross reference text if xrefstyle attribute is set (full, short, basic) (#858, #1132)
|
21
|
+
* store referenceable nodes under refs key in document catalog (PR #2220)
|
22
|
+
* apply reftext substitutions (specialchars, quotes, replacements) to value returned by reftext method (PR #2220)
|
23
|
+
* add xreftext method to AbstractBlock, Section, and Inline to produce formatted text for xref (PR #2220)
|
24
|
+
* introduce attributes chapter-refsig, section-refsig, and appendix-refsig to set reference signifier for chapter, section, and appendix, respectively (PR #2220)
|
25
|
+
* add rel="noopener" to links that target _blank or when noopener option is set (#2071)
|
26
|
+
* add option to exclude tags when including a file (#1516)
|
27
|
+
* add meta for shortcut icon if favicon attribute is set (#1574)
|
28
|
+
* allow use of linenums option to enable line numbers on a source block (#1981)
|
29
|
+
* allow extension groups to be unregistered individually (#1701)
|
30
|
+
* catalog bibliography anchors and capture reftext (#560, #1562)
|
31
|
+
* automatically add bibliography style to unordered list in bibliography section (#1924)
|
32
|
+
* disable startinline option when highlighting PHP if mixed option is set on source block (PR #2015) (@ricpelo)
|
33
|
+
* configure Slim to resolve includes in specified template dirs (#2214)
|
34
|
+
* dump manpage when -h manpage flag is passed to CLI (#2302)
|
35
|
+
* add resolves_attributes method to DSL for macros (#2122)
|
36
|
+
* invoke convert on result of custom inline macro if value is an inline node (#2132)
|
37
|
+
* resolve attributes for custom short inline macros if requested (#1797)
|
38
|
+
* add convenience method to create section from extension; use same initialization logic as parser (#1957)
|
39
|
+
* add handles? method to DSL for IncludeProcessor (#2119)
|
40
|
+
* pass through preload attribute to video tag (#2046)
|
41
|
+
* add start and end times for audio element (#1930)
|
42
|
+
* set localyear and docyear attributes (#1372)
|
43
|
+
* pass cloaked context to block extension via cloaked-context attribute (#1606)
|
44
|
+
* add support for covers in DocBook 5 converter (#1939)
|
45
|
+
* accept named pipe (fifo) as the input file (#1948)
|
46
|
+
* add AbstractBlock#next_adjacent_block helper method
|
47
|
+
* rename Document#references to catalog; alias references to catalog (PR #2237)
|
48
|
+
* rename extensions_registry option to extension_registry
|
49
|
+
* rename Extensions.build_registry method to create
|
50
|
+
* autoload extensions source file when Asciidoctor::Extensions is referenced (PR #2114, PR #2312)
|
51
|
+
* apply default_attrs to custom inline macro (PR #2127)
|
52
|
+
* allow tab separator for table to be specified using \t (#2073)
|
53
|
+
* add Cell#text= method
|
54
|
+
|
55
|
+
Improvements::
|
56
|
+
* significant improvements to performance, especially in parser and substitutors
|
57
|
+
* process include directive inside text of short form preprocessor conditional (#2146)
|
58
|
+
* add support for include tags in languages that only support only circumfix comments (#1729)
|
59
|
+
* allow spaces in target of block image; target must start and end with non-space (#1943)
|
60
|
+
* add warning in verbose mode if xref is not found (@fap-) (#2268)
|
61
|
+
* add warning if duplicate ID is detected (#2244)
|
62
|
+
* validate that output file will not overwrite input file (#1956)
|
63
|
+
* include docfile in warning when stylesheet cannot be read (#2089)
|
64
|
+
* warn if doctype=inline is used and block has unexpected content model (#1890)
|
65
|
+
* set built-in docfilesuffix attribute (#1673)
|
66
|
+
* make sourcemap field on Document read/write (#1916)
|
67
|
+
* allow target of xref to begin with attribute reference (#2007)
|
68
|
+
* allow target of xref to be expressed with leading # (#1546)
|
69
|
+
* allow kbd and btn macros to wrap across multiple lines (#2249)
|
70
|
+
* allow menu macro to span multiple lines; unescape escaped closing bracket
|
71
|
+
* make menu macro less greedy
|
72
|
+
* allow ampersand to be used as the first character of the first segment of a menu (#2171)
|
73
|
+
* enclose menu caret in HTML tag (#2165)
|
74
|
+
* use black text for menu reference; tighten word spacing (#2148)
|
75
|
+
* fix parsing of keys in kbd macro (PR #2222)
|
76
|
+
* add support for the window option for the link on a block image (#2172)
|
77
|
+
* set correct level for special sections in parser (#1261)
|
78
|
+
* always set numbered property on appendix to true
|
79
|
+
* store number for formal block on node (#2208)
|
80
|
+
* set sectname of header section to header (#1996)
|
81
|
+
* add the remove_attr method to AbstractNode (#2227)
|
82
|
+
* use empty string as default value for set_attr method (#1967)
|
83
|
+
* make start argument to system_path optional (#1965)
|
84
|
+
* allow API to control subs applied to ListItem text (#2035)
|
85
|
+
* allow text of ListItem to be assigned (in an extension) (#2033)
|
86
|
+
* make generate_id method on section a static method (#1929)
|
87
|
+
* validate name of custom inline macro; cache inline macro rx (#2136)
|
88
|
+
* align number in conum list to top by default (#1999)
|
89
|
+
* fix CSS positioning of interactive checkbox (#1840)
|
90
|
+
* fix indentation of list items when markers are disabled (none, no-bullet, unnumbered, unstyled) (PR #2286)
|
91
|
+
* instruct icon to inherit cursor if inside a link
|
92
|
+
* close all files opened internally (#1897)
|
93
|
+
* be more precise about splitting kbd characters (#1660)
|
94
|
+
* rename limit method on String to limit_bytesize (#1889)
|
95
|
+
* leverage Ruby's match? method to speed up non-capturing regexps (PR #1938)
|
96
|
+
* preserve inline break in manpages (@letheed)
|
97
|
+
* check for presence of SOURCE_DATE_EPOCH instead of value; fail if value is malformed
|
98
|
+
* add Rows#by_section method to return table sections (#2219)
|
99
|
+
* cache which template engines have been loaded to avoid unnecessary processing
|
100
|
+
* rename assign_index method to enumerate_section (PR #2242)
|
101
|
+
* don't process double quotes in xref macro (PR #2241)
|
102
|
+
* optimize attr and attr? methods (PR #2232)
|
103
|
+
* use IO.write instead of File.open w/ block; backport for Opal
|
104
|
+
* backport IO.binread to Ruby 1.8.7 to avoid runtime check
|
105
|
+
* cache backend and doctype values on document
|
106
|
+
* allow normalize option to be set on PreprocessorReader; change default to false
|
107
|
+
* move regular expression constants for Opal to Asciidoctor.js build (PR #2070)
|
108
|
+
* add missing comma in warning message for callout list item out of sequence
|
109
|
+
* combine start_with? / end_with? checks into a single method call
|
110
|
+
* rename UriTerminator constant to UriTerminatorRx
|
111
|
+
* promote subs to top-level constants; freeze arrays
|
112
|
+
* rename PASS_SUBS constant to NONE_SUBS
|
113
|
+
* rename EOL constant to LF (retain EOL as alias)
|
114
|
+
* rename macro regexp constants so name follows type (e.g., InlineImageMacroRx)
|
115
|
+
|
116
|
+
Compliance::
|
117
|
+
* retain block content in items of callout list when converting to HTML and man page (#1478)
|
118
|
+
* only substitute specialchars for content in literal table cells (#1912)
|
119
|
+
* fix operator logic for ifndef directive with multiple attributes (#1983)
|
120
|
+
* only recognize uniform underline for setext section title (#2083)
|
121
|
+
* don't match headings with mixed leading characters (#2074)
|
122
|
+
* fix layout break from matching lines it shouldn't
|
123
|
+
* fix behavior of attribute substitution in docinfo content (PR #2296)
|
124
|
+
* encode spaces in URI (PR #2274)
|
125
|
+
* treat empty string as a valid block title
|
126
|
+
* preprocess lines of a simple block (#1923)
|
127
|
+
* don't drop trailing blank lines when splitting source into lines (PR #2045)
|
128
|
+
* only drop known AsciiDoc extensions from the inter-document xref path (#2217)
|
129
|
+
* don't number special sections or special subsections by default (#2234)
|
130
|
+
* assign sectname based on name of manuscript element (#2206)
|
131
|
+
* honor leveloffset when resolving implicit doctitle (#2140)
|
132
|
+
* permit leading, trailing, and repeat operators in target of preprocessor conditional (PR #2279)
|
133
|
+
* don't match link macro in block form (i.e., has two colons after prefix) (#2202)
|
134
|
+
* do not match bibliography anchor that begins with digit (#2247)
|
135
|
+
* use [ \t] (or \s) instead of \p{Blank} to match spaces (#2204)
|
136
|
+
* allow named entity to have trailing digits (e.g., there4) (#2144)
|
137
|
+
* only assign style to image alt text if alt text is not specified
|
138
|
+
* substitute replacements in non-generated alt text of block image (PR #2285)
|
139
|
+
* keep track of whether alt text is auto-generated by assigning default-alt attribute (PR #2287)
|
140
|
+
* suppress info element in docbook output if noheader attribute is set (#2155)
|
141
|
+
* preserve leading indentation in literal and verse table cells (#2037)
|
142
|
+
* preserve whitespace in literal and verse table cells (#2029)
|
143
|
+
* set doctype-related attributes in AsciiDoc table cell (#2159)
|
144
|
+
* fix comparison logic when preprocessing first line of AsciiDoc table cell
|
145
|
+
* set filetype to man when backend is manpage (#2055)
|
146
|
+
* respect image scaling in DocBook converter (#1059)
|
147
|
+
* share counters between AsciiDoc table cells and main document (#1942)
|
148
|
+
* generate ID for floating title from converted title (#2016)
|
149
|
+
* split "treeprocessor" into two words; add aliases for compatibility (PR #2179)
|
150
|
+
* allow trailing hyphen in attribute name used in attribute reference
|
151
|
+
* allow escaped closing bracket in text of xref macro
|
152
|
+
* process pass inline macro with empty text; invert extract logic
|
153
|
+
* drop support for reftext document attribute (must be specified on node)
|
154
|
+
* fix compliance with Haml >= 5 (load Haml eagerly; remove ugly option)
|
155
|
+
* don't match inline image macro if target contains endline or leading or trailing spaces
|
156
|
+
* assign id instead of target on ref/bibref node (PR #2307)
|
157
|
+
* remove regexp hacks for Opal (#2110)
|
158
|
+
* drop outdated quoting exceptions for Opal (PR #2081)
|
159
|
+
|
160
|
+
Bug fixes::
|
161
|
+
* don't allow table borders to cascade to nested tables (#2151)
|
162
|
+
* escape special characters in reftext of anchor (#1694)
|
163
|
+
* sanitize content of authors meta tag in HTML output (#2112)
|
164
|
+
* fix stray marks added when unescaping unconstrained passthroughs (PR #2079)
|
165
|
+
* don't confuse escaped quotes in CSV data as enclosing quotes (#2008)
|
166
|
+
* don't activate implicit header if cell in first line of table contains a blank line (#1284, #644)
|
167
|
+
* allow compat-mode in AsciiDoc table cell to inherit from parent document (#2153)
|
168
|
+
* manify all normal table cell content (head, body, foot) in manpage output
|
169
|
+
* add missing newline after table caption in manpage output (#2253)
|
170
|
+
* correctly format block title on video in manpage output
|
171
|
+
* don't crash if substitution list resolves to nil (#2183)
|
172
|
+
* fail with informative message if converter cannot be resolved (#2161)
|
173
|
+
* fix regression of not matching short form of custom block macro
|
174
|
+
* encode double quotes in image alt text when used in an attribute (#2061)
|
175
|
+
* encode double quote and strip XML tags in value of xreflabel attribute in DocBook converter (PR #2220)
|
176
|
+
* fix typo in base64 data (PR #2094) (@mogztter)
|
177
|
+
* permit pass macro to surround a multi-line attribute value with hard line breaks (#2211)
|
178
|
+
* fix sequential inline anchor macros with empty reftext (#1689)
|
179
|
+
* don't mangle compound names when document has multiple authors (#663)
|
180
|
+
* don't drop last line of verbatim block if it contains only a callout number (#2043)
|
181
|
+
* prevent leading & trailing round brackets from getting caught in indexterm (#1581)
|
182
|
+
* remove cached title when title is set on block (#2022)
|
183
|
+
* remove max-width on the callout number icon (#1895)
|
184
|
+
* eagerly add hljs class for highlight.js (#2221)
|
185
|
+
* fix SOURCE_DATE_EPOCH lookup in Opal
|
186
|
+
* fix paths with file URI scheme are inevitably absolute (PR #1925) (@mogztter)
|
187
|
+
* only resolve file URLs when JavaScript IO module is xmlhttprequest (PR #1898) (@mogztter)
|
188
|
+
* fix formatting of video title in manpage converter
|
189
|
+
* don't increment line number if peek_lines overruns buffer (fixes some cases when line number is off)
|
190
|
+
* freeze extension processor instance, not class
|
191
|
+
* fix numbering bug in reindex_sections
|
192
|
+
* handle cases when there are no lines for include directive to select
|
193
|
+
|
194
|
+
Documentation::
|
195
|
+
* enable admonition icons in README when displayed on GitHub
|
196
|
+
* add German translation of chapter-label (PR #1920) (@fap-)
|
197
|
+
* add Ukrainian translation of built-in attributes (PR #1955) (@hedrok)
|
198
|
+
* add Norwegian Nynorsk translation; updated Norwegian Bokmål translation of built-in attributes (PR #2142) (@huftis)
|
199
|
+
* add Polish translation of built-in attributes (PR #2131) (@ldziedziul)
|
200
|
+
* add Romanian translation of built-in attributes (PR #2125) (@vitaliel)
|
201
|
+
* fix Japanese translation of built-in attributes (PR #2116) (@haradats)
|
202
|
+
* add Bahasa Indonesia translation of built-in labels (@triyanwn)
|
203
|
+
|
204
|
+
Build / Infrastructure::
|
205
|
+
* upgrade highlight.js to 9.12.0 (#1652)
|
206
|
+
* include entire test suite in gem (PR #1952) (@voxik)
|
207
|
+
* upgrade Slim development dependency to 3.0.x (PR #1953) (@voxik)
|
208
|
+
* upgrade Haml development dependency to 5.0.x
|
209
|
+
* upgrade Nokogiri to 1.6.x (except on Ruby 1.8) (PR #1213)
|
210
|
+
* add Ruby 2.4 to CI test matrix (PR #1980)
|
211
|
+
* upgrade cucumber and JRuby in CI build (PR #2005)
|
212
|
+
* fix reference to documentation in attributes.adoc (PR #1901) (@stonio)
|
213
|
+
* trap and verify all warnings when tests are run with warnings enabled
|
214
|
+
* set default task in build to test:all
|
215
|
+
* configure run-tests.sh script to run all tests
|
216
|
+
* configure feature tests to only show progress
|
217
|
+
* configure Slim in feature tests to use html as format instead of deprecated html5
|
218
|
+
* lock version of yard to fix invalid byte sequence in Ruby 1.9.3
|
219
|
+
* modify rake build to trigger dependent builds (specifically, Asciidoctor.js) (@mogztter) (PR #2305)
|
220
|
+
|
221
|
+
Distribution Packages::
|
222
|
+
|
223
|
+
* http://rubygems.org/gems/asciidoctor[RubyGem (asciidoctor)]
|
224
|
+
* https://apps.fedoraproject.org/packages/rubygem-asciidoctor[Fedora (rubygem-asciidoctor)]
|
225
|
+
* http://packages.debian.org/sid/asciidoctor[Debian (asciidoctor)]
|
226
|
+
* http://packages.ubuntu.com/saucy/asciidoctor[Ubuntu (asciidoctor)]
|
227
|
+
|
228
|
+
https://github.com/asciidoctor/asciidoctor/issues?q=milestone%3Av1.5.6[issues resolved] |
|
229
|
+
https://github.com/asciidoctor/asciidoctor/releases/tag/v1.5.6[git tag] |
|
230
|
+
https://github.com/asciidoctor/asciidoctor/compare/v1.5.5...v1.5.6[full diff]
|
231
|
+
// end::compact[]
|
232
|
+
|
17
233
|
== 1.5.5 (2016-10-05) - @mojavelinux
|
18
234
|
|
19
235
|
Enhancements::
|
@@ -244,7 +460,6 @@ Distribution Packages::
|
|
244
460
|
https://github.com/asciidoctor/asciidoctor/issues?q=milestone%3Av1.5.3[issues resolved] |
|
245
461
|
https://github.com/asciidoctor/asciidoctor/releases/tag/v1.5.3[git tag] |
|
246
462
|
https://github.com/asciidoctor/asciidoctor/compare/v1.5.2...v1.5.3[full diff]
|
247
|
-
// end::compact[]
|
248
463
|
|
249
464
|
== 1.5.2 (2014-11-27) - @mojavelinux
|
250
465
|
|
data/CONTRIBUTING.adoc
CHANGED
@@ -33,8 +33,8 @@ An ideal bug report would include a pull request with failing specs.
|
|
33
33
|
== Submitting a Pull Request
|
34
34
|
|
35
35
|
. {uri-fork-help}[Fork the repository].
|
36
|
-
. Run `bundle` to install development dependencies.
|
37
|
-
|
36
|
+
. Run `NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle` to install development dependencies.
|
37
|
+
- If the `bundle` command is not available, run `gem install bundler` to install it.
|
38
38
|
. {uri-branch-help}[Create a topic branch] (preferably using the pattern `issue-XYZ`, where `XYZ` is the issue number).
|
39
39
|
. Add tests for your unimplemented feature or bug fix. (See <<writing-and-executing-tests>>)
|
40
40
|
. Run `bundle exec rake` to run the tests.
|
data/Gemfile
CHANGED
@@ -3,8 +3,27 @@ source 'https://rubygems.org'
|
|
3
3
|
# Look in asciidoctor.gemspec for runtime and development dependencies
|
4
4
|
gemspec
|
5
5
|
|
6
|
+
group :development do
|
7
|
+
if (ruby_version = Gem::Version.new RUBY_VERSION) < (Gem::Version.new '2.1.0')
|
8
|
+
if ruby_version < (Gem::Version.new '2.0.0')
|
9
|
+
gem 'haml', '~> 4.0.0'
|
10
|
+
if ruby_version < (Gem::Version.new '1.9.3')
|
11
|
+
gem 'cucumber', '~> 1.3.0'
|
12
|
+
gem 'nokogiri', '~> 1.5.0'
|
13
|
+
gem 'slim', '~> 2.1.0'
|
14
|
+
else
|
15
|
+
gem 'nokogiri', '~> 1.6.0'
|
16
|
+
gem 'slim', '<= 3.0.7'
|
17
|
+
end
|
18
|
+
else
|
19
|
+
gem 'nokogiri', '~> 1.6.0'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
gem 'racc', '~> 1.4.0' if RUBY_VERSION == '2.1.0' && RUBY_ENGINE == 'rbx'
|
23
|
+
end
|
24
|
+
|
6
25
|
# enable this group to use Guard for continuous testing
|
7
|
-
# after removing comments, run `bundle install` then `guard`
|
26
|
+
# after removing comments, run `bundle install` then `guard`
|
8
27
|
#group :guardtest do
|
9
28
|
# gem 'guard'
|
10
29
|
# gem 'guard-test'
|
data/LICENSE.adoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.The MIT License
|
2
2
|
....
|
3
|
-
Copyright (C) 2012-
|
3
|
+
Copyright (C) 2012-2017 Dan Allen, Ryan Waldron and the Asciidoctor Project
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README-fr.adoc
CHANGED
@@ -1,5 +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
|
+
v1.5.6, 2017-07-12
|
3
4
|
// FIXME use build system to expand includes statically so document renders properly on GitHub
|
4
5
|
ifeval::[{safe-mode-level} < 20]
|
5
6
|
include::_settings-README.adoc[]
|
@@ -177,7 +178,7 @@ Si c'est le cas, utilisez la commande gem suivante pour supprimer la vieille ver
|
|
177
178
|
source 'https://rubygems.org'
|
178
179
|
gem 'asciidoctor'
|
179
180
|
# ou spécifier la version explicitement
|
180
|
-
# gem 'asciidoctor', '1.5.
|
181
|
+
# gem 'asciidoctor', '1.5.6'
|
181
182
|
----
|
182
183
|
|
183
184
|
. Sauvegardez le fichier Gemfile
|
@@ -262,7 +263,7 @@ Vous devriez voir les informations concernant la version d'Asciidoctor et celle
|
|
262
263
|
|
263
264
|
[.output]
|
264
265
|
....
|
265
|
-
Asciidoctor 1.5.
|
266
|
+
Asciidoctor 1.5.6 [http://asciidoctor.org]
|
266
267
|
Runtime Environment (ruby 2.2.2p95 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
|
267
268
|
....
|
268
269
|
|
@@ -395,7 +396,7 @@ L'organisation Asciidoctor sur GitHub:: {uri-org}
|
|
395
396
|
|
396
397
|
== Copyright et licence
|
397
398
|
|
398
|
-
Copyright (C) 2012-
|
399
|
+
Copyright (C) 2012-2017 Dan Allen, Ryan Waldron et le projet Asciidoctor.
|
399
400
|
Une utilisation libre de ce logiciel est autorisée sous les termes de la licence MIT.
|
400
401
|
|
401
402
|
Consultez le fichier {uri-license}[LICENSE] pour plus de détails.
|
data/README-jp.adoc
CHANGED
@@ -1,5 +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
|
+
v1.5.6, 2017-07-12
|
3
4
|
// settings:
|
4
5
|
:page-layout: base
|
5
6
|
:idprefix:
|
@@ -90,7 +91,7 @@ endif::[]
|
|
90
91
|
== The Big Picture
|
91
92
|
|
92
93
|
Asciidoctorは下図の左側のパネルに示されるように, 平文で書かれた内容を読み, 右のパネルに描かれるようにHTML5に変換します.
|
93
|
-
Asciidoctorは枠にとらわれない快適なエクスペリエンスのためにデフォルトスタイルシートをHTML5
|
94
|
+
Asciidoctorは枠にとらわれない快適なエクスペリエンスのためにデフォルトスタイルシートをHTML5ドキュメントに適用します.
|
94
95
|
|
95
96
|
image::{image-uri-screenshot}[Preview of AsciiDoc source and corresponding rendered HTML]
|
96
97
|
|
@@ -147,11 +148,11 @@ TIP: Linuxパッケージマネージャを用いてインストールするこ
|
|
147
148
|
.アップグレード
|
148
149
|
[TIP]
|
149
150
|
====
|
150
|
-
もしAsciidoctor
|
151
|
-
|
151
|
+
もしAsciidoctorの以前のバージョンがインストール済みであれば, 以下によってアップデートできます:
|
152
|
+
|
152
153
|
$ gem update asciidoctor
|
153
154
|
|
154
|
-
もし gem update の代わりに `gem install` を使ってgemを新バージョンにした場合,
|
155
|
+
もし gem update の代わりに `gem install` を使ってgemを新バージョンにした場合, 複数バージョンがインストールされるでしょう.
|
155
156
|
そのときは, 以下のgemコマンドで古いバージョンを削除しましょう:
|
156
157
|
|
157
158
|
$ gem cleanup asciidoctor
|
@@ -167,7 +168,7 @@ TIP: Linuxパッケージマネージャを用いてインストールするこ
|
|
167
168
|
source 'https://rubygems.org'
|
168
169
|
gem 'asciidoctor'
|
169
170
|
# or specify the version explicitly
|
170
|
-
# gem 'asciidoctor', '1.5.
|
171
|
+
# gem 'asciidoctor', '1.5.6'
|
171
172
|
----
|
172
173
|
|
173
174
|
. Gemfileを保存
|
@@ -199,7 +200,7 @@ Debian, UbuntuまたはMintにインストールするには, ターミナルを
|
|
199
200
|
$ sudo apt-get install -y asciidoctor
|
200
201
|
|
201
202
|
gemをアップグレードするには:
|
202
|
-
|
203
|
+
|
203
204
|
$ sudo apt-get upgrade -y asciidoctor
|
204
205
|
|
205
206
|
TIP: お使いのシステムは自動的にdebパッケージをアップデートするよう設定されているかも知れません.その場合, gemのアップデートのためにあなたがすべきことはありません.
|
@@ -252,7 +253,7 @@ AsciidoctorのバージョンとRuby環境についての情報がターミナ
|
|
252
253
|
|
253
254
|
[.output]
|
254
255
|
....
|
255
|
-
Asciidoctor 1.5.
|
256
|
+
Asciidoctor 1.5.6 [http://asciidoctor.org]
|
256
257
|
Runtime Environment (ruby 2.2.2p95 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
|
257
258
|
....
|
258
259
|
|
@@ -336,7 +337,7 @@ APIの使い方や出力のカスタマイズ方法についてのより詳し
|
|
336
337
|
|
337
338
|
== Contributing
|
338
339
|
|
339
|
-
{uri-freesoftware}[free software] の精神においては, _everyone_
|
340
|
+
{uri-freesoftware}[free software] の精神においては, _everyone_ がこのプロジェクトを改良するのをたすけることが勧められています.
|
340
341
|
もしエラーや手抜かりをソースコード, ドキュメント, あるいはウェブサイトに見つけたのなら, 恥じることなく修正と共にpull requestの開設やissueの送信をしてください.
|
341
342
|
New contributors are always welcome!
|
342
343
|
|
@@ -356,7 +357,7 @@ New contributors are always welcome!
|
|
356
357
|
* {uri-issues}[issues] の修正
|
357
358
|
* パッチの批評
|
358
359
|
|
359
|
-
{uri-contribute}[Contributing] ガイドはどうやってスタイルをつくるか, issueを送るか, 機能リクエスト, コーディング, ドキュメンテーションをAsciidoctor Project
|
360
|
+
{uri-contribute}[Contributing] ガイドはどうやってスタイルをつくるか, issueを送るか, 機能リクエスト, コーディング, ドキュメンテーションをAsciidoctor Projectにするかについての情報を提供しています.
|
360
361
|
|
361
362
|
== Getting Help
|
362
363
|
|
@@ -382,7 +383,7 @@ Asciidoctor organization on GitHub:: {uri-org}
|
|
382
383
|
|
383
384
|
== Copyright and Licensing
|
384
385
|
|
385
|
-
Copyright (C) 2012-
|
386
|
+
Copyright (C) 2012-2017 Dan Allen, Ryan Waldron and the Asciidoctor Project.
|
386
387
|
Free use of this software is granted under the terms of the MIT License.
|
387
388
|
|
388
389
|
See the {uri-license}[LICENSE] file for details.
|
data/README-zh_CN.adoc
CHANGED
@@ -1,5 +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
|
+
v1.5.6, 2017-07-12
|
3
4
|
// settings:
|
4
5
|
:page-layout: base
|
5
6
|
:idprefix:
|
@@ -172,7 +173,7 @@ TIP: 使用 Linux 包管理器安装的好处是如果 Ruby 和 RubyGems 库没
|
|
172
173
|
source 'https://rubygems.org'
|
173
174
|
gem 'asciidoctor'
|
174
175
|
# 或者明确指明版本
|
175
|
-
# gem 'asciidoctor', '1.5.
|
176
|
+
# gem 'asciidoctor', '1.5.6'
|
176
177
|
----
|
177
178
|
|
178
179
|
. 保存 `Gemfile` 文件
|
@@ -261,7 +262,7 @@ TIP: 如果你的 Alpine Linux 系统配置的是自动升级包,在这种情
|
|
261
262
|
|
262
263
|
[.output]
|
263
264
|
....
|
264
|
-
Asciidoctor 1.5.
|
265
|
+
Asciidoctor 1.5.6 [http://asciidoctor.org]
|
265
266
|
Runtime Environment (ruby 2.2.2p95 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
|
266
267
|
....
|
267
268
|
|
@@ -396,7 +397,7 @@ Asciidoctor 组织在 Github 托管代码、议案跟踪和相关子项目。
|
|
396
397
|
[#copyright-and-licensing]
|
397
398
|
== 版权和协议
|
398
399
|
|
399
|
-
Copyright (C) 2012-
|
400
|
+
Copyright (C) 2012-2017 Dan Allen, Ryan Waldron and the Asciidoctor Project.
|
400
401
|
这个软件的免费使用是在MIT许可条款授予的。
|
401
402
|
|
402
403
|
请看 {uri-license}[版权声明] 文件来获取更多详细信息。
|
data/README.adoc
CHANGED
@@ -1,13 +1,22 @@
|
|
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
|
-
v1.5.
|
3
|
+
v1.5.6, 2017-07-12
|
4
4
|
// settings:
|
5
5
|
:page-layout: base
|
6
6
|
:idprefix:
|
7
7
|
:idseparator: -
|
8
8
|
:source-language: ruby
|
9
9
|
:language: {source-language}
|
10
|
-
|
10
|
+
ifndef::env-github[:icons: font]
|
11
|
+
ifdef::env-github[]
|
12
|
+
:status:
|
13
|
+
:outfilesuffix: .adoc
|
14
|
+
:caution-caption: :fire:
|
15
|
+
:important-caption: :exclamation:
|
16
|
+
:note-caption: :paperclip:
|
17
|
+
:tip-caption: :bulb:
|
18
|
+
:warning-caption: :warning:
|
19
|
+
endif::[]
|
11
20
|
// URIs:
|
12
21
|
:uri-org: https://github.com/asciidoctor
|
13
22
|
:uri-repo: {uri-org}/asciidoctor
|
@@ -171,7 +180,7 @@ If that's the case, use the following gem command to remove the old versions:
|
|
171
180
|
source 'https://rubygems.org'
|
172
181
|
gem 'asciidoctor'
|
173
182
|
# or specify the version explicitly
|
174
|
-
# gem 'asciidoctor', '1.5.
|
183
|
+
# gem 'asciidoctor', '1.5.6'
|
175
184
|
----
|
176
185
|
|
177
186
|
. Save the Gemfile
|
@@ -256,7 +265,7 @@ You should see information about the Asciidoctor version and your Ruby environme
|
|
256
265
|
|
257
266
|
[.output]
|
258
267
|
....
|
259
|
-
Asciidoctor 1.5.
|
268
|
+
Asciidoctor 1.5.6 [http://asciidoctor.org]
|
260
269
|
Runtime Environment (ruby 2.2.2p95 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
|
261
270
|
....
|
262
271
|
|
@@ -389,7 +398,7 @@ Asciidoctor organization on GitHub:: {uri-org}
|
|
389
398
|
|
390
399
|
== Copyright and Licensing
|
391
400
|
|
392
|
-
Copyright (C) 2012-
|
401
|
+
Copyright (C) 2012-2017 Dan Allen, Ryan Waldron and the Asciidoctor Project.
|
393
402
|
Free use of this software is granted under the terms of the MIT License.
|
394
403
|
|
395
404
|
See the {uri-license}[LICENSE] file for details.
|
@@ -403,202 +412,8 @@ The project was initiated in 2012 by https://github.com/erebor[Ryan Waldron] and
|
|
403
412
|
|
404
413
|
== Changelog
|
405
414
|
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
* Add preference to limit the maximum size of an attribute value (#1861)
|
410
|
-
* Honor SOURCE_DATE_EPOCH environment variable to accomodate reproducible builds (@JojoBoulix) (#1721)
|
411
|
-
* Add reversed attribute to ordered list if reversed option is enabled (#1830)
|
412
|
-
* Add support for additional docinfo locations (e.g., :header)
|
413
|
-
* Configure default stylesheet to break monospace word if exceeds length of line; add roles to prevent breaks (#1814)
|
414
|
-
* Introduce translation file for built-in labels (@ciampix)
|
415
|
-
* 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)
|
416
|
-
* Translate README to Chinese (@diguage)
|
417
|
-
* Translate README to Japanese (@Mizuho32)
|
418
|
-
|
419
|
-
Improvements::
|
420
|
-
* Style nested emphasized phrases properly when using default stylesheet (#1691)
|
421
|
-
* Honor explicit table width even when autowidth option is set (#1843)
|
422
|
-
* Only explicit noheader option on table should disable implicit table header (#1849)
|
423
|
-
* Support docbook orient="land" attribute on tables (#1815)
|
424
|
-
* Add alias named list to retrieve parent List of ListItem
|
425
|
-
* Update push_include method to support chaining (#1836)
|
426
|
-
* Enable font smoothing on Firefox on OSX (#1837)
|
427
|
-
* Support combined use of sectanchors and sectlinks in HTML5 output (#1806)
|
428
|
-
* fix API docs for find_by
|
429
|
-
* Upgrade to Font Awesome 4.6.3 (@allenan, @mogztter) (#1723)
|
430
|
-
* README: add install instructions for Alpine Linux
|
431
|
-
* README: Switch yum commands to dnf in README
|
432
|
-
* README: Mention Mint as a Debian distro that packages Asciidoctor
|
433
|
-
* README: Add caution advising against using gem update to update a system-managed gem (@oddhack)
|
434
|
-
* README: sync French version with English version (@flashcode)
|
435
|
-
* Add missing endline after title element when converting open block to HTML
|
436
|
-
* Move list_marker_keyword method from AbstractNode to AbstractBlock
|
437
|
-
* Rename definition list to description list internally
|
438
|
-
|
439
|
-
Compliance::
|
440
|
-
* Support 6-digit decimal char refs, 5-digit hexidecimal char refs (#1824)
|
441
|
-
* Compatibility fixes for Opal
|
442
|
-
* Check for number using Integer instead of Fixnum class for compatibility with Ruby 2.4
|
443
|
-
|
444
|
-
Bug fixes::
|
445
|
-
* Use method_defined? instead of respond_to? to check if method is already defined when patching (#1838)
|
446
|
-
* Fix invalid conditional in HTML5 converter when handling of SVG
|
447
|
-
* Processor#parse_content helper no longer shares attribute list between blocks (#1651)
|
448
|
-
* Fix infinite loop if unordered list marker is immediately followed by a dot (#1679)
|
449
|
-
* Don't break SVG source when cleaning if svg start tag name is immediately followed by endline (#1676)
|
450
|
-
* Prevent template converter from crashing if .rb file found in template directory (#1827)
|
451
|
-
* Fix crash when generating section ID when both idprefix & idseparator are blank (#1821)
|
452
|
-
* Use stronger CSS rule for general text color in Pygments stylesheet (#1802)
|
453
|
-
* Don't duplicate forward slash for path relative to root (#1822)
|
454
|
-
|
455
|
-
Infrastructure::
|
456
|
-
* Build gem properly in the absense of a git workspace, make compatible with JRuby (#1779)
|
457
|
-
* Run tests in CI using latest versions of Ruby, including Ruby 2.3 (@ferdinandrosario)
|
458
|
-
|
459
|
-
== 1.5.4 (2016-01-03) - @mojavelinux
|
460
|
-
|
461
|
-
Enhancements::
|
462
|
-
* translate README into French (@anthonny, @mogztter, @gscheibel, @mgreau) (#1630)
|
463
|
-
* allow linkstyle in manpage output to be configured (#1610)
|
464
|
-
|
465
|
-
Improvements::
|
466
|
-
* upgrade to MathJax 2.6.0 and disable loading messages
|
467
|
-
* upgrade to Font Awesome 4.5.0
|
468
|
-
* disable toc if document has no sections (#1633)
|
469
|
-
* convert inline asciimath to MathML (using asciimath gem) in DocBook converter (#1622)
|
470
|
-
* add attribute to control build reproducibility (@bk2204) (#1453)
|
471
|
-
* recognize \file:/// as a file root in Opal browser env (#1561)
|
472
|
-
* honor icon attribute on admonition block when font-based icons are enabled (@robertpanzer) (#1593)
|
473
|
-
* resolve custom icon relative to iconsdir; add file extension if absent (#1634)
|
474
|
-
* allow asciidoctor cli to resolve library path when invoked without leading ./
|
475
|
-
|
476
|
-
Compliance::
|
477
|
-
* allow special section to be nested at any depth (#1591)
|
478
|
-
* ensure colpcwidth values add up to 100%; increase precision of values to 4 decimal places (#1647)
|
479
|
-
* ignore blank cols attribute on table (#1647)
|
480
|
-
* support shorthand syntax for block attributes on document title (#1650)
|
481
|
-
|
482
|
-
Bug fixes::
|
483
|
-
* don't include default toc in AsciiDoc table cell; don't pass toc location attributes to nested document (#1582)
|
484
|
-
* guard against nil dlist list item in find_by (#1618)
|
485
|
-
* don't swallow trailing line when include file is not readable (#1602)
|
486
|
-
* change xlink namespace to xl in DocBook 5 output to prevent parse error (#1597)
|
487
|
-
* make callouts globally unique within document, including AsciiDoc table cells (#1626)
|
488
|
-
* initialize Slim-related attributes regardless of when Slim was loaded (@terceiro) (#1576)
|
489
|
-
* differentiate literal backslash from escape sequence in manpage output (@ds26gte) (#1604)
|
490
|
-
* don't mistake line beginning with \. for troff macro in manpage output (@ds26gte) (#1589)
|
491
|
-
* escape leading dots so user content doesn't trigger troff macros in manpage output (@ds26gte) (#1631)
|
492
|
-
* use \c after .URL macro to remove extraneous space in manpage output (@ds26gte) (#1590)
|
493
|
-
* fix missing endline after .URL macro in manpage output (#1613)
|
494
|
-
* properly handle spacing around .URL/.MTO macro in manpage output (@ds26gte) (#1641)
|
495
|
-
* don't swallow doctitle attribute followed by block title (#1587)
|
496
|
-
* change strategy for splitting names of author; fixes bug in Opal/Asciidoctor.js
|
497
|
-
* don't fail if library is loaded more than once
|
498
|
-
|
499
|
-
Infrastructure::
|
500
|
-
* remove trailing endlines in project source code
|
501
|
-
* update contributing guidelines
|
502
|
-
* explicitly test ifeval scenario raised in issue #1585
|
503
|
-
* remove backreference substitution hack for Opal/Asciidoctor.js
|
504
|
-
* fix assignment of default Hash value for Opal/Asciidoctor.js
|
505
|
-
* add JRuby 9.0.4.0 and Ruby 2.3.0 to the Travis CI build matrix
|
506
|
-
|
507
|
-
== 1.5.3 (2015-10-31) - @mojavelinux
|
508
|
-
|
509
|
-
Enhancements::
|
510
|
-
* add support for interactive & inline SVGs (#1301, #1224)
|
511
|
-
* add built-in manpage backend (@davidgamba) (#651)
|
512
|
-
* create Mallard backend; asciidoctor/asciidoctor-mallard (@bk2204) (#425)
|
513
|
-
* add AsciiMath to MathML converter to support AsciiMath in DocBook converter (@pepijnve) (#954)
|
514
|
-
* allow text of selected lines to be highlighted in source block by Pygments or CodeRay (#1429)
|
515
|
-
* use value of `docinfo` attribute to control docinfo behavior (#1510)
|
516
|
-
* add `docinfosubs` attribute to control which substitutions are performed on docinfo files (@mogztter) (#405)
|
517
|
-
* drop ability to specify multiple attributes with a single `-a` flag when using the CLI (@mogztter) (#405)
|
518
|
-
* make subtitle separator chars for document title configurable (@rmannibucau) (#1350)
|
519
|
-
* make XrefInlineRx regexp more permissive (Mathieu Boespflug) (#844)
|
520
|
-
|
521
|
-
Improvements::
|
522
|
-
* load JavaScript and CSS at bottom of HTML document (@mogztter) (#1238)
|
523
|
-
* list available backends in help text (@plaindocs) (#1271)
|
524
|
-
* properly expand tabs in literal text (#1170, #841)
|
525
|
-
* add `source-indent` as document attribute (@mogztter) (#1169)
|
526
|
-
* upgrade MathJax to 2.5.3 (#1329)
|
527
|
-
* upgrade Font Awesome to 4.4.0 (@mogztter) (#1465)
|
528
|
-
* upgrade highlight.js to 8.6 (now 8.9.1) (#1390)
|
529
|
-
* don't abort if syntax highlighter isn't available (#1253)
|
530
|
-
* insert docinfo footer below footer div (#1503)
|
531
|
-
* insert toc at default location in embeddable HTML (#1443)
|
532
|
-
* replace _ and - in generated alt text for inline images
|
533
|
-
* restore attributes to header attributes after parse (#1255)
|
534
|
-
* allow docdate and doctime to be overridden (#1495)
|
535
|
-
* add CSS class `.center` for center block alignment (#1456)
|
536
|
-
* recognize U+2022 (bullet) as alternative marker for unordered lists (@mogztter) (#1177)
|
537
|
-
* allow videos to work for local files by prepending asset-uri-scheme (Chris) (#1320)
|
538
|
-
* always assign playlist param when loop option is enabled for YouTube video
|
539
|
-
* parse isolated version in revision line (@bk2204) (#790)
|
540
|
-
* autoload Tilt when template converter is instantiated (#1313)
|
541
|
-
* don't overwrite existing id entry in references table (#1256)
|
542
|
-
* use outfilesuffix attribute defined in header when resolving outfile (#1412)
|
543
|
-
* make AsciiDoc safe mode option on Slim engine match document (#1347)
|
544
|
-
* honor htmlsyntax attribute when backend is html/html5 (#1530)
|
545
|
-
* tighten spacing of wrapped lines in TOC (#1542)
|
546
|
-
* tune padding around table cells in horizontal dlist (#1418)
|
547
|
-
* load Droid Sans Mono 700 in default stylesheet
|
548
|
-
* set line height of table cells used for syntax highlighting
|
549
|
-
* set font-family of kbd; refine styling (#1423)
|
550
|
-
* extract condition into `quote_lines?` method (@mogztter)
|
551
|
-
* extract inline code into `read_paragraph` method (@mogztter)
|
552
|
-
* parent of block in ListItem should be ListItem (#1359)
|
553
|
-
* add helper methods to List and ListItem (#1551)
|
554
|
-
* add method `AbstractNode#add_role` and `AbstractNode#remove_role` (@robertpanzer) (#1366)
|
555
|
-
* introduce helper methods for sniffing URIs (#1422)
|
556
|
-
* add helper to calculate basename without file extension
|
557
|
-
* document `-I` and `-r` options in the manual page (@bk2204)
|
558
|
-
* fix `+--help+` output text for `-I` (@bk2204)
|
559
|
-
* don't require open-uri-cached if already loaded
|
560
|
-
* do not attempt to scan pattern of non-existent directory in template converter
|
561
|
-
* prevent CodeRay from bolding every 10th line number
|
562
|
-
|
563
|
-
Compliance::
|
564
|
-
* use `<sup>` for footnote reference in text instead of `<span>` (#1523)
|
565
|
-
* fix alignment of wrapped text in footnote (#1524)
|
566
|
-
* include full stop after footnote number in embeddable HTML
|
567
|
-
* show manpage title & name section in embeddable HTML (#1179)
|
568
|
-
* resolve missing attribute in ifeval to empty string (#1387)
|
569
|
-
* support unbreakable & breakable options on table (rockyallen) (#1140)
|
570
|
-
|
571
|
-
Bug fixes::
|
572
|
-
* don't truncate exception stack in `Asciidoctor.load` (#1248)
|
573
|
-
* don't fail to save cause of Java exception (@robertpanzer) (#1458)
|
574
|
-
* fix precision error in timings report (#1342)
|
575
|
-
* resolve regexp for inline macro lazily (#1336)
|
576
|
-
* block argument to `find_by` should filter results (#1393)
|
577
|
-
* strip comment lines in indented text of dlist item (#1537)
|
578
|
-
* preserve escaped delimiter at end of line in a table (#1306)
|
579
|
-
* correctly calculate colnames for implicit columns (#1556)
|
580
|
-
* don't crash if colspan exceeds colspec (#1460)
|
581
|
-
* account for empty records in colspec (#1375)
|
582
|
-
* ignore empty cols attribute on table
|
583
|
-
* use `.inspect` to print MathJax delimiters (again) (#1198)
|
584
|
-
* use while loop instead of begin/while loop to address bug in Asciidoctor.js (#1408)
|
585
|
-
* force encoding of attribute values passed from cli (#1191)
|
586
|
-
* don't copy css if stylesheet or stylesdir is a URI (#1400)
|
587
|
-
* fix invalid color value in default CodeRay theme
|
588
|
-
* built-in writer no longer fails if output is nil (#1544)
|
589
|
-
* custom template engine options should take precedence
|
590
|
-
* fallback to require with a non-relative path to support Debian package (@mogztter)
|
591
|
-
* pass opts to recursive invocations of `PathResolver#system_path`
|
592
|
-
* fix and test external links in docbook backend
|
593
|
-
* use format symbol `:html` instead of `:html5` for Slim to fix warnings
|
594
|
-
* fix documentation for inline_macro and block_macro (Andrea Bedini)
|
595
|
-
* fix grammar in warning messages regarding thread_safe gem
|
596
|
-
|
597
|
-
Infrastructure::
|
598
|
-
* migrate opal_ext from core to Asciidoctor.js (#1517)
|
599
|
-
* add Ruby 2.2 to CI build; only specify minor Ruby versions
|
600
|
-
* enable containerized builds on Travis CI
|
601
|
-
* add config to run CI build on AppVeyor
|
602
|
-
* exclude benchmark folder from gem (#1522)
|
415
|
+
ifeval::[{safe-mode-level} < 20]
|
416
|
+
include::CHANGELOG.adoc[tag=compact,leveloffset=+1]
|
417
|
+
endif::[]
|
603
418
|
|
604
419
|
Refer to the {uri-changelog}[CHANGELOG] for a complete list of changes in older releases.
|