asciidoctor 2.0.16 → 2.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +74 -11
- data/README-de.adoc +7 -11
- data/README-fr.adoc +7 -11
- data/README-jp.adoc +8 -12
- data/README-zh_CN.adoc +7 -11
- data/README.adoc +33 -18
- data/asciidoctor.gemspec +2 -2
- data/data/locale/attributes-fr.adoc +2 -2
- data/data/stylesheets/asciidoctor-default.css +9 -10
- data/data/stylesheets/coderay-asciidoctor.css +9 -9
- data/lib/asciidoctor/abstract_block.rb +7 -5
- data/lib/asciidoctor/block.rb +1 -1
- data/lib/asciidoctor/cli/invoker.rb +2 -2
- data/lib/asciidoctor/cli/options.rb +8 -4
- data/lib/asciidoctor/converter/html5.rb +47 -39
- data/lib/asciidoctor/converter/template.rb +1 -1
- data/lib/asciidoctor/converter.rb +1 -1
- data/lib/asciidoctor/core_ext/hash/merge.rb +1 -1
- data/lib/asciidoctor/document.rb +18 -4
- data/lib/asciidoctor/extensions.rb +26 -6
- data/lib/asciidoctor/parser.rb +57 -55
- data/lib/asciidoctor/reader.rb +23 -28
- data/lib/asciidoctor/rx.rb +6 -2
- data/lib/asciidoctor/section.rb +7 -0
- data/lib/asciidoctor/substitutors.rb +4 -4
- data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +1 -1
- data/lib/asciidoctor/syntax_highlighter/pygments.rb +12 -4
- data/lib/asciidoctor/table.rb +1 -1
- data/lib/asciidoctor/version.rb +1 -1
- data/man/asciidoctor.1 +24 -25
- data/man/asciidoctor.adoc +30 -24
- metadata +5 -5
data/man/asciidoctor.adoc
CHANGED
@@ -1,26 +1,26 @@
|
|
1
1
|
= asciidoctor(1)
|
2
|
-
Dan Allen; Sarah White
|
2
|
+
Dan Allen; Sarah White
|
3
3
|
:doctype: manpage
|
4
|
-
:release-version: 2.0.
|
4
|
+
:release-version: 2.0.17
|
5
5
|
:man manual: Asciidoctor Manual
|
6
6
|
:man source: Asciidoctor {release-version}
|
7
|
-
|
7
|
+
ifdef::backend-manpage[:!author:]
|
8
8
|
|
9
|
-
==
|
9
|
+
== Name
|
10
10
|
|
11
11
|
asciidoctor - converts AsciiDoc source files to HTML, DocBook, and other formats
|
12
12
|
|
13
|
-
==
|
13
|
+
== Synopsis
|
14
14
|
|
15
15
|
*asciidoctor* [_OPTION_]... _FILE_...
|
16
16
|
|
17
|
-
==
|
17
|
+
== Description
|
18
18
|
|
19
19
|
The asciidoctor(1) command converts the AsciiDoc source file(s) _FILE_ to HTML5, DocBook 5, man(ual) page, and other custom output formats.
|
20
20
|
|
21
21
|
If _FILE_ is _-_ then the AsciiDoc source is read from standard input.
|
22
22
|
|
23
|
-
==
|
23
|
+
== Options
|
24
24
|
|
25
25
|
// tag::options[]
|
26
26
|
=== Security Settings
|
@@ -46,10 +46,11 @@ If _FILE_ is _-_ then the AsciiDoc source is read from standard input.
|
|
46
46
|
*-a, --attribute*=_ATTRIBUTE_::
|
47
47
|
Define, override, or unset a document attribute.
|
48
48
|
Command-line attributes take precedence over attributes defined in the source file unless either the name or value ends in _@_.
|
49
|
+
No substitutions are applied to the value.
|
49
50
|
+
|
50
51
|
_ATTRIBUTE_ is normally formatted as a key-value pair, in the form _NAME=VALUE_.
|
51
52
|
Alternate forms are _NAME_ (where the _VALUE_ defaults to an empty string), _NAME!_ (unsets the _NAME_ attribute), and _NAME=VALUE@_ (or _NAME@=VALUE_) (where _VALUE_ does not override the _NAME_ attribute if it's already defined in the source document).
|
52
|
-
|
53
|
+
A value containing spaces must be enclosed in quotes, in the form _NAME="VALUE WITH SPACES"_.
|
53
54
|
+
|
54
55
|
This option may be specified more than once.
|
55
56
|
|
@@ -126,8 +127,8 @@ Matching templates found in subsequent directories override ones previously disc
|
|
126
127
|
=== Processing Information
|
127
128
|
|
128
129
|
*--failure-level*=_LEVEL_::
|
129
|
-
|
130
|
-
If this option is not set
|
130
|
+
Set the minimum logging level (default: FATAL) that yields a non-zero exit code (i.e., failure).
|
131
|
+
If this option is not set, the program exits with a zero exit code even if warnings or errors have been logged.
|
131
132
|
|
132
133
|
*-q, --quiet*::
|
133
134
|
Silence application log messages and script warnings.
|
@@ -150,6 +151,7 @@ Matching templates found in subsequent directories override ones previously disc
|
|
150
151
|
Print a help message.
|
151
152
|
Show the command usage if _TOPIC_ is not specified or recognized.
|
152
153
|
Dump the Asciidoctor man page (in troff/groff format) if _TOPIC_ is _manpage_.
|
154
|
+
Print an AsciiDoc syntax crib sheet (in AsciiDoc) if _TOPIC_ is _syntax_.
|
153
155
|
|
154
156
|
*-V, --version*::
|
155
157
|
Print program version number.
|
@@ -157,13 +159,13 @@ Matching templates found in subsequent directories override ones previously disc
|
|
157
159
|
*-v* can also be used if no source files are specified.
|
158
160
|
// end::options[]
|
159
161
|
|
160
|
-
==
|
162
|
+
== Environment
|
161
163
|
|
162
164
|
*Asciidoctor* honors the *SOURCE_DATE_EPOCH* environment variable.
|
163
165
|
If this variable is assigned an integer value, that value is used as the epoch of all input documents and as the local date and time.
|
164
166
|
See https://reproducible-builds.org/specs/source-date-epoch/ for more information about this environment variable.
|
165
167
|
|
166
|
-
==
|
168
|
+
== Exit Status
|
167
169
|
|
168
170
|
*0*::
|
169
171
|
Success.
|
@@ -171,27 +173,31 @@ See https://reproducible-builds.org/specs/source-date-epoch/ for more informatio
|
|
171
173
|
*1*::
|
172
174
|
Failure (syntax or usage error; configuration error; document processing failure; unexpected error).
|
173
175
|
|
174
|
-
==
|
176
|
+
== Bugs
|
175
177
|
|
176
178
|
Refer to the *Asciidoctor* issue tracker at https://github.com/asciidoctor/asciidoctor/issues?q=is%3Aopen.
|
177
179
|
|
178
|
-
==
|
180
|
+
== Authors
|
179
181
|
|
180
|
-
*Asciidoctor*
|
182
|
+
*Asciidoctor* is led and maintained by Dan Allen and Sarah White and has received contributions from many individuals in the Asciidoctor community.
|
183
|
+
The project was started in 2012 by Ryan Waldron based on a prototype written by Nick Hengeveld for the Git website.
|
184
|
+
Jason Porter wrote the first implementation of the CLI interface provided by this command.
|
181
185
|
|
182
|
-
*AsciiDoc* was
|
186
|
+
*AsciiDoc.py* was created by Stuart Rackham and has received contributions from many individuals in the AsciiDoc.py community.
|
183
187
|
|
184
|
-
==
|
188
|
+
== Resources
|
185
189
|
|
186
|
-
*Project
|
190
|
+
*Project website:* https://asciidoctor.org
|
187
191
|
|
188
|
-
*
|
192
|
+
*Project documentation:* https://docs.asciidoctor.org
|
189
193
|
|
190
|
-
*
|
194
|
+
*Community chat:* https://chat.asciidoctor.org
|
191
195
|
|
192
|
-
*
|
196
|
+
*Source repository:* https://github.com/asciidoctor/asciidoctor
|
193
197
|
|
194
|
-
|
198
|
+
*Mailing list archive:* https://discuss.asciidoctor.org
|
195
199
|
|
196
|
-
|
197
|
-
|
200
|
+
== Copying
|
201
|
+
|
202
|
+
Copyright \(C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor.
|
203
|
+
Use of this software is granted under the terms of the MIT License.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Allen
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date:
|
16
|
+
date: 2018-03-20 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: concurrent-ruby
|
@@ -253,8 +253,8 @@ licenses:
|
|
253
253
|
- MIT
|
254
254
|
metadata:
|
255
255
|
bug_tracker_uri: https://github.com/asciidoctor/asciidoctor/issues
|
256
|
-
changelog_uri: https://github.com/asciidoctor/asciidoctor/blob/
|
257
|
-
mailing_list_uri:
|
256
|
+
changelog_uri: https://github.com/asciidoctor/asciidoctor/blob/HEAD/CHANGELOG.adoc
|
257
|
+
mailing_list_uri: https://chat.asciidoctor.org
|
258
258
|
source_code_uri: https://github.com/asciidoctor/asciidoctor
|
259
259
|
post_install_message:
|
260
260
|
rdoc_options: []
|
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
271
271
|
- !ruby/object:Gem::Version
|
272
272
|
version: '0'
|
273
273
|
requirements: []
|
274
|
-
rubygems_version: 3.
|
274
|
+
rubygems_version: 3.3.7
|
275
275
|
signing_key:
|
276
276
|
specification_version: 4
|
277
277
|
summary: An implementation of the AsciiDoc text processor and publishing toolchain
|