asciidoctor 2.0.16 → 2.0.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae8326d324111eddacde180bd2f207e1bc0bfd632695836e732a058165a0ac00
4
- data.tar.gz: 27c06f4266e1e56a9c5c6ad1c86947361ee9c9cc8d32763af443329cebeea4be
3
+ metadata.gz: c33baadb7f5d28211bbb55b0b2b002159d57d483d35d17fe1b11d72dd4389e53
4
+ data.tar.gz: db81a673d28035c721612ab1c4f9d23e005a824384ac0ba1b1983e9e817d44e6
5
5
  SHA512:
6
- metadata.gz: c42130c39f04726d9279edd8fe6bd9b93f55e02164161feb3cf84edfd74039e6e9fae94e4bed1f77612bc1c015f1dec90e015df4ded0f1bca11d7cf7eb8d1a6a
7
- data.tar.gz: 676647258232f12d900507468935812f72faaa43fd78f68af0c03aa33e2d2abb81cb0607a9ddb84f7e5f5f3cf67882f1ffc6703aa3c016659cee2053113b061e
6
+ metadata.gz: a1fae45fddd3696607f9337f35222ecfad106aa295d2f328b54af5c21404ddb0c59baf6424b180bf46e4fed36fa28a6042f2d90310bb8acea01da4790a80ba3f
7
+ data.tar.gz: 0d65fb85055130df297d9ed12a63d68d03d5876c5b09f84d052396e793dada3a9406217969ac6574a3404b62113fb3afa7da235f6692ef2c1651904ecba00c71
data/CHANGELOG.adoc CHANGED
@@ -11,11 +11,51 @@ 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.17 (2022-01-05) - @mojavelinux
20
+
21
+ Bug Fixes::
22
+
23
+ * 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)
24
+ * Ignore return value of process method for custom block or block macro if value matches parent argument
25
+ * Remove unnamespaced selectors in Pygments stylesheet
26
+ * Normalize output from Pygments to use `linenos` class for inline line numbering and trim space after number; update default stylesheet accordingly
27
+ * Change `AbstractBlock#sections?` to return false when called on block that isn't a Section or Document (PR #3591) *@mogztter*
28
+ * Hide built-in marker on HTML summary element in Safari when using default stylesheet (#4162)
29
+ * Hide outline around HTML summary when activated in Safari (#4162)
30
+ * Include primary video in value of `playlist` attribute when embeddding YouTube video (#4156)
31
+ * Honor stripes=none on nested table (#4165)
32
+ * Update default stylesheet to fix spacing around empty list item (#4184)
33
+ * Honor `:header_only` option when parsing document with manpage doctype (#4192)
34
+ * Use numeric character reference for closing square bracket around alt text of icon
35
+ * Process author or authors document attribute in document header when implicit doctitle is absent (#4206)
36
+ * Patch open-uri-cached gem to work with Ruby 3.1 (update: drop patch now that open-uri-cached has been fixed) (#4227)
37
+
38
+ Improvements::
39
+
40
+ * Prevent line numbers on source blocks in HTML output from being selected (applies to pygments and coderay) (#4128)
41
+ * Allow hash to be specified for Vimeo video either in video ID or using `hash` attribute (#4176)
42
+ * Remove unnecessary specificity in default stylesheet for styling p element inside list item
43
+ * Remove obsolete gist embed styles from default stylesheet
44
+ * Allow `--failure-level` to be set to default value, `FATAL`
45
+ * Sort levels in help for `--failure-level` option in ascending order
46
+ * Invert FR translations for caution & warning admonition labels (#4212) (*cyChop*)
47
+ * Add tests for open-uri-cached integration that is activated by the `cache-uri` attribute
48
+ * Don't warn if negated tag is not found in include file (#4230)
49
+
50
+ Documentation::
51
+
52
+ * Document how to extend an existing converter or create a new converter (#4136)
53
+ * Document the syntax topic of the `--help` CLI option (#4175)
54
+ * Document how to uninstall the Asciidoctor gem (#4154)
55
+ * Document how to enable and use the sourcemap (the `:sourcemap` option)
56
+ * Document how to catalog additional assets (the `:catalog_assets` option)
57
+
58
+ // end::compact[]
19
59
  == 2.0.16 (2021-08-03) - @mojavelinux
20
60
 
21
61
  Bug Fixes::
@@ -26,7 +66,7 @@ Bug Fixes::
26
66
  * Don't crash if `:to_file` option is passed to `load` or `load_file` and value is not a string (#4055)
27
67
  * Use automatic link text if ID in shorthand xref is followed by dangling comma (e.g., `+<<idname,>>+`)
28
68
  * 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
69
+ * Update default stylesheet to re-enable styling of implicit lead role on first paragraph of preamble inside AsciiDoc table cell
30
70
  * Update default stylesheet to fix conflict between text decoration and bottom border on abbr[title] element
31
71
  * Change invalid font family "sans" in default stylesheet to "sans-serif"
32
72
  * Fix missing automatic reftext for internal xrefs in manpage output (#4110)
@@ -52,7 +92,6 @@ Build / Infrastructure::
52
92
  * Import source of default stylesheet into this repository; use PostCSS with cssnano to minify (#4062)
53
93
  * Use autoprefixer to manage browser prefixes in default stylesheet (#4118)
54
94
 
55
- // end::compact[]
56
95
  == 2.0.15 (2021-04-27) - @mojavelinux
57
96
 
58
97
  Bug Fixes::
@@ -137,7 +176,7 @@ Bug Fixes::
137
176
 
138
177
  * Set type and target property on unresolved footnote reference and unset id property (fixes regression) (#3825)
139
178
  * 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)
179
+ * Reset word wrap behavior to normal on tables, then re-enable again for admonition content, horizontal dlist description, and AsciiDoc table cells (#3833)
141
180
 
142
181
  Improvements::
143
182
 
@@ -686,7 +725,7 @@ Enhancements::
686
725
  * register document in catalog if id is set; assign reftext to document attributes if specified in a block attribute line (#2301, PR #2428)
687
726
  * allow automatic width to be applied to individual columns in a table using the special value `~` (#1844)
688
727
  * 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)
728
+ * parse and pass all manpage names to output (i.e., shadow man pages) (#1811, #2543, PR #2414)
690
729
  * parse credit line of shorthand quote block as block attributes; apply normal subs to credit line in shorthand quote blocks (#1667, PR #2452)
691
730
  * populate copyright element in DocBook output from value of copyright attribute (#2728)
692
731
  * preserve directories if source dir and destination dir are set (#1394, PR #2421)
@@ -1016,7 +1055,7 @@ Compliance::
1016
1055
 
1017
1056
  * retain block content in items of callout list when converting to HTML and man page (#1478)
1018
1057
  * only substitute specialchars for content in literal table cells (#1912)
1019
- * fix operator logic for ifndef directive with multiple attributes (#1983)
1058
+ * 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
1059
  * only recognize uniform underline for setext section title (#2083)
1021
1060
  * don't match headings with mixed leading characters (#2074)
1022
1061
  * fix layout break from matching lines it shouldn't
@@ -1139,7 +1178,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.5\...v1.5.6[full diff]
1139
1178
  Enhancements::
1140
1179
 
1141
1180
  * 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*)
1181
+ * Honor SOURCE_DATE_EPOCH environment variable to accommodate reproducible builds (#1721) (*@JojoBoulix*)
1143
1182
  * Add reversed attribute to ordered list if reversed option is enabled (#1830)
1144
1183
  * Add support for additional docinfo locations (e.g., :header)
1145
1184
  * 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 +1210,7 @@ Improvements::
1171
1210
 
1172
1211
  Compliance::
1173
1212
 
1174
- * Support 6-digit decimal char refs, 5-digit hexidecimal char refs (#1824)
1213
+ * Support 6-digit decimal char refs, 5-digit hexadecimal char refs (#1824)
1175
1214
  * Compatibility fixes for Opal
1176
1215
  * Check for number using Integer instead of Fixnum class for compatibility with Ruby 2.4
1177
1216
 
@@ -1188,7 +1227,7 @@ Bug Fixes::
1188
1227
 
1189
1228
  Infrastructure::
1190
1229
 
1191
- * Build gem properly in the absense of a git workspace, make compatible with JRuby (#1779)
1230
+ * Build gem properly in the absence of a git workspace, make compatible with JRuby (#1779)
1192
1231
  * Run tests in CI using latest versions of Ruby, including Ruby 2.3 (*@ferdinandrosario*)
1193
1232
 
1194
1233
  Distribution Packages::
@@ -1631,7 +1670,7 @@ Bug Fixes::
1631
1670
  Infrastructure::
1632
1671
 
1633
1672
  * add Ruby 2.1 to list of supported platforms
1634
- * reenable rbx in Travis build
1673
+ * re-enable rbx in Travis build
1635
1674
  * switch tests to minitest (*@ktdreyer*)
1636
1675
  * update RPM for Fedora Rawhide (*@ktdreyer*)
1637
1676
  * refactor unit tests so they work in RubyMine (*@cmoulliard*)
@@ -1937,7 +1976,7 @@ Compliance::
1937
1976
  * support limited value comparison functionality of ifeval (#83)
1938
1977
  * added support for multiple attributes in ifdef and ifndef directives
1939
1978
  * don't attempt to embed image with uri reference when data-uri is set (#157)
1940
- * accomodate trailing dot in author name (#156)
1979
+ * accommodate trailing dot in author name (#156)
1941
1980
  * don't hardcode language attribute in html backend (#185)
1942
1981
  * removed language from DocBook root node (#188)
1943
1982
  * fixed revinfo line swallowing attribute entry
data/README-de.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.17, 2022-01-05
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
  // URIs:
22
21
  :uri-org: https://github.com/asciidoctor
23
22
  :uri-repo: {uri-org}/asciidoctor
@@ -33,8 +32,8 @@ ifdef::env-site[:uri-project: link:]
33
32
  :uri-rel-file-base: link:
34
33
  :uri-rel-tree-base: link:
35
34
  ifdef::env-site[]
36
- :uri-rel-file-base: {uri-repo}/blob/master/
37
- :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/
38
37
  endif::[]
39
38
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
40
39
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -51,14 +50,13 @@ endif::[]
51
50
  :uri-render-doc: {uri-docs}/render-documents
52
51
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
53
52
  :uri-gitscm-repo: https://github.com/git/git-scm.com
54
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
55
53
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
56
54
  :uri-foundation: https://foundation.zurb.com
57
55
  :uri-opal: https://opalrb.com
58
56
  :uri-tilt: https://github.com/rtomayko/tilt
59
57
  :uri-ruby: https://ruby-lang.org
60
58
  // images:
61
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
59
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
62
60
 
63
61
  {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
62
  Asciidoctor ist in Ruby geschrieben und läuft auf allen gängigen Betriebsystemen.
@@ -88,8 +86,7 @@ ifdef::status[]
88
86
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
89
87
  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
88
  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/]
89
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat (Zulip),link={uri-chat}]
93
90
  endif::[]
94
91
 
95
92
  == Sponsoren
@@ -460,7 +457,7 @@ Siehe die {uri-license}[LIZENZ] für den vollen Lizenztext.
460
457
  == Authoren
461
458
 
462
459
  *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].
460
+ 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
461
 
465
462
  *AsciiDoc* wurde von Stuart Rackham gegründet und hat Beiträge von vielen Personen aus der AsciiDoc-Community erhalten.
466
463
 
data/README-fr.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.17, 2022-01-05
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
  // URIs:
22
21
  :uri-org: https://github.com/asciidoctor
23
22
  :uri-repo: {uri-org}/asciidoctor
@@ -33,8 +32,8 @@ ifdef::env-site[:uri-project: link:]
33
32
  :uri-rel-file-base: link:
34
33
  :uri-rel-tree-base: link:
35
34
  ifdef::env-site[]
36
- :uri-rel-file-base: {uri-repo}/blob/master/
37
- :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/
38
37
  endif::[]
39
38
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
40
39
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -51,13 +50,12 @@ endif::[]
51
50
  :uri-render-doc: {uri-docs}/render-documents
52
51
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
53
52
  :uri-gitscm-repo: https://github.com/git/git-scm.com
54
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
55
53
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
56
54
  :uri-foundation: https://foundation.zurb.com
57
55
  :uri-tilt: https://github.com/rtomayko/tilt
58
56
  :uri-ruby: https://ruby-lang.org
59
57
  // images:
60
- :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
61
59
 
62
60
  {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
61
  Asciidoctor est écrit en Ruby et fonctionne sur les principaux systèmes d'exploitation.
@@ -85,8 +83,7 @@ ifdef::status[]
85
83
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
86
84
  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
85
  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/]
86
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat,link={uri-chat}]
90
87
  endif::[]
91
88
 
92
89
  == Sponsors
@@ -426,7 +423,7 @@ Consultez le fichier {uri-license}[LICENSE] pour plus de détails.
426
423
  == Auteurs
427
424
 
428
425
  *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].
426
+ 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
427
 
431
428
  *AsciiDoc* a été démarré par Stuart Rackham et a reçu de nombreuses contributions de la part de la communauté AsciiDoc.
432
429
 
data/README-jp.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.17, 2022-01-05
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
  // URIs:
22
21
  :uri-org: https://github.com/asciidoctor
23
22
  :uri-repo: {uri-org}/asciidoctor
@@ -37,8 +36,8 @@ ifdef::env-site[:uri-project: link:]
37
36
  :uri-rel-file-base: link:
38
37
  :uri-rel-tree-base: link:
39
38
  ifdef::env-site,env-yard[]
40
- :uri-rel-file-base: {uri-repo}/blob/master/
41
- :uri-rel-tree-base: {uri-repo}/tree/master/
39
+ :uri-rel-file-base: {uri-repo}/blob/HEAD/
40
+ :uri-rel-tree-base: {uri-repo}/tree/HEAD/
42
41
  endif::[]
43
42
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
44
43
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -55,14 +54,13 @@ endif::[]
55
54
  :uri-convert-doc: {uri-docs}/convert-documents
56
55
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
57
56
  :uri-gitscm-repo: https://github.com/git/git-scm.com
58
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
59
57
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
60
58
  :uri-foundation: https://foundation.zurb.com
61
59
  :uri-opal: https://opalrb.com
62
60
  :uri-tilt: https://github.com/rtomayko/tilt
63
61
  :uri-ruby: https://www.ruby-lang.org
64
62
  // images:
65
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
63
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
66
64
 
67
65
  {uri-project}[Asciidoctor]は, {uri-what-is-asciidoc}[AsciiDoc] で書かれたコンテンツをHTML5, DocBook, PDFなどのフォーマットに変換する, _高速で_ {uri-license}[オープンソース] のテキストプロセッサおよびパブリッシングツールチェインです.
68
66
  AsciidoctorはRubyで書かれており, すべての主要オペレーティングシステムで動作します.
@@ -70,7 +68,7 @@ Asciidoctorプロジェクトは {uri-repo}[GitHubにホスティング] され
70
68
 
71
69
  インストールをシンプルにするため, AsciidoctorはRubyGem(gem)パッケージとして, {uri-rubygem}[RubyGems.org] で配布されています.
72
70
  さらに, Asciidoctorは主要なLinuxディストリビューション用およびmacOS用パッケージとしても配布されています.
73
- AsciidctorはRubyで動作するだけでなく, {uri-asciidoctorj}[AsciidoctorJ]としてJVM上でも動作します. また, {uri-asciidoctorjs}[Asciidoctor.js]としてどのようなJavaScript環境(ブラウザを含む)でも実行できます.
71
+ AsciidoctorはRubyで動作するだけでなく, {uri-asciidoctorj}[AsciidoctorJ]としてJVM上でも動作します. また, {uri-asciidoctorjs}[Asciidoctor.js]としてどのようなJavaScript環境(ブラウザを含む)でも実行できます.
74
72
 
75
73
  ifndef::env-site,env-yard[]
76
74
  このドキュメントには以下の言語版が存在します: +
@@ -94,8 +92,7 @@ ifdef::status[]
94
92
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
95
93
  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
94
  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/]
95
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat,link={uri-chat}]
99
96
  endif::[]
100
97
 
101
98
  == スポンサー
@@ -460,7 +457,7 @@ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individ
460
457
  == 作者
461
458
 
462
459
  *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年から創始されました.
460
+ このプロジェクトは https://github.com/nickh[Nick Hengeveld] のプロトタイプをベースに https://github.com/erebor[Ryan Waldron] により2012年から創始されました.
464
461
 
465
462
  *AsciiDoc* は Stuart Rackham により創始され, AsciiDocコミュニティの数多くのメンバからコントリビューションを受けてきました.
466
463
 
data/README-zh_CN.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.17, 2022-01-05
4
4
  // settings:
5
5
  :page-layout: base
6
6
  :idprefix:
@@ -10,7 +10,6 @@ v2.0.16, 2021-08-03
10
10
  ifndef::env-github[:icons: font]
11
11
  ifdef::env-github[]
12
12
  :status:
13
- :outfilesuffix: .adoc
14
13
  :caution-caption: :fire:
15
14
  :important-caption: :exclamation:
16
15
  :note-caption: :paperclip:
@@ -18,7 +17,7 @@ ifdef::env-github[]
18
17
  :warning-caption: :warning:
19
18
  endif::[]
20
19
  // Variables:
21
- :release-version: 2.0.16
20
+ :release-version: 2.0.17
22
21
  // URIs:
23
22
  :uri-org: https://github.com/asciidoctor
24
23
  :uri-repo: {uri-org}/asciidoctor
@@ -34,8 +33,8 @@ ifdef::env-site[:uri-project: link:]
34
33
  :uri-rel-file-base: link:
35
34
  :uri-rel-tree-base: link:
36
35
  ifdef::env-site[]
37
- :uri-rel-file-base: {uri-repo}/blob/master/
38
- :uri-rel-tree-base: {uri-repo}/tree/master/
36
+ :uri-rel-file-base: {uri-repo}/blob/HEAD/
37
+ :uri-rel-tree-base: {uri-repo}/tree/HEAD/
39
38
  endif::[]
40
39
  :uri-changelog: {uri-rel-file-base}CHANGELOG.adoc
41
40
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
@@ -52,13 +51,12 @@ endif::[]
52
51
  :uri-render-doc: {uri-docs}/render-documents
53
52
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
54
53
  :uri-gitscm-repo: https://github.com/git/git-scm.com
55
- :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
56
54
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
57
55
  :uri-foundation: https://foundation.zurb.com
58
56
  :uri-tilt: https://github.com/rtomayko/tilt
59
57
  :uri-ruby: https://ruby-lang.org
60
58
  // images:
61
- :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
59
+ :image-uri-screenshot: https://cdn.jsdelivr.net/gh/asciidoctor/asciidoctor/screenshot.png
62
60
 
63
61
  {uri-project}/[Asciidoctor] 是一个 _快速_ 文本处理器和发布工具链,它可以将 {uri-what-is-asciidoc}[AsciiDoc] 文档转化成 HTML 5、 DocBook 5 以及其他格式。
64
62
  Asciidoctor 由 Ruby 编写,打包成 RubyGem,然后发布到 {uri-rubygem}[RubyGems.org] 上。
@@ -82,8 +80,7 @@ ifdef::status[]
82
80
  image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
83
81
  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
82
  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/]
83
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[Project Chat,link={uri-chat}]
87
84
  endif::[]
88
85
 
89
86
  .Ruby 所至, Asciidoctor 相随
@@ -420,7 +417,7 @@ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individ
420
417
  == 作者
421
418
 
422
419
  *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}[原型] 创建。
420
+ 项目最初由 https://github.com/erebor[Ryan Waldron] 于 2012年基于 https://github.com/nickh[Nick Hengeveld] 的原型创建。
424
421
 
425
422
  *AsciiDoc* 由 Stuart Rackham 启动,并从 AsciiDoc 社区的其他独立开发者上收到很多贡献。
426
423
 
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.17, 2022-01-05
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,7 +17,7 @@ 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',
20
+ 'changelog_uri' => 'https://github.com/asciidoctor/asciidoctor/blob/HEAD/CHANGELOG.adoc',
21
21
  'mailing_list_uri' => 'http://discuss.asciidoctor.org',
22
22
  'source_code_uri' => 'https://github.com/asciidoctor/asciidoctor'
23
23
  }
@@ -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