asciidoctor 1.5.4 → 1.5.5
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 +72 -5
- data/CONTRIBUTING.adoc +3 -3
- data/Gemfile +23 -0
- data/README-fr.adoc +416 -0
- data/README-jp.adoc +395 -0
- data/README-zh_CN.adoc +414 -0
- data/README.adoc +134 -72
- data/asciidoctor.gemspec +49 -0
- data/data/locale/attributes.adoc +470 -0
- data/data/stylesheets/asciidoctor-default.css +6 -5
- data/lib/asciidoctor.rb +22 -19
- data/lib/asciidoctor/abstract_block.rb +20 -10
- data/lib/asciidoctor/abstract_node.rb +3 -14
- data/lib/asciidoctor/cli/invoker.rb +5 -4
- data/lib/asciidoctor/cli/options.rb +1 -1
- data/lib/asciidoctor/converter/docbook5.rb +1 -1
- data/lib/asciidoctor/converter/factory.rb +1 -5
- data/lib/asciidoctor/converter/html5.rb +36 -31
- data/lib/asciidoctor/converter/manpage.rb +14 -9
- data/lib/asciidoctor/converter/template.rb +8 -4
- data/lib/asciidoctor/core_ext.rb +7 -6
- data/lib/asciidoctor/core_ext/{string → 1.8.7/string}/chr.rb +1 -1
- data/lib/asciidoctor/core_ext/1.8.7/string/limit.rb +28 -0
- data/lib/asciidoctor/core_ext/{symbol → 1.8.7/symbol}/length.rb +1 -1
- data/lib/asciidoctor/core_ext/nil_or_empty.rb +23 -0
- data/lib/asciidoctor/core_ext/string/limit.rb +10 -0
- data/lib/asciidoctor/document.rb +33 -26
- data/lib/asciidoctor/extensions.rb +16 -16
- data/lib/asciidoctor/helpers.rb +1 -1
- data/lib/asciidoctor/list.rb +3 -0
- data/lib/asciidoctor/parser.rb +47 -43
- data/lib/asciidoctor/path_resolver.rb +3 -1
- data/lib/asciidoctor/reader.rb +15 -14
- data/lib/asciidoctor/section.rb +2 -2
- data/lib/asciidoctor/stylesheets.rb +2 -1
- data/lib/asciidoctor/substitutors.rb +44 -46
- data/lib/asciidoctor/table.rb +41 -38
- data/lib/asciidoctor/version.rb +1 -1
- data/man/asciidoctor.1 +11 -4
- data/man/asciidoctor.adoc +7 -1
- data/test/attributes_test.rb +52 -0
- data/test/blocks_test.rb +8 -8
- data/test/document_test.rb +13 -1
- data/test/extensions_test.rb +38 -0
- data/test/invoker_test.rb +15 -0
- data/test/lists_test.rb +78 -53
- data/test/manpage_test.rb +15 -0
- data/test/paths_test.rb +3 -0
- data/test/reader_test.rb +2 -2
- data/test/sections_test.rb +10 -0
- data/test/substitutions_test.rb +12 -6
- data/test/tables_test.rb +76 -2
- metadata +16 -45
- data/lib/asciidoctor/core_ext/object/nil_or_empty.rb +0 -23
- data/test/fixtures/asciidoc_index.txt +0 -521
- data/test/fixtures/basic-docinfo-footer.html +0 -6
- data/test/fixtures/basic-docinfo-footer.xml +0 -8
- data/test/fixtures/basic-docinfo.html +0 -1
- data/test/fixtures/basic-docinfo.xml +0 -4
- data/test/fixtures/basic.asciidoc +0 -5
- data/test/fixtures/chapter-a.adoc +0 -3
- data/test/fixtures/child-include.adoc +0 -5
- data/test/fixtures/circle.svg +0 -8
- data/test/fixtures/custom-backends/erb/html5/block_paragraph.html.erb +0 -6
- data/test/fixtures/custom-backends/haml/docbook45/block_paragraph.xml.haml +0 -6
- data/test/fixtures/custom-backends/haml/html5-tweaks/block_paragraph.html.haml +0 -1
- data/test/fixtures/custom-backends/haml/html5/block_paragraph.html.haml +0 -3
- data/test/fixtures/custom-backends/haml/html5/block_sidebar.html.haml +0 -5
- data/test/fixtures/custom-backends/slim/docbook45/block_paragraph.xml.slim +0 -6
- data/test/fixtures/custom-backends/slim/html5/block_paragraph.html.slim +0 -3
- data/test/fixtures/custom-backends/slim/html5/block_sidebar.html.slim +0 -5
- data/test/fixtures/custom-docinfodir/basic-docinfo.html +0 -1
- data/test/fixtures/custom-docinfodir/docinfo.html +0 -1
- data/test/fixtures/docinfo-footer.html +0 -1
- data/test/fixtures/docinfo-footer.xml +0 -9
- data/test/fixtures/docinfo.html +0 -1
- data/test/fixtures/docinfo.xml +0 -3
- data/test/fixtures/dot.gif +0 -0
- data/test/fixtures/encoding.asciidoc +0 -13
- data/test/fixtures/grandchild-include.adoc +0 -3
- data/test/fixtures/hello-asciidoctor.pdf +0 -0
- data/test/fixtures/include-file.asciidoc +0 -24
- data/test/fixtures/include-file.xml +0 -5
- data/test/fixtures/master.adoc +0 -5
- data/test/fixtures/parent-include-restricted.adoc +0 -5
- data/test/fixtures/parent-include.adoc +0 -5
- data/test/fixtures/sample.asciidoc +0 -26
- data/test/fixtures/stylesheets/custom.css +0 -3
- data/test/fixtures/subs-docinfo.html +0 -2
- data/test/fixtures/subs.adoc +0 -7
- data/test/fixtures/tip.gif +0 -0
- data/test/test_helper.rb +0 -399
data/README.adoc
CHANGED
@@ -1,20 +1,20 @@
|
|
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.5, 2016-10-05
|
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
|
-
ifdef::env-github[:
|
10
|
+
ifdef::env-github[:status:]
|
11
11
|
// URIs:
|
12
12
|
:uri-org: https://github.com/asciidoctor
|
13
13
|
:uri-repo: {uri-org}/asciidoctor
|
14
14
|
:uri-asciidoctorj: {uri-org}/asciidoctorj
|
15
15
|
:uri-asciidoctorjs: {uri-org}/asciidoctor.js
|
16
16
|
:uri-project: http://asciidoctor.org
|
17
|
-
ifdef::
|
17
|
+
ifdef::env-site[:uri-project: link:]
|
18
18
|
:uri-docs: {uri-project}/docs
|
19
19
|
:uri-news: {uri-project}/news
|
20
20
|
:uri-manpage: {uri-project}/man/asciidoctor
|
@@ -22,7 +22,7 @@ ifdef::awestruct-version[:uri-project: link:]
|
|
22
22
|
:uri-contributors: {uri-repo}/graphs/contributors
|
23
23
|
:uri-rel-file-base: link:
|
24
24
|
:uri-rel-tree-base: link:
|
25
|
-
ifdef::
|
25
|
+
ifdef::env-site[]
|
26
26
|
:uri-rel-file-base: {uri-repo}/blob/master/
|
27
27
|
:uri-rel-tree-base: {uri-repo}/tree/master/
|
28
28
|
endif::[]
|
@@ -54,6 +54,13 @@ Asciidoctor is written in Ruby, packaged as a RubyGem and published to {uri-ruby
|
|
54
54
|
The gem is also included in several Linux distributions, including Fedora, Debian and Ubuntu.
|
55
55
|
Asciidoctor is open source, {uri-repo}[hosted on GitHub] and released under {uri-license}[the MIT license].
|
56
56
|
|
57
|
+
ifndef::env-site[]
|
58
|
+
.Translations of this document are available in the following languages:
|
59
|
+
* {uri-rel-file-base}README-zh_CN.adoc[汉语]
|
60
|
+
* {uri-rel-file-base}README-fr.adoc[Français]
|
61
|
+
* {uri-rel-file-base}README-jp.adoc[日本語]
|
62
|
+
endif::[]
|
63
|
+
|
57
64
|
.Key documentation
|
58
65
|
[.compact]
|
59
66
|
* {uri-docs}/what-is-asciidoc[What is Asciidoc?]
|
@@ -72,10 +79,10 @@ We use http://opalrb.org[Opal] to transcompile the Ruby source to JavaScript to
|
|
72
79
|
Asciidoctor.js is used to power the AsciiDoc preview extensions for Chrome, Atom, Brackets and other web-based tooling.
|
73
80
|
****
|
74
81
|
|
75
|
-
ifdef::
|
82
|
+
ifdef::status[]
|
76
83
|
.*Project health*
|
77
|
-
image:https://img.shields.io/travis/asciidoctor/asciidoctor/master.svg[Build Status (Travis CI), link=https://travis-ci.org/asciidoctor/asciidoctor]
|
78
|
-
image:https://ci.appveyor.com/api/projects/status/ifplu67oxvgn6ceq/branch/master?svg=true&passingText=green%20bar&failingText=%23fail&pendingText=building%2E%2E%2E[Build Status (AppVeyor), link=https://ci.appveyor.com/project/asciidoctor/asciidoctor]
|
84
|
+
image:https://img.shields.io/travis/asciidoctor/asciidoctor/master.svg[Build Status (Travis CI), link=https://travis-ci.org/asciidoctor/asciidoctor]
|
85
|
+
image:https://ci.appveyor.com/api/projects/status/ifplu67oxvgn6ceq/branch/master?svg=true&passingText=green%20bar&failingText=%23fail&pendingText=building%2E%2E%2E[Build Status (AppVeyor), link=https://ci.appveyor.com/project/asciidoctor/asciidoctor]
|
79
86
|
//image:https://img.shields.io/coveralls/asciidoctor/asciidoctor/master.svg[Coverage Status, link=https://coveralls.io/r/asciidoctor/asciidoctor]
|
80
87
|
image:https://codeclimate.com/github/asciidoctor/asciidoctor/badges/gpa.svg[Code Climate, link="https://codeclimate.com/github/asciidoctor/asciidoctor"]
|
81
88
|
image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs, link="https://inch-ci.org/github/asciidoctor/asciidoctor"]
|
@@ -101,15 +108,27 @@ Asciidoctor also offers a modern, responsive theme based on {uri-foundation}[Fou
|
|
101
108
|
|
102
109
|
== Requirements
|
103
110
|
|
104
|
-
Asciidoctor works on Linux,
|
111
|
+
Asciidoctor works on Linux, OS X (Mac) and Windows and requires one of the following implementations of {uri-ruby}[Ruby]:
|
105
112
|
|
106
|
-
* MRI (Ruby 1.8.7, 1.9.3, 2.0, 2.1 & 2.
|
107
|
-
* JRuby 1.7
|
113
|
+
* MRI (Ruby 1.8.7, 1.9.3, 2.0, 2.1, 2.2 & 2.3)
|
114
|
+
* JRuby (1.7 in Ruby 1.8 and 1.9 modes, 9000)
|
108
115
|
* Rubinius 2.2.x
|
109
116
|
* Opal (JavaScript)
|
110
117
|
|
111
118
|
We welcome your help testing Asciidoctor on these and other platforms.
|
112
|
-
Refer to <<
|
119
|
+
Refer to the <<Contributing>> section to learn how to get involved.
|
120
|
+
|
121
|
+
[CAUTION]
|
122
|
+
====
|
123
|
+
If you're using a non-English Windows environment, you may bump into an `Encoding::UndefinedConversionError` when invoking Asciidoctor.
|
124
|
+
To solve this issue, we recommend changing the active code page in your console to UTF-8:
|
125
|
+
|
126
|
+
chcp 65001
|
127
|
+
|
128
|
+
Once you make this change, all your Unicode headaches will be behind you.
|
129
|
+
If you're using an IDE like Eclipse, make sure you set the encoding to UTF-8 there as well.
|
130
|
+
Asciidoctor works best when you use UTF-8 everywhere.
|
131
|
+
====
|
113
132
|
|
114
133
|
== Installation
|
115
134
|
|
@@ -152,7 +171,7 @@ If that's the case, use the following gem command to remove the old versions:
|
|
152
171
|
source 'https://rubygems.org'
|
153
172
|
gem 'asciidoctor'
|
154
173
|
# or specify the version explicitly
|
155
|
-
# gem 'asciidoctor', '1.5.
|
174
|
+
# gem 'asciidoctor', '1.5.5'
|
156
175
|
----
|
157
176
|
|
158
177
|
. Save the Gemfile
|
@@ -165,21 +184,21 @@ Using `bundle update` is *not* recommended as it will also update other gems, wh
|
|
165
184
|
|
166
185
|
=== (c) Linux package managers
|
167
186
|
|
168
|
-
====
|
187
|
+
==== DNF (Fedora 21 or greater)
|
169
188
|
|
170
|
-
To install the gem on Fedora 21 or greater using
|
189
|
+
To install the gem on Fedora 21 or greater using dnf, open a terminal and type:
|
171
190
|
|
172
|
-
$ sudo
|
191
|
+
$ sudo dnf install -y asciidoctor
|
173
192
|
|
174
193
|
To upgrade the gem, use:
|
175
194
|
|
176
|
-
$ sudo
|
195
|
+
$ sudo dnf update -y asciidoctor
|
177
196
|
|
178
|
-
TIP: Your
|
197
|
+
TIP: Your system may be configured to automatically update rpm packages, in which case no action is required by you to update the gem.
|
179
198
|
|
180
|
-
==== apt-get (Debian
|
199
|
+
==== apt-get (Debian, Ubuntu, Mint)
|
181
200
|
|
182
|
-
To install the gem on Debian or
|
201
|
+
To install the gem on Debian, Ubuntu or Mint, open a terminal and type:
|
183
202
|
|
184
203
|
$ sudo apt-get install -y asciidoctor
|
185
204
|
|
@@ -187,7 +206,37 @@ To upgrade the gem, use:
|
|
187
206
|
|
188
207
|
$ sudo apt-get upgrade -y asciidoctor
|
189
208
|
|
190
|
-
TIP: Your
|
209
|
+
TIP: Your system may be configured to automatically update deb packages, in which case no action is required by you to update the gem.
|
210
|
+
|
211
|
+
The version of Asciidoctor installed by the package manager (apt-get) may not match the latest release of Asciidoctor.
|
212
|
+
Consult the package repository for your distribution to find out which version is packaged per distribution release.
|
213
|
+
|
214
|
+
* https://packages.debian.org/search?keywords=asciidoctor&searchon=names&exact=1&suite=all§ion=all[asciidoctor package by Debian release]
|
215
|
+
* http://packages.ubuntu.com/search?keywords=asciidoctor&searchon=names&exact=1&suite=all§ion=all[asciidoctor package by Ubuntu release]
|
216
|
+
* https://community.linuxmint.com/software/view/asciidoctor[asciidoctor package by Mint release]
|
217
|
+
|
218
|
+
[CAUTION]
|
219
|
+
====
|
220
|
+
You're advised against using the `gem update` command to update a gem managed by the package manager.
|
221
|
+
Doing so puts the system into an inconsistent state as the package manager can no longer track the files (which get installed under /usr/local).
|
222
|
+
Simply put, system gems should only be managed by the package manager.
|
223
|
+
|
224
|
+
If you want to use a version of Asciidoctor that is newer than what is installed by the package manager, you should use http://rvm.io[RVM] to install Ruby in your home directory (i.e., user space).
|
225
|
+
Then, you can safely use the `gem` command to install or update the Asciidoctor gem.
|
226
|
+
When using RVM, gems are installed in a location isolated from the system.
|
227
|
+
====
|
228
|
+
|
229
|
+
==== apk (Alpine Linux)
|
230
|
+
|
231
|
+
To install the gem on Alpine Linux, open a terminal and type:
|
232
|
+
|
233
|
+
$ sudo apk add asciidoctor
|
234
|
+
|
235
|
+
To upgrade the gem, use:
|
236
|
+
|
237
|
+
$ sudo apk add -u asciidoctor
|
238
|
+
|
239
|
+
TIP: Your system may be configured to automatically update apk packages, in which case no action is required by you to update the gem.
|
191
240
|
|
192
241
|
=== Other installation options
|
193
242
|
|
@@ -207,7 +256,7 @@ You should see information about the Asciidoctor version and your Ruby environme
|
|
207
256
|
|
208
257
|
[.output]
|
209
258
|
....
|
210
|
-
Asciidoctor 1.5.
|
259
|
+
Asciidoctor 1.5.5 [http://asciidoctor.org]
|
211
260
|
Runtime Environment (ruby 2.2.2p95 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
|
212
261
|
....
|
213
262
|
|
@@ -284,7 +333,7 @@ Keep in mind that if you don't like the output Asciidoctor produces, _you can ch
|
|
284
333
|
Asciidoctor supports custom converters that can handle converting from the parsed document to the generated output.
|
285
334
|
|
286
335
|
One easy way to customize the output piecemeal is by using the template converter.
|
287
|
-
The template converter allows you
|
336
|
+
The template converter allows you to supply a {uri-tilt}[Tilt]-supported template file to handle converting any node in the document.
|
288
337
|
|
289
338
|
However you go about it, you _can_ have 100% control over the output.
|
290
339
|
For more information about how to use the API or to customize the output, refer to the {uri-user-manual}[user manual].
|
@@ -316,13 +365,15 @@ The {uri-contribute}[Contributing] guide provides information on how to create,
|
|
316
365
|
== Getting Help
|
317
366
|
|
318
367
|
The Asciidoctor project is developed to help you easily write and publish your content.
|
319
|
-
But we can't do
|
320
|
-
We encourage you to ask questions and discuss any aspects of the project on the discussion list, Twitter or
|
368
|
+
But we can't do it without your feedback!
|
369
|
+
We encourage you to ask questions and discuss any aspects of the project on the discussion list, on Twitter or in the chat room.
|
321
370
|
|
322
|
-
|
323
|
-
Twitter
|
324
|
-
|
325
|
-
|
371
|
+
Discussion list (Nabble):: {uri-discuss}
|
372
|
+
Twitter:: #asciidoctor hashtag or @asciidoctor mention
|
373
|
+
Chat (Gitter):: image:https://badges.gitter.im/Join%20In.svg[Gitter, link=https://gitter.im/asciidoctor/asciidoctor]
|
374
|
+
////
|
375
|
+
Chat (IRC):: {uri-irc}[#asciidoctor] on FreeNode IRC
|
376
|
+
////
|
326
377
|
|
327
378
|
ifdef::env-github[]
|
328
379
|
Further information and documentation about Asciidoctor can be found on the project's website.
|
@@ -352,6 +403,59 @@ The project was initiated in 2012 by https://github.com/erebor[Ryan Waldron] and
|
|
352
403
|
|
353
404
|
== Changelog
|
354
405
|
|
406
|
+
== 1.5.5 (2016-10-05) - @mojavelinux
|
407
|
+
|
408
|
+
Enhancements::
|
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
|
+
|
355
459
|
== 1.5.4 (2016-01-03) - @mojavelinux
|
356
460
|
|
357
461
|
Enhancements::
|
@@ -429,7 +533,7 @@ Improvements::
|
|
429
533
|
* restore attributes to header attributes after parse (#1255)
|
430
534
|
* allow docdate and doctime to be overridden (#1495)
|
431
535
|
* add CSS class `.center` for center block alignment (#1456)
|
432
|
-
* recognize U+2022 as alternative marker for unordered lists (@mogztter) (#1177)
|
536
|
+
* recognize U+2022 (bullet) as alternative marker for unordered lists (@mogztter) (#1177)
|
433
537
|
* allow videos to work for local files by prepending asset-uri-scheme (Chris) (#1320)
|
434
538
|
* always assign playlist param when loop option is enabled for YouTube video
|
435
539
|
* parse isolated version in revision line (@bk2204) (#790)
|
@@ -454,6 +558,7 @@ Improvements::
|
|
454
558
|
* fix `+--help+` output text for `-I` (@bk2204)
|
455
559
|
* don't require open-uri-cached if already loaded
|
456
560
|
* do not attempt to scan pattern of non-existent directory in template converter
|
561
|
+
* prevent CodeRay from bolding every 10th line number
|
457
562
|
|
458
563
|
Compliance::
|
459
564
|
* use `<sup>` for footnote reference in text instead of `<span>` (#1523)
|
@@ -496,47 +601,4 @@ Infrastructure::
|
|
496
601
|
* add config to run CI build on AppVeyor
|
497
602
|
* exclude benchmark folder from gem (#1522)
|
498
603
|
|
499
|
-
== 1.5.2 (2014-11-27) - @mojavelinux
|
500
|
-
|
501
|
-
Enhancements::
|
502
|
-
|
503
|
-
* add docinfo extension (@mogztter) (#1162)
|
504
|
-
* allow docinfo to be in separate directory from content, specified by `docinfodir` attribute (@mogztter) (#511)
|
505
|
-
* enable TeX equation auto-numbering if `eqnums` attribute is set (@jxxcarlson) (#1110)
|
506
|
-
|
507
|
-
Improvements::
|
508
|
-
|
509
|
-
* recognize `+--+` as valid line comment for callout numbers; make line comment configurable (#1068)
|
510
|
-
* upgrade highlight.js to version 8.4 (#1216)
|
511
|
-
* upgrade Font Awesome to version 4.2.0 (@clojens) (#1201)
|
512
|
-
* define JAVASCRIPT_PLATFORM constant to simplify conditional logic in the JavaScript environment (#897)
|
513
|
-
* provide access to destination directory, outfile and outdir via Document object (#1203)
|
514
|
-
* print encoding information in version report produced by `asciidoctor -v` (#1210)
|
515
|
-
* add intrinsic attribute named `cpp` with value `pass:[C++]` (#1208)
|
516
|
-
* preserve URI targets passed to `stylesheet` and related attributes (#1192)
|
517
|
-
* allow numeric characters in block attribute name (#1103)
|
518
|
-
* support custom YouTube playlists (#1105)
|
519
|
-
* make start number for unique id generation configurable (#1148)
|
520
|
-
* normalize and force UTF-8 encoding of docinfo content (#831)
|
521
|
-
* allow subs and default_subs to be specified in Block constructor (#749)
|
522
|
-
* enhance error message when reading binary input files (@mogztter) (#1158)
|
523
|
-
* add `append` method as alias to `<<` method on AbstractBlock (#1085)
|
524
|
-
* assign value of `preface-title` as title of preface node (#1090)
|
525
|
-
* fix spacing around checkbox in checklist (#1138)
|
526
|
-
* automatically load Slim's include plugin when using slim templates (@jirutka) (#1151)
|
527
|
-
* mixin Slim helpers into execution scope of slim templates (@jirutka) (#1143)
|
528
|
-
* improve DocBook output for manpage doctype (@bk2204) (#1134, #1142)
|
529
|
-
|
530
|
-
Compliance::
|
531
|
-
|
532
|
-
* substitute attribute entry value in attributes defined outside of header (#1130)
|
533
|
-
* allow empty cell to appear at end of table row (#1106)
|
534
|
-
* only produce one row for table in CSV or DSV format with a single cell (#1180)
|
535
|
-
|
536
|
-
Bug fixes::
|
537
|
-
|
538
|
-
* add explicit to_s call to generate delimiter settings for MathJax config (#1198)
|
539
|
-
* fix includes that reference absolute Windows paths (#1144)
|
540
|
-
* apply DSL to extension block in a way compatible with Opal
|
541
|
-
|
542
604
|
Refer to the {uri-changelog}[CHANGELOG] for a complete list of changes in older releases.
|
data/asciidoctor.gemspec
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path '../lib/asciidoctor/version', __FILE__
|
3
|
+
require 'open3' unless defined? Open3
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = 'asciidoctor'
|
7
|
+
s.version = Asciidoctor::VERSION
|
8
|
+
s.summary = 'An implementation of the AsciiDoc text processor and publishing toolchain in Ruby'
|
9
|
+
s.description = 'A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML5, DocBook 5 (or 4.5) and other formats.'
|
10
|
+
s.authors = ['Dan Allen', 'Sarah White', 'Ryan Waldron', 'Jason Porter', 'Nick Hengeveld', 'Jeremy McAnally']
|
11
|
+
s.email = ['dan.j.allen@gmail.com']
|
12
|
+
s.homepage = 'http://asciidoctor.org'
|
13
|
+
s.license = 'MIT'
|
14
|
+
|
15
|
+
files = begin
|
16
|
+
(result = Open3.popen3('git ls-files -z') {|_, out| out.read }.split %(\0)).empty? ? Dir['**/*'] : result
|
17
|
+
rescue
|
18
|
+
Dir['**/*']
|
19
|
+
end
|
20
|
+
s.files = files.grep(/^(?:(?:data|lib|man)\/.+|Gemfile|Rakefile|(?:CHANGELOG|CONTRIBUTING|LICENSE|README(?:-\w+)?)\.adoc|#{s.name}\.gemspec)$/)
|
21
|
+
s.executables = files.grep(/^bin\//).map {|f| File.basename f }
|
22
|
+
s.test_files = files.grep(/^(?:test\/.*_test\.rb|features\/.*\.(?:feature|rb))$/)
|
23
|
+
s.require_paths = ['lib']
|
24
|
+
s.has_rdoc = true
|
25
|
+
s.rdoc_options = ['--charset=UTF-8']
|
26
|
+
s.extra_rdoc_files = ['CHANGELOG.adoc', 'CONTRIBUTING.adoc', 'LICENSE.adoc']
|
27
|
+
|
28
|
+
# asciimath is needed for testing AsciiMath in DocBook backend
|
29
|
+
s.add_development_dependency 'asciimath', '~> 1.0.2'
|
30
|
+
# coderay is needed for testing syntax highlighting
|
31
|
+
s.add_development_dependency 'coderay', '~> 1.1.0'
|
32
|
+
s.add_development_dependency 'cucumber', '~> 1.3.1'
|
33
|
+
# erubis is needed for testing use of alternative eRuby impls
|
34
|
+
s.add_development_dependency 'erubis', '~> 2.7.0'
|
35
|
+
# haml is needed for testing custom templates
|
36
|
+
s.add_development_dependency 'haml', '~> 4.0.0'
|
37
|
+
s.add_development_dependency 'nokogiri', '~> 1.5.10'
|
38
|
+
s.add_development_dependency 'rake', '~> 10.0.0'
|
39
|
+
s.add_development_dependency 'rspec-expectations', '~> 2.14.0'
|
40
|
+
# slim is needed for testing custom templates
|
41
|
+
s.add_development_dependency 'slim', '~> 2.0.0'
|
42
|
+
s.add_development_dependency 'thread_safe', '~> 0.3.4'
|
43
|
+
# tilt is needed for testing custom templates
|
44
|
+
s.add_development_dependency 'tilt', '~> 2.0.0'
|
45
|
+
s.add_development_dependency 'yard', '~> 0.8.7'
|
46
|
+
s.add_development_dependency 'yard-tomdoc', '~> 0.7.0'
|
47
|
+
s.add_development_dependency 'minitest', '~> 5.3.0'
|
48
|
+
s.add_development_dependency 'racc', '~> 1.4.10' if RUBY_VERSION == '2.1.0' && RUBY_ENGINE == 'rbx'
|
49
|
+
end
|
@@ -0,0 +1,470 @@
|
|
1
|
+
// This file provides translations for all built-in attributes in Asciidoctor that output localized content.
|
2
|
+
// See http://asciidoctor.org/docs/user-manual/#customizing-built-in-labels to learn how to use it.
|
3
|
+
//
|
4
|
+
// NOTE: Please use a line comment in front of the listing-caption and preface-title entries.
|
5
|
+
// These attributes are optional and not set by default.
|
6
|
+
//
|
7
|
+
// IMPORTANT: Do not add any blank lines.
|
8
|
+
//
|
9
|
+
// Arabic translation, courtesy of Aboullaite Mohammed <aboullaite.mohammed@gmail.com>
|
10
|
+
ifeval::["{lang}" == "ar"]
|
11
|
+
:appendix-caption: ملحق
|
12
|
+
:caution-caption: تنبيه
|
13
|
+
:example-caption: مثال
|
14
|
+
:figure-caption: الشكل
|
15
|
+
:important-caption: مهم
|
16
|
+
:last-update-label: اخر تحديث
|
17
|
+
//:listing-caption: قائمة
|
18
|
+
:manname-title: اسم
|
19
|
+
:note-caption: ملاحظة
|
20
|
+
//:preface-title: تمهيد
|
21
|
+
:table-caption: جدول
|
22
|
+
:tip-caption: تلميح
|
23
|
+
:toc-title: فهرس
|
24
|
+
:untitled-label: بدون عنوان
|
25
|
+
:version-label: نسخة
|
26
|
+
:warning-caption: تحذير
|
27
|
+
endif::[]
|
28
|
+
//
|
29
|
+
// Bulgarian translation, courtesy of Ivan St. Ivanov <ivan.st.ivanov@gmail.com>
|
30
|
+
ifeval::["{lang}" == "bg"]
|
31
|
+
:appendix-caption: Приложение
|
32
|
+
:caution-caption: Внимание
|
33
|
+
:example-caption: Пример
|
34
|
+
:figure-caption: Фигура
|
35
|
+
:important-caption: Важно
|
36
|
+
:last-update-label: Последно обновен
|
37
|
+
//:listing-caption: Листинг
|
38
|
+
:manname-title: ИМЕ
|
39
|
+
:note-caption: Забележка
|
40
|
+
//:preface-title: Предговор
|
41
|
+
:table-caption: Таблица
|
42
|
+
:tip-caption: Подсказка
|
43
|
+
:toc-title: Съдържание
|
44
|
+
:untitled-label: Без заглавие
|
45
|
+
:version-label: Версия
|
46
|
+
:warning-caption: Внимание
|
47
|
+
endif::[]
|
48
|
+
//
|
49
|
+
// Catalan translation, courtesy of Abel Salgado Romero <abelromero@gmail.com> and Alex Soto
|
50
|
+
ifeval::["{lang}" == "ca"]
|
51
|
+
:appendix-caption: Apendix
|
52
|
+
:caution-caption: Atenció
|
53
|
+
:example-caption: Exemple
|
54
|
+
:figure-caption: Figura
|
55
|
+
:important-caption: Important
|
56
|
+
:last-update-label: Última actualització
|
57
|
+
//:listing-caption: Llista
|
58
|
+
:manname-title: NOM
|
59
|
+
:note-caption: Nota
|
60
|
+
//:preface-title: Prefaci
|
61
|
+
:table-caption: Taula
|
62
|
+
:tip-caption: Suggeriment
|
63
|
+
:toc-title: Índex
|
64
|
+
:untitled-label: Sense títol
|
65
|
+
:version-label: Versió
|
66
|
+
:warning-caption: Advertència
|
67
|
+
endif::[]
|
68
|
+
//
|
69
|
+
// Danish translation, courtesy of Max Rydahl Andersen <manderse@redhat.com>
|
70
|
+
ifeval::["{lang}" == "da"]
|
71
|
+
:appendix-caption: Appendix
|
72
|
+
:caution-caption: Forsigtig
|
73
|
+
:example-caption: Eksempel
|
74
|
+
:figure-caption: Figur
|
75
|
+
:important-caption: Vigtig
|
76
|
+
:last-update-label: Sidst opdateret
|
77
|
+
:listing-caption: List
|
78
|
+
:manname-title: NAVN
|
79
|
+
:note-caption: Notat
|
80
|
+
//:preface-title:
|
81
|
+
:table-caption: Tabel
|
82
|
+
:tip-caption: Tips
|
83
|
+
:toc-title: Indholdsfortegnelse
|
84
|
+
:untitled-label: Unavngivet
|
85
|
+
:version-label: Version
|
86
|
+
:warning-caption: Advarsel
|
87
|
+
endif::[]
|
88
|
+
//
|
89
|
+
// German translation, courtesy of Florian Wilhelm
|
90
|
+
ifeval::["{lang}" == "de"]
|
91
|
+
:appendix-caption: Anhang
|
92
|
+
:caution-caption: Achtung
|
93
|
+
:example-caption: Beispiel
|
94
|
+
:figure-caption: Abbildung
|
95
|
+
:important-caption: Wichtig
|
96
|
+
:last-update-label: Zuletzt aktualisiert
|
97
|
+
//:listing-caption: Listing
|
98
|
+
:manname-title: BEZEICHNUNG
|
99
|
+
:note-caption: Anmerkung
|
100
|
+
//:preface-title: Vorwort
|
101
|
+
:table-caption: Tabelle
|
102
|
+
:tip-caption: Hinweis
|
103
|
+
:toc-title: Inhalt
|
104
|
+
:untitled-label: Ohne Titel
|
105
|
+
:version-label: Version
|
106
|
+
:warning-caption: Warnung
|
107
|
+
endif::[]
|
108
|
+
//
|
109
|
+
// Spanish translation, courtesy of Eddú Meléndez <eddu.melendez@gmail.com>
|
110
|
+
ifeval::["{lang}" == "es"]
|
111
|
+
:appendix-caption: Apéndice
|
112
|
+
:caution-caption: Precaución
|
113
|
+
:example-caption: Ejemplo
|
114
|
+
:figure-caption: Figura
|
115
|
+
:important-caption: Importante
|
116
|
+
:last-update-label: Ultima actualización
|
117
|
+
//:listing-caption: Lista
|
118
|
+
:manname-title: NOMBRE
|
119
|
+
:note-caption: Nota
|
120
|
+
//:preface-title: Prefacio
|
121
|
+
:table-caption: Tabla
|
122
|
+
:tip-caption: Sugerencia
|
123
|
+
:toc-title: Tabla de Contenido
|
124
|
+
:untitled-label: Sin título
|
125
|
+
:version-label: Versión
|
126
|
+
:warning-caption: Aviso
|
127
|
+
endif::[]
|
128
|
+
//
|
129
|
+
// Persian (Farsi) translation, courtesy of Shahryar Eivazzadeh <shahryareiv@gmail.com>
|
130
|
+
ifeval::["{lang}" == "fa"]
|
131
|
+
:appendix-caption: پیوست
|
132
|
+
:caution-caption: گوشزد
|
133
|
+
:example-caption: نمونه
|
134
|
+
:figure-caption: نمودار
|
135
|
+
:important-caption: مهم
|
136
|
+
:last-update-label: آخرین به روز رسانی
|
137
|
+
//:listing-caption: فهرست
|
138
|
+
:manname-title: نام
|
139
|
+
:note-caption: یادداشت
|
140
|
+
//:preface-title: پیشگفتار
|
141
|
+
:table-caption: جدول
|
142
|
+
:tip-caption: نکته
|
143
|
+
:toc-title: فهرست مطالب
|
144
|
+
:untitled-label: بینام
|
145
|
+
:version-label: نگارش
|
146
|
+
:warning-caption: هشدار
|
147
|
+
endif::[]
|
148
|
+
//
|
149
|
+
// Finnish translation by Tero Hänninen
|
150
|
+
ifeval::["{lang}" == "fi"]
|
151
|
+
:appendix-caption: Liitteet
|
152
|
+
:caution-caption: Huom
|
153
|
+
:example-caption: Esimerkki
|
154
|
+
:figure-caption: Kuvio
|
155
|
+
:important-caption: Tärkeää
|
156
|
+
:last-update-label: Viimeksi päivitetty
|
157
|
+
//:listing-caption: Listaus
|
158
|
+
:manname-title: NIMI
|
159
|
+
:note-caption: Huomio
|
160
|
+
//:preface-title: Esipuhe
|
161
|
+
:table-caption: Taulukko
|
162
|
+
:tip-caption: Vinkki
|
163
|
+
:toc-title: Sisällysluettelo
|
164
|
+
:untitled-label: Nimetön
|
165
|
+
:version-label: Versio
|
166
|
+
:warning-caption: Varoitus
|
167
|
+
endif::[]
|
168
|
+
//
|
169
|
+
// French translation, courtesy of Nicolas Comet <nicolas.comet@gmail.com>
|
170
|
+
ifeval::["{lang}" == "fr"]
|
171
|
+
:appendix-caption: Appendice
|
172
|
+
:caution-caption: Avertissement
|
173
|
+
:example-caption: Exemple
|
174
|
+
:figure-caption: Figure
|
175
|
+
:important-caption: Important
|
176
|
+
:last-update-label: Dernière mise à jour
|
177
|
+
//:listing-caption: Liste
|
178
|
+
:manname-title: NOM
|
179
|
+
:note-caption: Note
|
180
|
+
//:preface-title: Préface
|
181
|
+
:table-caption: Tableau
|
182
|
+
:tip-caption: Astuce
|
183
|
+
:toc-title: Table des matières
|
184
|
+
:untitled-label: Sans titre
|
185
|
+
:version-label: Version
|
186
|
+
:warning-caption: Attention
|
187
|
+
endif::[]
|
188
|
+
//
|
189
|
+
// Hungarian translation, courtesy of István Pató <istvan.pato@gmail.com>
|
190
|
+
ifeval::["{lang}" == "hu"]
|
191
|
+
:appendix-caption: függelék
|
192
|
+
:caution-caption: Figyelmeztetés
|
193
|
+
:example-caption: Példa
|
194
|
+
:figure-caption: Ábra
|
195
|
+
:important-caption: Fontos
|
196
|
+
:last-update-label: Utolsó frissítés
|
197
|
+
//:listing-caption: Lista
|
198
|
+
:manname-title: NÉV
|
199
|
+
:note-caption: Megjegyzés
|
200
|
+
//:preface-title: Előszó
|
201
|
+
:table-caption: Táblázat
|
202
|
+
:tip-caption: Tipp
|
203
|
+
:toc-title: Tartalomjegyzék
|
204
|
+
:untitled-label: Névtelen
|
205
|
+
:version-label: Verzió
|
206
|
+
:warning-caption: Figyelem
|
207
|
+
endif::[]
|
208
|
+
//
|
209
|
+
// Italian translation, courtesy of Marco Ciampa <ciampix@libero.it>
|
210
|
+
ifeval::["{lang}" == "it"]
|
211
|
+
:appendix-caption: Appendice
|
212
|
+
:caution-caption: Attenzione
|
213
|
+
:chapter-label: Capitolo
|
214
|
+
:example-caption: Esempio
|
215
|
+
:figure-caption: Figura
|
216
|
+
:important-caption: Importante
|
217
|
+
:last-update-label: Ultimo aggiornamento
|
218
|
+
//:listing-caption: Elenco
|
219
|
+
:manname-title: NOME
|
220
|
+
:note-caption: Nota
|
221
|
+
//:preface-title: Prefazione
|
222
|
+
:table-caption: Tabella
|
223
|
+
:tip-caption: Suggerimento
|
224
|
+
:toc-title: Indice
|
225
|
+
:untitled-label: Senza titolo
|
226
|
+
:version-label: Versione
|
227
|
+
:warning-caption: Attenzione
|
228
|
+
endif::[]
|
229
|
+
//
|
230
|
+
// Japanese translation, courtesy of Takayuki Konishi <seannos.takayuki@gmail.com>
|
231
|
+
ifeval::["{lang}" == "ja"]
|
232
|
+
:appendix-caption: 付録
|
233
|
+
:caution-caption: 注意
|
234
|
+
:example-caption: 例
|
235
|
+
:figure-caption: 図
|
236
|
+
:important-caption: 重要
|
237
|
+
:last-update-label: 最終更新
|
238
|
+
//:listing-caption: リスト
|
239
|
+
:manname-title: 名前
|
240
|
+
:note-caption: 注記
|
241
|
+
//:preface-title: まえがき
|
242
|
+
:table-caption: 表
|
243
|
+
:tip-caption: ヒント
|
244
|
+
:toc-title: 目次
|
245
|
+
:untitled-label: 無題
|
246
|
+
:version-label: バージョン
|
247
|
+
:warning-caption: 警告
|
248
|
+
endif::[]
|
249
|
+
//
|
250
|
+
// Korean translation, courtesy of Sungsik Nam <jmyl@me.com>
|
251
|
+
ifeval::["{lang}" == "kr"]
|
252
|
+
:appendix-caption: 부록
|
253
|
+
:caution-caption: 주의
|
254
|
+
:example-caption: 예시
|
255
|
+
:figure-caption: 그림
|
256
|
+
:important-caption: 중요
|
257
|
+
:last-update-label: 마지막 업데이트
|
258
|
+
//:listing-caption: 목록
|
259
|
+
:manname-title: 이름
|
260
|
+
:note-caption: 노트
|
261
|
+
//:preface-title: 머리말
|
262
|
+
:table-caption: 표
|
263
|
+
:tip-caption: 힌트
|
264
|
+
:toc-title: 차례
|
265
|
+
:untitled-label: 익명
|
266
|
+
:version-label: 버전
|
267
|
+
:warning-caption: 경고
|
268
|
+
endif::[]
|
269
|
+
//
|
270
|
+
// Dutch translation, courtesy of Roel Van Steenberghe <roel.vansteenberghe@gmail.com>
|
271
|
+
ifeval::["{lang}" == "nl"]
|
272
|
+
:appendix-caption: Bijlage
|
273
|
+
:caution-caption: Opgelet
|
274
|
+
:example-caption: Voorbeeld
|
275
|
+
:figure-caption: Figuur
|
276
|
+
:important-caption: Belangrijk
|
277
|
+
:last-update-label: Laatste aanpassing
|
278
|
+
//:listing-caption: Lijst
|
279
|
+
:manname-title: NAAM
|
280
|
+
:note-caption: Noot
|
281
|
+
//:preface-title: Inleiding
|
282
|
+
:table-caption: Tabel
|
283
|
+
:tip-caption: Tip
|
284
|
+
:toc-title: Ínhoudsopgave
|
285
|
+
:untitled-label: Naamloos
|
286
|
+
:version-label: Versie
|
287
|
+
:warning-caption: Waarschuwing
|
288
|
+
endif::[]
|
289
|
+
//
|
290
|
+
// Norwegian, courtesy of Aslak Knutsen <aslak@4fs.no>
|
291
|
+
ifeval::["{lang}" == "no"]
|
292
|
+
:appendix-caption: Vedlegg
|
293
|
+
:caution-caption: Forsiktig
|
294
|
+
:example-caption: Eksempel
|
295
|
+
:figure-caption: Figur
|
296
|
+
:important-caption: Viktig
|
297
|
+
:last-update-label: Sist oppdatert
|
298
|
+
//:listing-caption:
|
299
|
+
:manname-title: NAVN
|
300
|
+
:note-caption: Notat
|
301
|
+
//:preface-title:
|
302
|
+
:table-caption: Tabell
|
303
|
+
:tip-caption: Tips
|
304
|
+
:toc-title: Innholdsfortegnelse
|
305
|
+
:untitled-label: Navnløs
|
306
|
+
:version-label: Versjon
|
307
|
+
:warning-caption: Advarsel
|
308
|
+
endif::[]
|
309
|
+
//
|
310
|
+
// Portuguese translation, courtesy of Roberto Cortez <radcortez@yahoo.com>
|
311
|
+
ifeval::["{lang}" == "pt"]
|
312
|
+
:appendix-caption: Apêndice
|
313
|
+
:caution-caption: Atenção
|
314
|
+
:example-caption: Exemplo
|
315
|
+
:figure-caption: Figura
|
316
|
+
:important-caption: Importante
|
317
|
+
:last-update-label: Última actualização
|
318
|
+
//:listing-caption: Listagem
|
319
|
+
:manname-title: NOME
|
320
|
+
:note-caption: Nota
|
321
|
+
//:preface-title: Prefácio
|
322
|
+
:table-caption: Tabela
|
323
|
+
:tip-caption: Sugestão
|
324
|
+
:toc-title: Índice
|
325
|
+
:untitled-label: Sem título
|
326
|
+
:version-label: Versão
|
327
|
+
:warning-caption: Aviso
|
328
|
+
endif::[]
|
329
|
+
//
|
330
|
+
// Brazilian Portuguese translation, courtesy of Rafael Pestano <rmpestano@gmail.com>
|
331
|
+
ifeval::["{lang}" == "pt_BR"]
|
332
|
+
:appendix-caption: Apêndice
|
333
|
+
:caution-caption: Cuidado
|
334
|
+
:example-caption: Exemplo
|
335
|
+
:figure-caption: Figura
|
336
|
+
:important-caption: Importante
|
337
|
+
:last-update-label: Última atualização
|
338
|
+
//:listing-caption: Listagem
|
339
|
+
:manname-title: NOME
|
340
|
+
:note-caption: Nota
|
341
|
+
//:preface-title: Prefácio
|
342
|
+
:table-caption: Tabela
|
343
|
+
:tip-caption: Dica
|
344
|
+
:toc-title: Índice
|
345
|
+
:untitled-label: Sem título
|
346
|
+
:version-label: Versão
|
347
|
+
:warning-caption: Aviso
|
348
|
+
endif::[]
|
349
|
+
//
|
350
|
+
// Russian translation, courtesy of Alexander Zobkov <alexander.zobkov@gmail.com>
|
351
|
+
ifeval::["{lang}" == "ru"]
|
352
|
+
:appendix-caption: Приложение
|
353
|
+
:caution-caption: Внимание
|
354
|
+
:example-caption: Пример
|
355
|
+
:figure-caption: Рисунок
|
356
|
+
:important-caption: Важно
|
357
|
+
:last-update-label: Последний раз обновлено
|
358
|
+
//:listing-caption: Листинг
|
359
|
+
:manname-title: НАЗВАНИЕ
|
360
|
+
:note-caption: Примечание
|
361
|
+
//:preface-title: Предисловие
|
362
|
+
:table-caption: Таблица
|
363
|
+
:tip-caption: Подсказка
|
364
|
+
:toc-title: Содержание
|
365
|
+
:untitled-label: Без названия
|
366
|
+
:version-label: Версия
|
367
|
+
:warning-caption: Предупреждение
|
368
|
+
endif::[]
|
369
|
+
//
|
370
|
+
// Serbian Cyrillic translation, courtesy of Bojan Stipic <bojan-7@live.com>
|
371
|
+
ifeval::["{lang}" == "sr"]
|
372
|
+
:appendix-caption: Додатак
|
373
|
+
:caution-caption: Опрез
|
374
|
+
//:chapter-label: Поглавље
|
375
|
+
:example-caption: Пример
|
376
|
+
:figure-caption: Слика
|
377
|
+
:important-caption: Важно
|
378
|
+
:last-update-label: Последње ажурирано
|
379
|
+
//:listing-caption: Списак
|
380
|
+
:manname-title: НАЗИВ
|
381
|
+
:note-caption: Белешка
|
382
|
+
//:preface-title: Предговор
|
383
|
+
:table-caption: Табела
|
384
|
+
:tip-caption: Савет
|
385
|
+
:toc-title: Садржај
|
386
|
+
:untitled-label: Без назива
|
387
|
+
:version-label: Верзија
|
388
|
+
:warning-caption: Упозорење
|
389
|
+
endif::[]
|
390
|
+
//
|
391
|
+
// Serbian Latin translation, courtesy of Bojan Stipic <bojan-7@live.com>
|
392
|
+
ifeval::["{lang}" == "sr_Latn"]
|
393
|
+
:appendix-caption: Dodatak
|
394
|
+
:caution-caption: Oprez
|
395
|
+
//:chapter-label: Poglavlje
|
396
|
+
:example-caption: Primer
|
397
|
+
:figure-caption: Slika
|
398
|
+
:important-caption: Važno
|
399
|
+
:last-update-label: Poslednje ažurirano
|
400
|
+
//:listing-caption: Spisak
|
401
|
+
:manname-title: NAZIV
|
402
|
+
:note-caption: Beleška
|
403
|
+
//:preface-title: Predgovor
|
404
|
+
:table-caption: Tabela
|
405
|
+
:tip-caption: Savet
|
406
|
+
:toc-title: Sadržaj
|
407
|
+
:untitled-label: Bez naziva
|
408
|
+
:version-label: Verzija
|
409
|
+
:warning-caption: Upozorenje
|
410
|
+
endif::[]
|
411
|
+
//
|
412
|
+
// Turkish translation, courtesy of Rahman Usta <rahman.usta.88@gmail.com>
|
413
|
+
ifeval::["{lang}" == "tr"]
|
414
|
+
:appendix-caption: Ek bölüm
|
415
|
+
:caution-caption: Dikkat
|
416
|
+
:example-caption: Örnek
|
417
|
+
:figure-caption: Görsel
|
418
|
+
:important-caption: Önemli
|
419
|
+
:last-update-label: Son güncelleme
|
420
|
+
//:listing-caption: Listeleme
|
421
|
+
:manname-title: İSİM
|
422
|
+
:note-caption: Not
|
423
|
+
//:preface-title: Ön söz
|
424
|
+
:table-caption: Tablo
|
425
|
+
:tip-caption: İpucu
|
426
|
+
:toc-title: İçindekiler
|
427
|
+
:untitled-label: İsimsiz
|
428
|
+
:version-label: Versiyon
|
429
|
+
:warning-caption: Uyarı
|
430
|
+
endif::[]
|
431
|
+
//
|
432
|
+
// Simplified Chinese translation, courtesy of John Dong <dongwqs@gmail.com>
|
433
|
+
ifeval::["{lang}" == "zh_CN"]
|
434
|
+
:appendix-caption: 附录
|
435
|
+
:caution-caption: 注意
|
436
|
+
:example-caption: 示例
|
437
|
+
:figure-caption: 图表
|
438
|
+
:important-caption: 重要
|
439
|
+
:last-update-label: 最后更新
|
440
|
+
//:listing-caption: 列表
|
441
|
+
:manname-title: 名称
|
442
|
+
:note-caption: 笔记
|
443
|
+
//:preface-title: 序言
|
444
|
+
:table-caption: 表格
|
445
|
+
:tip-caption: 提示
|
446
|
+
:toc-title: 目录
|
447
|
+
:untitled-label: 暂无标题
|
448
|
+
:version-label: 版本
|
449
|
+
:warning-caption: 警告
|
450
|
+
endif::[]
|
451
|
+
//
|
452
|
+
// Traditional Chinese translation, courtesy of John Dong <dongwqs@gmail.com>
|
453
|
+
ifeval::["{lang}" == "zh_TW"]
|
454
|
+
:appendix-caption: 附錄
|
455
|
+
:caution-caption: 注意
|
456
|
+
:example-caption: 示例
|
457
|
+
:figure-caption: 圖表
|
458
|
+
:important-caption: 重要
|
459
|
+
:last-update-label: 最後更新
|
460
|
+
//:listing-caption: 列表
|
461
|
+
:manname-title: 名稱
|
462
|
+
:note-caption: 筆記
|
463
|
+
//:preface-title: 序言
|
464
|
+
:table-caption: 表格
|
465
|
+
:tip-caption: 提示
|
466
|
+
:toc-title: 目錄
|
467
|
+
:untitled-label: 暫無標題
|
468
|
+
:version-label: 版本
|
469
|
+
:warning-caption: 警告
|
470
|
+
endif::[]
|