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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae8326d324111eddacde180bd2f207e1bc0bfd632695836e732a058165a0ac00
4
- data.tar.gz: 27c06f4266e1e56a9c5c6ad1c86947361ee9c9cc8d32763af443329cebeea4be
3
+ metadata.gz: c415cde38b385b114b0de056cfc4235c6fbfdc0a0b189a7479c477ec4265e72a
4
+ data.tar.gz: cf171969c86a19aa9e846751564baf362e1d9fd2ab927c63f8f017c0f8de039e
5
5
  SHA512:
6
- metadata.gz: c42130c39f04726d9279edd8fe6bd9b93f55e02164161feb3cf84edfd74039e6e9fae94e4bed1f77612bc1c015f1dec90e015df4ded0f1bca11d7cf7eb8d1a6a
7
- data.tar.gz: 676647258232f12d900507468935812f72faaa43fd78f68af0c03aa33e2d2abb81cb0607a9ddb84f7e5f5f3cf67882f1ffc6703aa3c016659cee2053113b061e
6
+ metadata.gz: 4a1e07e2a597d176326d8547cebaf2424e43ba861912502f7e544a2ce74fab3567c9b1f9e87061c6586d7bfa1c1dbde764b7c50b7a3746f7b8548426f165c9f5
7
+ data.tar.gz: fb5b41022b045dd1ad09f09b5ffd98a512958186388ea1182d96c32367723925718ba49abe7dbaea84bf0c051a3121302a33bf0e302f5d1f25ca3068ba210be4
data/CHANGELOG.adoc CHANGED
@@ -11,11 +11,75 @@ endif::[]
11
11
  {uri-asciidoctor}[Asciidoctor] is a _fast_, open source text processor and publishing toolchain for converting {uri-asciidoc}[AsciiDoc] content into HTML 5, DocBook 5, and other formats.
12
12
 
13
13
  This document provides a high-level view of the changes introduced in Asciidoctor by release.
14
- For an even more detailed look at what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
14
+ For an even more detailed look at what has changed, refer to the {uri-repo}/commits/[commit history] on GitHub.
15
15
 
16
16
  This project utilizes semantic versioning.
17
17
 
18
18
  // tag::compact[]
19
+ == 2.0.18 (2022-10-15) - @mojavelinux
20
+
21
+ Improvements::
22
+
23
+ * Propagate `:to_dir` option to document of AsciiDoc table cell (#4297)
24
+ * Force encoding of attribute data passed via CLI to UTF-8 if transcoding fails (#4351) (*@zkaip*)
25
+ * Add include role to link macro that replaces include directive when include is not enabled
26
+
27
+ Bug Fixes::
28
+
29
+ * Change internal `uriish?` helper to only detect a URI pattern at start of a string; avoids misleading messages (#4357)
30
+ * Prevent highlight.js warning when no language is set on source block; don't call `highlightBlock` if `data-lang` attribute is absent (#4263)
31
+ * Don't raise error if `Asciidoctor::Extensions.unregister` is called before groups are initialized (#4270)
32
+ * If path is included both partially and fully, store it with true value (included fully) in includes table of document catalog
33
+ * Reset registry if activate is called on it again (#4256)
34
+ * Format source location in exception message when extension code is malformed
35
+ * Fix lineno on reader when `skip-front-matter` attribute is set but end of front matter is not found
36
+ * Fix `Asciidoctor::Cli::Invoker` constructor when first argument is a hash
37
+ * Update default stylesheet to honor marker on unordered list when marker is defined on ancestor unordered list (#4361)
38
+
39
+ === Details
40
+
41
+ {url-repo}/releases/tag/v2.0.18[git tag] | {url-repo}/compare/v2.0.17\...v2.0.18[source diff]
42
+ // end::compact[]
43
+
44
+ == 2.0.17 (2022-01-05) - @mojavelinux
45
+
46
+ Bug Fixes::
47
+
48
+ * Don't crash if process method for custom block returns an abstract block with context `:compound` that isn't of type `Block` (e.g., a list)
49
+ * Ignore return value of process method for custom block or block macro if value matches parent argument
50
+ * Remove unnamespaced selectors in Pygments stylesheet
51
+ * Normalize output from Pygments to use `linenos` class for inline line numbering and trim space after number; update default stylesheet accordingly
52
+ * Change `AbstractBlock#sections?` to return false when called on block that isn't a Section or Document (PR #3591) *@mogztter*
53
+ * Hide built-in marker on HTML summary element in Safari when using default stylesheet (#4162)
54
+ * Hide outline around HTML summary when activated in Safari (#4162)
55
+ * Include primary video in value of `playlist` attribute when embedding YouTube video (#4156)
56
+ * Honor `stripes=none` on nested table (#4165)
57
+ * Update default stylesheet to fix spacing around empty list item (#4184)
58
+ * Honor `:header_only` option when parsing document with manpage doctype (#4192)
59
+ * Use numeric character reference for closing square bracket around alt text of icon
60
+ * Process `author` or `authors` document attribute in document header when implicit doctitle is absent (#4206)
61
+ * Patch open-uri-cached gem to work with Ruby 3.1 (update: drop patch now that open-uri-cached has been fixed) (#4227)
62
+
63
+ Improvements::
64
+
65
+ * Prevent line numbers on source blocks in HTML output from being selected (applies to pygments and coderay) (#4128)
66
+ * Allow hash to be specified for Vimeo video either in video ID or using `hash` attribute (#4176)
67
+ * Remove unnecessary specificity in default stylesheet for styling p element inside list item
68
+ * Remove obsolete gist embed styles from default stylesheet
69
+ * Allow `--failure-level` to be set to default value, `FATAL`
70
+ * Sort levels in help for `--failure-level` option in ascending order
71
+ * Invert FR translations for caution & warning admonition labels (#4212) (*@cyChop*)
72
+ * Add tests for open-uri-cached integration that is activated by the `cache-uri` attribute
73
+ * Don't warn if negated tag is not found in include file (#4230)
74
+
75
+ Documentation::
76
+
77
+ * Document how to extend an existing converter or create a new converter (#4136)
78
+ * Document the syntax topic of the `--help` CLI option (#4175)
79
+ * Document how to uninstall the Asciidoctor gem (#4154)
80
+ * Document how to enable and use the sourcemap (the `:sourcemap` option)
81
+ * Document how to catalog additional assets (the `:catalog_assets` option)
82
+
19
83
  == 2.0.16 (2021-08-03) - @mojavelinux
20
84
 
21
85
  Bug Fixes::
@@ -26,7 +90,7 @@ Bug Fixes::
26
90
  * Don't crash if `:to_file` option is passed to `load` or `load_file` and value is not a string (#4055)
27
91
  * Use automatic link text if ID in shorthand xref is followed by dangling comma (e.g., `+<<idname,>>+`)
28
92
  * Update default stylesheet to indent blocks attached to list item in checklist (#2550)
29
- * Update default stylesheet to reenable styling of implicit lead role on first paragraph of preamble inside AsciiDoc table cell
93
+ * Update default stylesheet to re-enable styling of implicit lead role on first paragraph of preamble inside AsciiDoc table cell
30
94
  * Update default stylesheet to fix conflict between text decoration and bottom border on abbr[title] element
31
95
  * Change invalid font family "sans" in default stylesheet to "sans-serif"
32
96
  * Fix missing automatic reftext for internal xrefs in manpage output (#4110)
@@ -52,7 +116,6 @@ Build / Infrastructure::
52
116
  * Import source of default stylesheet into this repository; use PostCSS with cssnano to minify (#4062)
53
117
  * Use autoprefixer to manage browser prefixes in default stylesheet (#4118)
54
118
 
55
- // end::compact[]
56
119
  == 2.0.15 (2021-04-27) - @mojavelinux
57
120
 
58
121
  Bug Fixes::
@@ -137,7 +200,7 @@ Bug Fixes::
137
200
 
138
201
  * Set type and target property on unresolved footnote reference and unset id property (fixes regression) (#3825)
139
202
  * Fix crash when inlining an SVG if the explicit width or height value on the image node is not a string (#3829)
140
- * Reset word wrap behavior to normal on tables, then reenable again for admonition content, horizontal dlist description, and AsciiDoc table cells (#3833)
203
+ * Reset word wrap behavior to normal on tables, then re-enable again for admonition content, horizontal dlist description, and AsciiDoc table cells (#3833)
141
204
 
142
205
  Improvements::
143
206
 
@@ -686,7 +749,7 @@ Enhancements::
686
749
  * register document in catalog if id is set; assign reftext to document attributes if specified in a block attribute line (#2301, PR #2428)
687
750
  * allow automatic width to be applied to individual columns in a table using the special value `~` (#1844)
688
751
  * use the quote element in DocBook converter to represent smart quotes (#2272, PR #2356) (@bk2204)
689
- * parse and pass all manpage names to output document master (i.e., shadow man pages) (#1811, #2543, PR #2414)
752
+ * parse and pass all manpage names to output (i.e., shadow man pages) (#1811, #2543, PR #2414)
690
753
  * parse credit line of shorthand quote block as block attributes; apply normal subs to credit line in shorthand quote blocks (#1667, PR #2452)
691
754
  * populate copyright element in DocBook output from value of copyright attribute (#2728)
692
755
  * preserve directories if source dir and destination dir are set (#1394, PR #2421)
@@ -1016,7 +1079,7 @@ Compliance::
1016
1079
 
1017
1080
  * retain block content in items of callout list when converting to HTML and man page (#1478)
1018
1081
  * only substitute specialchars for content in literal table cells (#1912)
1019
- * fix operator logic for ifndef directive with multiple attributes (#1983)
1082
+ * fix operator logic for ifndef directive with multiple attributes to align with behavior of AsciiDoc.py; when attributes are separated by commas, content is only included if none of the attributes listed are set; when attributes are separated by pluses, content is included if at least one of the attributes is not set (#1983)
1020
1083
  * only recognize uniform underline for setext section title (#2083)
1021
1084
  * don't match headings with mixed leading characters (#2074)
1022
1085
  * fix layout break from matching lines it shouldn't
@@ -1139,7 +1202,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.5\...v1.5.6[full diff]
1139
1202
  Enhancements::
1140
1203
 
1141
1204
  * Add preference to limit the maximum size of an attribute value (#1861)
1142
- * Honor SOURCE_DATE_EPOCH environment variable to accomodate reproducible builds (#1721) (*@JojoBoulix*)
1205
+ * Honor SOURCE_DATE_EPOCH environment variable to accommodate reproducible builds (#1721) (*@JojoBoulix*)
1143
1206
  * Add reversed attribute to ordered list if reversed option is enabled (#1830)
1144
1207
  * Add support for additional docinfo locations (e.g., :header)
1145
1208
  * Configure default stylesheet to break monospace word if exceeds length of line using `word-wrap: break-word`; add `nobreak` and `nowrap` roles to prevent breaks (#1814)
@@ -1171,7 +1234,7 @@ Improvements::
1171
1234
 
1172
1235
  Compliance::
1173
1236
 
1174
- * Support 6-digit decimal char refs, 5-digit hexidecimal char refs (#1824)
1237
+ * Support 6-digit decimal char refs, 5-digit hexadecimal char refs (#1824)
1175
1238
  * Compatibility fixes for Opal
1176
1239
  * Check for number using Integer instead of Fixnum class for compatibility with Ruby 2.4
1177
1240
 
@@ -1188,7 +1251,7 @@ Bug Fixes::
1188
1251
 
1189
1252
  Infrastructure::
1190
1253
 
1191
- * Build gem properly in the absense of a git workspace, make compatible with JRuby (#1779)
1254
+ * Build gem properly in the absence of a git workspace, make compatible with JRuby (#1779)
1192
1255
  * Run tests in CI using latest versions of Ruby, including Ruby 2.3 (*@ferdinandrosario*)
1193
1256
 
1194
1257
  Distribution Packages::
@@ -1631,7 +1694,7 @@ Bug Fixes::
1631
1694
  Infrastructure::
1632
1695
 
1633
1696
  * add Ruby 2.1 to list of supported platforms
1634
- * reenable rbx in Travis build
1697
+ * re-enable rbx in Travis build
1635
1698
  * switch tests to minitest (*@ktdreyer*)
1636
1699
  * update RPM for Fedora Rawhide (*@ktdreyer*)
1637
1700
  * refactor unit tests so they work in RubyMine (*@cmoulliard*)
@@ -1937,7 +2000,7 @@ Compliance::
1937
2000
  * support limited value comparison functionality of ifeval (#83)
1938
2001
  * added support for multiple attributes in ifdef and ifndef directives
1939
2002
  * don't attempt to embed image with uri reference when data-uri is set (#157)
1940
- * accomodate trailing dot in author name (#156)
2003
+ * accommodate trailing dot in author name (#156)
1941
2004
  * don't hardcode language attribute in html backend (#185)
1942
2005
  * removed language from DocBook root node (#188)
1943
2006
  * fixed revinfo line swallowing attribute entry
data/README-de.adoc CHANGED
@@ -1,6 +1,5 @@
1
1
  = Asciidoctor
2
- Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.16, 2021-08-03
2
+ Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
4
3
  // settings:
5
4
  :idprefix:
6
5
  :idseparator: -
@@ -9,7 +8,6 @@ v2.0.16, 2021-08-03
9
8
  ifndef::env-github[:icons: font]
10
9
  ifdef::env-github[]
11
10
  :status:
12
- :outfilesuffix: .adoc
13
11
  :caution-caption: :fire:
14
12
  :important-caption: :exclamation:
15
13
  :note-caption: :paperclip:
@@ -17,7 +15,7 @@ ifdef::env-github[]
17
15
  :warning-caption: :warning:
18
16
  endif::[]
19
17
  // Variables:
20
- :release-version: 2.0.16
18
+ :release-version: 2.0.17
21
19
  // URIs:
22
20
  :uri-org: https://github.com/asciidoctor
23
21
  :uri-repo: {uri-org}/asciidoctor
@@ -33,8 +31,8 @@ ifdef::env-site[:uri-project: link:]
33
31
  :uri-rel-file-base: link:
34
32
  :uri-rel-tree-base: link:
35
33
  ifdef::env-site[]
36
- :uri-rel-file-base: {uri-repo}/blob/master/
37
- :uri-rel-tree-base: {uri-repo}/tree/master/
34
+ :uri-rel-file-base: {uri-repo}/blob/HEAD/
35
+ :uri-rel-tree-base: {uri-repo}/tree/HEAD/
38
36
  endif::[]
39
37
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
40
38
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -51,14 +49,13 @@ endif::[]
51
49
  :uri-render-doc: {uri-docs}/render-documents
52
50
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
53
51
  :uri-gitscm-repo: https://github.com/git/git-scm.com
54
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
55
52
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
56
53
  :uri-foundation: https://foundation.zurb.com
57
54
  :uri-opal: https://opalrb.com
58
55
  :uri-tilt: https://github.com/rtomayko/tilt
59
56
  :uri-ruby: https://ruby-lang.org
60
57
  // images:
61
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
58
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
62
59
 
63
60
  {uri-project}[Asciidoctor] ist ein _schneller_, {uri-license}[Open Source] Textverarbeitungs- und Publishing-Toolchain für die Konvertierung von {uri-what-is-asciidoc}[AsciiDoc]-Inhalten in HTML 5, DocBook 5, PDF und andere Formate.
64
61
  Asciidoctor ist in Ruby geschrieben und läuft auf allen gängigen Betriebsystemen.
@@ -88,8 +85,7 @@ ifdef::status[]
88
85
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
89
86
  image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
90
87
  image:https://github.com/asciidoctor/asciidoctor/workflows/CI/badge.svg[Build Status (GitHub Actions),link={uri-repo}/actions]
91
- image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
92
- image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/]
88
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat (Zulip),link={uri-chat}]
93
89
  endif::[]
94
90
 
95
91
  == Sponsoren
@@ -460,7 +456,7 @@ Siehe die {uri-license}[LIZENZ] für den vollen Lizenztext.
460
456
  == Authoren
461
457
 
462
458
  *Asciidoctor* wird von https://github.com/mojavelinux[Dan Allen] und https://github.com/graphitefriction[Sarah White] geleitet und hat Beiträge von {uri-contributors}[vielen Personen] in Asciidoctors großartiger Gemeinschaft erhalten.
463
- Das Projekt wurde 2012 von https://github.com/erebor[Ryan Waldron] initiiert und basiert auf einem {uri-prototype}[Prototyp] von https://github.com/nickh[Nick Hengeveld].
459
+ Das Projekt wurde 2012 von https://github.com/erebor[Ryan Waldron] initiiert und basiert auf einem prototyp von https://github.com/nickh[Nick Hengeveld].
464
460
 
465
461
  *AsciiDoc* wurde von Stuart Rackham gegründet und hat Beiträge von vielen Personen aus der AsciiDoc-Community erhalten.
466
462
 
data/README-fr.adoc CHANGED
@@ -1,6 +1,5 @@
1
1
  = Asciidoctor
2
- Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.16, 2021-08-03
2
+ Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
4
3
  // settings:
5
4
  :idprefix:
6
5
  :idseparator: -
@@ -9,7 +8,6 @@ v2.0.16, 2021-08-03
9
8
  ifndef::env-github[:icons: font]
10
9
  ifdef::env-github[]
11
10
  :status:
12
- :outfilesuffix: .adoc
13
11
  :caution-caption: :fire:
14
12
  :important-caption: :exclamation:
15
13
  :note-caption: :paperclip:
@@ -17,7 +15,7 @@ ifdef::env-github[]
17
15
  :warning-caption: :warning:
18
16
  endif::[]
19
17
  // Variables:
20
- :release-version: 2.0.16
18
+ :release-version: 2.0.17
21
19
  // URIs:
22
20
  :uri-org: https://github.com/asciidoctor
23
21
  :uri-repo: {uri-org}/asciidoctor
@@ -33,8 +31,8 @@ ifdef::env-site[:uri-project: link:]
33
31
  :uri-rel-file-base: link:
34
32
  :uri-rel-tree-base: link:
35
33
  ifdef::env-site[]
36
- :uri-rel-file-base: {uri-repo}/blob/master/
37
- :uri-rel-tree-base: {uri-repo}/tree/master/
34
+ :uri-rel-file-base: {uri-repo}/blob/HEAD/
35
+ :uri-rel-tree-base: {uri-repo}/tree/HEAD/
38
36
  endif::[]
39
37
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
40
38
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -51,13 +49,12 @@ endif::[]
51
49
  :uri-render-doc: {uri-docs}/render-documents
52
50
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
53
51
  :uri-gitscm-repo: https://github.com/git/git-scm.com
54
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
55
52
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
56
53
  :uri-foundation: https://foundation.zurb.com
57
54
  :uri-tilt: https://github.com/rtomayko/tilt
58
55
  :uri-ruby: https://ruby-lang.org
59
56
  // images:
60
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
57
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
61
58
 
62
59
  {uri-project}/[Asciidoctor] est un processeur de texte et une chaîne de publication _rapide_ et {uri-license}[open source] permettant de convertir du contenu {uri-what-is-asciidoc}[AsciiDoc] en HTML 5, DocBook 5, PDF et d'autres formats.
63
60
  Asciidoctor est écrit en Ruby et fonctionne sur les principaux systèmes d'exploitation.
@@ -85,8 +82,7 @@ ifdef::status[]
85
82
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
86
83
  image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
87
84
  image:https://github.com/asciidoctor/asciidoctor/workflows/CI/badge.svg[Build Status (GitHub Actions),link={uri-repo}/actions]
88
- image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
89
- image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/]
85
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat,link={uri-chat}]
90
86
  endif::[]
91
87
 
92
88
  == Sponsors
@@ -426,7 +422,7 @@ Consultez le fichier {uri-license}[LICENSE] pour plus de détails.
426
422
  == Auteurs
427
423
 
428
424
  *Asciidoctor* est mené par https://github.com/mojavelinux[Dan Allen] et https://github.com/graphitefriction[Sarah White] et reçoit de nombreuses contributions de la part de la {uri-contributors}[géniale communauté] Asciidoctor.
429
- Le projet a été initié en 2012 par https://github.com/erebor[Ryan Waldron] et est basé sur {uri-prototype}[un prototype] écrit par https://github.com/nickh[Nick Hengeveld].
425
+ Le projet a été initié en 2012 par https://github.com/erebor[Ryan Waldron] et est basé sur un prototype écrit par https://github.com/nickh[Nick Hengeveld].
430
426
 
431
427
  *AsciiDoc* a été démarré par Stuart Rackham et a reçu de nombreuses contributions de la part de la communauté AsciiDoc.
432
428
 
data/README-jp.adoc CHANGED
@@ -1,6 +1,5 @@
1
1
  = Asciidoctor
2
- Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.16, 2021-08-03
2
+ Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
4
3
  // settings:
5
4
  :idprefix:
6
5
  :idseparator: -
@@ -9,7 +8,6 @@ v2.0.16, 2021-08-03
9
8
  ifndef::env-github[:icons: font]
10
9
  ifdef::env-github[]
11
10
  :status:
12
- :outfilesuffix: .adoc
13
11
  :caution-caption: :fire:
14
12
  :important-caption: :exclamation:
15
13
  :note-caption: :paperclip:
@@ -17,7 +15,7 @@ ifdef::env-github[]
17
15
  :warning-caption: :warning:
18
16
  endif::[]
19
17
  // Variables:
20
- :release-version: 2.0.16
18
+ :release-version: 2.0.17
21
19
  // URIs:
22
20
  :uri-org: https://github.com/asciidoctor
23
21
  :uri-repo: {uri-org}/asciidoctor
@@ -37,8 +35,8 @@ ifdef::env-site[:uri-project: link:]
37
35
  :uri-rel-file-base: link:
38
36
  :uri-rel-tree-base: link:
39
37
  ifdef::env-site,env-yard[]
40
- :uri-rel-file-base: {uri-repo}/blob/master/
41
- :uri-rel-tree-base: {uri-repo}/tree/master/
38
+ :uri-rel-file-base: {uri-repo}/blob/HEAD/
39
+ :uri-rel-tree-base: {uri-repo}/tree/HEAD/
42
40
  endif::[]
43
41
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
44
42
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -55,14 +53,13 @@ endif::[]
55
53
  :uri-convert-doc: {uri-docs}/convert-documents
56
54
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
57
55
  :uri-gitscm-repo: https://github.com/git/git-scm.com
58
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
59
56
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
60
57
  :uri-foundation: https://foundation.zurb.com
61
58
  :uri-opal: https://opalrb.com
62
59
  :uri-tilt: https://github.com/rtomayko/tilt
63
60
  :uri-ruby: https://www.ruby-lang.org
64
61
  // images:
65
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
62
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
66
63
 
67
64
  {uri-project}[Asciidoctor]は, {uri-what-is-asciidoc}[AsciiDoc] で書かれたコンテンツをHTML5, DocBook, PDFなどのフォーマットに変換する, _高速で_ {uri-license}[オープンソース] のテキストプロセッサおよびパブリッシングツールチェインです.
68
65
  AsciidoctorはRubyで書かれており, すべての主要オペレーティングシステムで動作します.
@@ -70,7 +67,7 @@ Asciidoctorプロジェクトは {uri-repo}[GitHubにホスティング] され
70
67
 
71
68
  インストールをシンプルにするため, AsciidoctorはRubyGem(gem)パッケージとして, {uri-rubygem}[RubyGems.org] で配布されています.
72
69
  さらに, Asciidoctorは主要なLinuxディストリビューション用およびmacOS用パッケージとしても配布されています.
73
- AsciidctorはRubyで動作するだけでなく, {uri-asciidoctorj}[AsciidoctorJ]としてJVM上でも動作します. また, {uri-asciidoctorjs}[Asciidoctor.js]としてどのようなJavaScript環境(ブラウザを含む)でも実行できます.
70
+ AsciidoctorはRubyで動作するだけでなく, {uri-asciidoctorj}[AsciidoctorJ]としてJVM上でも動作します. また, {uri-asciidoctorjs}[Asciidoctor.js]としてどのようなJavaScript環境(ブラウザを含む)でも実行できます.
74
71
 
75
72
  ifndef::env-site,env-yard[]
76
73
  このドキュメントには以下の言語版が存在します: +
@@ -94,8 +91,7 @@ ifdef::status[]
94
91
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
95
92
  image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
96
93
  image:https://github.com/asciidoctor/asciidoctor/workflows/CI/badge.svg[Build Status (GitHub Actions),link={uri-repo}/actions]
97
- image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
98
- image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/]
94
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat,link={uri-chat}]
99
95
  endif::[]
100
96
 
101
97
  == スポンサー
@@ -460,7 +456,7 @@ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individ
460
456
  == 作者
461
457
 
462
458
  *Asciidoctor* は https://github.com/mojavelinux[Dan Allen] と https://github.com/graphitefriction[Sarah White] がリードし, Asciidoctorの素晴らしきコミュニティの {uri-contributors}[数多くのメンバ] からコントリビューションを受けてきました.
463
- このプロジェクトは https://github.com/nickh[Nick Hengeveld] {uri-prototype}[プロトタイプ] をベースに https://github.com/erebor[Ryan Waldron] により2012年から創始されました.
459
+ このプロジェクトは https://github.com/nickh[Nick Hengeveld] のプロトタイプをベースに https://github.com/erebor[Ryan Waldron] により2012年から創始されました.
464
460
 
465
461
  *AsciiDoc* は Stuart Rackham により創始され, AsciiDocコミュニティの数多くのメンバからコントリビューションを受けてきました.
466
462
 
data/README-zh_CN.adoc CHANGED
@@ -1,6 +1,5 @@
1
1
  = Asciidoctor
2
- Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.16, 2021-08-03
2
+ Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
4
3
  // settings:
5
4
  :page-layout: base
6
5
  :idprefix:
@@ -10,7 +9,6 @@ v2.0.16, 2021-08-03
10
9
  ifndef::env-github[:icons: font]
11
10
  ifdef::env-github[]
12
11
  :status:
13
- :outfilesuffix: .adoc
14
12
  :caution-caption: :fire:
15
13
  :important-caption: :exclamation:
16
14
  :note-caption: :paperclip:
@@ -18,7 +16,7 @@ ifdef::env-github[]
18
16
  :warning-caption: :warning:
19
17
  endif::[]
20
18
  // Variables:
21
- :release-version: 2.0.16
19
+ :release-version: 2.0.17
22
20
  // URIs:
23
21
  :uri-org: https://github.com/asciidoctor
24
22
  :uri-repo: {uri-org}/asciidoctor
@@ -34,8 +32,8 @@ ifdef::env-site[:uri-project: link:]
34
32
  :uri-rel-file-base: link:
35
33
  :uri-rel-tree-base: link:
36
34
  ifdef::env-site[]
37
- :uri-rel-file-base: {uri-repo}/blob/master/
38
- :uri-rel-tree-base: {uri-repo}/tree/master/
35
+ :uri-rel-file-base: {uri-repo}/blob/HEAD/
36
+ :uri-rel-tree-base: {uri-repo}/tree/HEAD/
39
37
  endif::[]
40
38
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
41
39
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -52,13 +50,12 @@ endif::[]
52
50
  :uri-render-doc: {uri-docs}/render-documents
53
51
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
54
52
  :uri-gitscm-repo: https://github.com/git/git-scm.com
55
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
56
53
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
57
54
  :uri-foundation: https://foundation.zurb.com
58
55
  :uri-tilt: https://github.com/rtomayko/tilt
59
56
  :uri-ruby: https://ruby-lang.org
60
57
  // images:
61
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
58
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
62
59
 
63
60
  {uri-project}/[Asciidoctor] 是一个 _快速_ 文本处理器和发布工具链,它可以将 {uri-what-is-asciidoc}[AsciiDoc] 文档转化成 HTML 5、 DocBook 5 以及其他格式。
64
61
  Asciidoctor 由 Ruby 编写,打包成 RubyGem,然后发布到 {uri-rubygem}[RubyGems.org] 上。
@@ -82,8 +79,7 @@ ifdef::status[]
82
79
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
83
80
  image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
84
81
  image:https://github.com/asciidoctor/asciidoctor/workflows/CI/badge.svg[Build Status (GitHub Actions),link={uri-repo}/actions]
85
- image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
86
- image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/]
82
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat,link={uri-chat}]
87
83
  endif::[]
88
84
 
89
85
  .Ruby 所至, Asciidoctor 相随
@@ -420,7 +416,7 @@ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individ
420
416
  == 作者
421
417
 
422
418
  *Asciidoctor* 由 https://github.com/mojavelinux[Dan Allen] 和 https://github.com/graphitefriction[Sarah White] 领导,并从 Asciidoctor 社区的 {uri-contributors}[很多其他独立开发者] 上收到了很多贡献。
423
- 项目最初由 https://github.com/erebor[Ryan Waldron] 于 2012年基于 https://github.com/nickh[Nick Hengeveld] 的 {uri-prototype}[原型] 创建。
419
+ 项目最初由 https://github.com/erebor[Ryan Waldron] 于 2012年基于 https://github.com/nickh[Nick Hengeveld] 的原型创建。
424
420
 
425
421
  *AsciiDoc* 由 Stuart Rackham 启动,并从 AsciiDoc 社区的其他独立开发者上收到很多贡献。
426
422
 
data/README.adoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = Asciidoctor
2
- Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.16, 2021-08-03
2
+ Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
3
+ v2.0.18, 2022-10-15
4
4
  // settings:
5
5
  :idprefix:
6
6
  :idseparator: -
@@ -9,7 +9,6 @@ v2.0.16, 2021-08-03
9
9
  ifndef::env-github[:icons: font]
10
10
  ifdef::env-github[]
11
11
  :status:
12
- :outfilesuffix: .adoc
13
12
  :caution-caption: :fire:
14
13
  :important-caption: :exclamation:
15
14
  :note-caption: :paperclip:
@@ -17,7 +16,7 @@ ifdef::env-github[]
17
16
  :warning-caption: :warning:
18
17
  endif::[]
19
18
  // Variables:
20
- :release-version: 2.0.16
19
+ :release-version: 2.0.17
21
20
  // URLs:
22
21
  :url-org: https://github.com/asciidoctor
23
22
  :url-repo: {url-org}/asciidoctor
@@ -36,8 +35,8 @@ ifdef::env-site[:url-project: link:]
36
35
  :url-rel-file-base: link:
37
36
  :url-rel-tree-base: link:
38
37
  ifdef::env-site,env-yard[]
39
- :url-rel-file-base: {url-repo}/blob/master/
40
- :url-rel-tree-base: {url-repo}/tree/master/
38
+ :url-rel-file-base: {url-repo}/blob/HEAD/
39
+ :url-rel-tree-base: {url-repo}/tree/HEAD/
41
40
  endif::[]
42
41
  :url-changelog: {url-rel-file-base}CHANGELOG.adoc
43
42
  :url-contribute: {url-rel-file-base}CONTRIBUTING.adoc
@@ -51,9 +50,8 @@ endif::[]
51
50
  :url-opal: https://opalrb.com
52
51
  :url-tilt: https://github.com/rtomayko/tilt
53
52
  :url-ruby: https://www.ruby-lang.org
54
- //:url-prototype: https://github.com/git/git-scm.com/commits/master/lib/asciidoc.rb This page doesn't exist anymore.
55
53
  // images:
56
- :image-url-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
54
+ :image-url-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
57
55
 
58
56
  {url-project}[Asciidoctor] is a fast, open source, Ruby-based text processor for parsing AsciiDoc(R) into a document model and converting it to output formats such as HTML 5, DocBook 5, manual pages, PDF, EPUB 3, and other formats.
59
57
 
@@ -83,9 +81,6 @@ ifdef::status[]
83
81
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={url-rubygem}]
84
82
  image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
85
83
  image:https://github.com/asciidoctor/asciidoctor/workflows/CI/badge.svg[Build Status (GitHub Actions),link={url-repo}/actions]
86
- //image:https://img.shields.io/coveralls/asciidoctor/asciidoctor/master.svg[Code Coverage,link=https://coveralls.io/r/asciidoctor/asciidoctor]
87
- //image:https://codeclimate.com/github/asciidoctor/asciidoctor/badges/gpa.svg[Code Climate,link=https://codeclimate.com/github/asciidoctor/asciidoctor]
88
- //image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Docs Coverage,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
89
84
  image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat (Zulip),link={url-chat}]
90
85
  endif::[]
91
86
 
@@ -155,7 +150,7 @@ Asciidoctor works best when you use UTF-8 everywhere.
155
150
 
156
151
  Asciidoctor is packaged and distributed to RubyGems.org as a RubyGem (aka gem) named {url-rubygem}[asciidoctor^].
157
152
  The asciidoctor gem can be installed on all major operating systems using Ruby packaging tools (gem or bundle).
158
- Asciidoctor is also distributed as a Docker image, as a package for numerous Linux distributions, and as a package for macOS (via Homebrew).
153
+ Asciidoctor is also distributed as a Docker image, as a package for numerous Linux distributions, and as a package for macOS (via Homebrew and MacPorts).
159
154
 
160
155
  === Linux package managers
161
156
 
@@ -197,17 +192,30 @@ To install the package, open a terminal and type:
197
192
 
198
193
  $ sudo dnf install -y asciidoctor
199
194
 
200
- === Homebrew (macOS)
195
+ === macOS
196
+
197
+ ==== Homebrew
198
+
199
+ You can use https://brew.sh[Homebrew], the macOS package manager, to install Asciidoctor.
200
+ If you don't have Homebrew on your computer, complete the https://brew.sh[installation instructions] first.
201
201
 
202
- You can use Homebrew, the macOS package manager, to install Asciidoctor.
203
- If you don’t have Homebrew on your computer, complete the installation instructions at https://brew.sh/[brew.sh] first.
204
- Once Homebrew is installed, you’re ready to install the `asciidoctor` gem.
202
+ Once Homebrew is installed, you're ready to install the `asciidoctor` gem.
205
203
  Open a terminal and type:
206
204
 
207
205
  $ brew install asciidoctor
208
206
 
209
207
  Homebrew installs the `asciidoctor` gem into an exclusive prefix that's independent of system gems.
210
208
 
209
+ ==== MacPorts
210
+
211
+ You can also use https://www.macports.org[MacPorts], another package manager for macOS, to install Asciidoctor.
212
+ If you don't have MacPorts on your computer, complete the https://www.macports.org/install.php[installation instructions] first.
213
+
214
+ Once MacPorts is installed, you're ready to install the `asciidoctor` gem via the https://ports.macports.org/port/asciidoctor/[Asciidoctor port].
215
+ Open a terminal and type:
216
+
217
+ $ sudo port install asciidoctor
218
+
211
219
  === Windows
212
220
 
213
221
  To use Asciidoctor with Windows, you have two options.
@@ -297,6 +305,13 @@ To upgrade the gem, use:
297
305
  $ brew update
298
306
  $ brew upgrade asciidoctor
299
307
 
308
+ === MacPorts (macOS)
309
+
310
+ To upgrade the gem, use:
311
+
312
+ $ sudo port selfupdate
313
+ $ sudo port upgrade asciidoctor
314
+
300
315
  === gem install
301
316
 
302
317
  If you previously installed Asciidoctor using the `gem` command, you'll need to manually upgrade Asciidoctor when a new version is released.
@@ -452,7 +467,7 @@ Asciidoctor organization on GitHub:: {url-org}
452
467
 
453
468
  == Code of Conduct
454
469
 
455
- The core Asciidoctor project is governed by the https://github.com/asciidoctor/.github/blob/main/CODE-OF-CONDUCT.md[Code of Conduct] for the Asciidoctor community of projects.
470
+ The core Asciidoctor project is governed by the https://github.com/asciidoctor/.github/blob/HEAD/CODE-OF-CONDUCT.md[Code of Conduct] for the Asciidoctor community of projects.
456
471
  By participating, you're agreeing to honor this code.
457
472
  Let's work together to make this a welcoming, professional, inclusive, and safe environment for everyone.
458
473
 
@@ -474,7 +489,7 @@ See the {url-license}[LICENSE] for the full license text.
474
489
  *Asciidoctor* is led by https://github.com/mojavelinux[Dan Allen] and https://github.com/graphitefriction[Sarah White] and has received contributions from {url-contributors}[many individuals] in Asciidoctor's awesome community.
475
490
  The project was initiated in 2012 by https://github.com/erebor[Ryan Waldron] based on a prototype written by https://github.com/nickh[Nick Hengeveld] for the Git website.
476
491
 
477
- *AsciiDoc.py* was started and maintained by Stuart Rackham from https://github.com/asciidoc-py/asciidoc-py2/blob/master/CHANGELOG.txt[2002 to 2013] and has received contributions from many individuals in the https://github.com/asciidoc-py/asciidoc-py2/graphs/contributors[AsciiDoc.py community].
492
+ *AsciiDoc.py* was started and maintained by Stuart Rackham from https://github.com/asciidoc-py/asciidoc-py2/blob/HEAD/CHANGELOG.txt[2002 to 2013] and has received contributions from many individuals in the https://github.com/asciidoc-py/asciidoc-py2/graphs/contributors[AsciiDoc.py community].
478
493
 
479
494
  == Trademarks
480
495
 
data/asciidoctor.gemspec CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |s|
17
17
  #s.required_ruby_version = '>= 2.3.0'
18
18
  s.metadata = {
19
19
  'bug_tracker_uri' => 'https://github.com/asciidoctor/asciidoctor/issues',
20
- 'changelog_uri' => 'https://github.com/asciidoctor/asciidoctor/blob/master/CHANGELOG.adoc',
21
- 'mailing_list_uri' => 'http://discuss.asciidoctor.org',
20
+ 'changelog_uri' => 'https://github.com/asciidoctor/asciidoctor/blob/HEAD/CHANGELOG.adoc',
21
+ 'mailing_list_uri' => 'https://chat.asciidoctor.org',
22
22
  'source_code_uri' => 'https://github.com/asciidoctor/asciidoctor'
23
23
  }
24
24
 
@@ -1,7 +1,7 @@
1
1
  // French translation, courtesy of Nicolas Comet <nicolas.comet@gmail.com> with updates from Maheva Bagard Laursen <mblaursen@gbif.org>
2
2
  :appendix-caption: Annexe
3
3
  :appendix-refsig: {appendix-caption}
4
- :caution-caption: Avertissement
4
+ :caution-caption: Attention
5
5
  :chapter-signifier: Chapitre
6
6
  :chapter-refsig: {chapter-signifier}
7
7
  :example-caption: Exemple
@@ -20,4 +20,4 @@ ifdef::preface-title[:preface-title: Préface]
20
20
  :toc-title: Table des matières
21
21
  :untitled-label: Sans titre
22
22
  :version-label: Version
23
- :warning-caption: Attention
23
+ :warning-caption: Avertissement