asciidoctor 2.0.15 → 2.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +86 -11
  3. data/LICENSE +1 -1
  4. data/README-de.adoc +9 -12
  5. data/README-fr.adoc +9 -12
  6. data/README-jp.adoc +10 -13
  7. data/README-zh_CN.adoc +9 -12
  8. data/README.adoc +33 -18
  9. data/asciidoctor.gemspec +2 -9
  10. data/data/locale/attributes-fr.adoc +2 -2
  11. data/data/locale/attributes-th.adoc +23 -0
  12. data/data/locale/attributes-vi.adoc +23 -0
  13. data/data/stylesheets/asciidoctor-default.css +54 -53
  14. data/data/stylesheets/coderay-asciidoctor.css +9 -9
  15. data/lib/asciidoctor/abstract_block.rb +11 -9
  16. data/lib/asciidoctor/abstract_node.rb +9 -8
  17. data/lib/asciidoctor/block.rb +6 -6
  18. data/lib/asciidoctor/cli/invoker.rb +1 -2
  19. data/lib/asciidoctor/cli/options.rb +25 -25
  20. data/lib/asciidoctor/convert.rb +1 -0
  21. data/lib/asciidoctor/converter/docbook5.rb +20 -22
  22. data/lib/asciidoctor/converter/html5.rb +112 -94
  23. data/lib/asciidoctor/converter/manpage.rb +61 -52
  24. data/lib/asciidoctor/converter/template.rb +12 -13
  25. data/lib/asciidoctor/converter.rb +6 -4
  26. data/lib/asciidoctor/core_ext/hash/merge.rb +1 -1
  27. data/lib/asciidoctor/document.rb +39 -41
  28. data/lib/asciidoctor/extensions.rb +20 -12
  29. data/lib/asciidoctor/list.rb +2 -6
  30. data/lib/asciidoctor/load.rb +10 -9
  31. data/lib/asciidoctor/logging.rb +10 -8
  32. data/lib/asciidoctor/parser.rb +172 -189
  33. data/lib/asciidoctor/path_resolver.rb +3 -3
  34. data/lib/asciidoctor/reader.rb +71 -72
  35. data/lib/asciidoctor/rx.rb +3 -2
  36. data/lib/asciidoctor/section.rb +7 -0
  37. data/lib/asciidoctor/substitutors.rb +101 -103
  38. data/lib/asciidoctor/syntax_highlighter/coderay.rb +2 -1
  39. data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +1 -1
  40. data/lib/asciidoctor/syntax_highlighter/pygments.rb +14 -5
  41. data/lib/asciidoctor/syntax_highlighter/rouge.rb +2 -1
  42. data/lib/asciidoctor/syntax_highlighter.rb +8 -11
  43. data/lib/asciidoctor/table.rb +18 -20
  44. data/lib/asciidoctor/timings.rb +3 -3
  45. data/lib/asciidoctor/version.rb +1 -1
  46. data/lib/asciidoctor.rb +7 -7
  47. data/man/asciidoctor.1 +26 -28
  48. data/man/asciidoctor.adoc +33 -27
  49. metadata +8 -62
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb27f87c48be418263b4f94e5b63f95c9615e03226a3cd093d4eab7f6dd02804
4
- data.tar.gz: 9d562c732b689e19dfbba66195568c373a44a5ca5402a3310bb172f88ccf16bd
3
+ metadata.gz: c33baadb7f5d28211bbb55b0b2b002159d57d483d35d17fe1b11d72dd4389e53
4
+ data.tar.gz: db81a673d28035c721612ab1c4f9d23e005a824384ac0ba1b1983e9e817d44e6
5
5
  SHA512:
6
- metadata.gz: 5cade3f312ab79d06ce6cbce0376c03a5c2fc6f44c02a46273aba40ecb49a15735785a66dbf6381e61f30265f45456c1c434b9f88a4cc6487624a3f4129b4e1c
7
- data.tar.gz: d1e9b950be47affa3459f5685efb442f6a2a6ece9485ce961f1aca232e27c0fbdcd8bd2f92983d831fec7176e3fe8996cf952f3e38d6a56c9eb77de8e2a1bad7
6
+ metadata.gz: a1fae45fddd3696607f9337f35222ecfad106aa295d2f328b54af5c21404ddb0c59baf6424b180bf46e4fed36fa28a6042f2d90310bb8acea01da4790a80ba3f
7
+ data.tar.gz: 0d65fb85055130df297d9ed12a63d68d03d5876c5b09f84d052396e793dada3a9406217969ac6574a3404b62113fb3afa7da235f6692ef2c1651904ecba00c71
data/CHANGELOG.adoc CHANGED
@@ -11,11 +11,87 @@ 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[]
59
+ == 2.0.16 (2021-08-03) - @mojavelinux
60
+
61
+ Bug Fixes::
62
+
63
+ * Include all lines outside of specified tagged region when tag filter on include directive is a single negated tag (#4048)
64
+ * Only interpret negated wildcard in tag filter on include directive as implicit globstar if it precedes other tags (#4086)
65
+ * Change ifeval directive to resolve to false if comparison operation cannot be performed (#4046)
66
+ * Don't crash if `:to_file` option is passed to `load` or `load_file` and value is not a string (#4055)
67
+ * Use automatic link text if ID in shorthand xref is followed by dangling comma (e.g., `+<<idname,>>+`)
68
+ * Update default stylesheet to indent blocks attached to list item in checklist (#2550)
69
+ * Update default stylesheet to re-enable styling of implicit lead role on first paragraph of preamble inside AsciiDoc table cell
70
+ * Update default stylesheet to fix conflict between text decoration and bottom border on abbr[title] element
71
+ * Change invalid font family "sans" in default stylesheet to "sans-serif"
72
+ * Fix missing automatic reftext for internal xrefs in manpage output (#4110)
73
+ * Replace numeric character reference for plus in manpage output (#4059)
74
+ * Replace numeric character reference for degree sign in manpage output (#4059)
75
+ * Convert apostrophe to the portable `+\*(Aq+` variable instead of the groff-specific escape `\(aq` (#4060) (*@felipec*)
76
+ * Document the `-e, --embedded` option flag in the man page, which replaces the outdated `-e, --eruby` option flag
77
+
78
+ Improvements::
79
+
80
+ * Use queue to iterate over lines in reader instead of stack (#4106)
81
+ * Uppercase automatic reftext for level-2 section titles in manpage output if reftext matches section title (#4110)
82
+ * Show safe modes in strictness order in CLI help (#4065)
83
+ * Remove redundant styles from the default stylesheet
84
+ * Update font styles for summary element in default stylesheet to match font styles of paragraph (#4114)
85
+ * Update default stylesheet to indent content of details element (#4116)
86
+ * Update default stylesheet to use custom marker for summary element to make appearance consistent (#4116)
87
+ * Add Vietnamese translation of built-in attributes (PR #4066) (*@nguyenhoa93*)
88
+ * Add Thai translation of built-in attributes (PR #4113) (*@ammaneena*)
89
+
90
+ Build / Infrastructure::
91
+
92
+ * Import source of default stylesheet into this repository; use PostCSS with cssnano to minify (#4062)
93
+ * Use autoprefixer to manage browser prefixes in default stylesheet (#4118)
94
+
19
95
  == 2.0.15 (2021-04-27) - @mojavelinux
20
96
 
21
97
  Bug Fixes::
@@ -36,7 +112,6 @@ Build / Infrastructure::
36
112
 
37
113
  * Get remaining invoker tests working on JRuby 9.1 for Windows
38
114
 
39
- // end::compact[]
40
115
  == 2.0.14 (2021-04-19) - @mojavelinux
41
116
 
42
117
  Bug Fixes::
@@ -101,7 +176,7 @@ Bug Fixes::
101
176
 
102
177
  * Set type and target property on unresolved footnote reference and unset id property (fixes regression) (#3825)
103
178
  * Fix crash when inlining an SVG if the explicit width or height value on the image node is not a string (#3829)
104
- * 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)
105
180
 
106
181
  Improvements::
107
182
 
@@ -389,7 +464,7 @@ Enhancements / Compliance::
389
464
  * AbstractBlock#find_by looks inside AsciiDoc table cells if traverse_documents selector option is true (#3101)
390
465
  * AbstractBlock#find_by finds table cells, which can be selected using the :table_cell context in the selector (#2524)
391
466
  * allow ampersand to be used in e-mail address (#2553)
392
- * propogate ID assigned to inline passthrough (#2912)
467
+ * propagate ID assigned to inline passthrough (#2912)
393
468
  * rename control keywords in find_by to better align with the standard NodeFilter terminology
394
469
  * stop find_by iteration if filter block returns :stop directive
395
470
  * rename header_footer option to standalone (while still honoring header_footer for backwards compatibility) (#1444)
@@ -650,7 +725,7 @@ Enhancements::
650
725
  * register document in catalog if id is set; assign reftext to document attributes if specified in a block attribute line (#2301, PR #2428)
651
726
  * allow automatic width to be applied to individual columns in a table using the special value `~` (#1844)
652
727
  * use the quote element in DocBook converter to represent smart quotes (#2272, PR #2356) (@bk2204)
653
- * 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)
654
729
  * parse credit line of shorthand quote block as block attributes; apply normal subs to credit line in shorthand quote blocks (#1667, PR #2452)
655
730
  * populate copyright element in DocBook output from value of copyright attribute (#2728)
656
731
  * preserve directories if source dir and destination dir are set (#1394, PR #2421)
@@ -980,7 +1055,7 @@ Compliance::
980
1055
 
981
1056
  * retain block content in items of callout list when converting to HTML and man page (#1478)
982
1057
  * only substitute specialchars for content in literal table cells (#1912)
983
- * 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)
984
1059
  * only recognize uniform underline for setext section title (#2083)
985
1060
  * don't match headings with mixed leading characters (#2074)
986
1061
  * fix layout break from matching lines it shouldn't
@@ -1103,7 +1178,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.5\...v1.5.6[full diff]
1103
1178
  Enhancements::
1104
1179
 
1105
1180
  * Add preference to limit the maximum size of an attribute value (#1861)
1106
- * 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*)
1107
1182
  * Add reversed attribute to ordered list if reversed option is enabled (#1830)
1108
1183
  * Add support for additional docinfo locations (e.g., :header)
1109
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)
@@ -1135,7 +1210,7 @@ Improvements::
1135
1210
 
1136
1211
  Compliance::
1137
1212
 
1138
- * 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)
1139
1214
  * Compatibility fixes for Opal
1140
1215
  * Check for number using Integer instead of Fixnum class for compatibility with Ruby 2.4
1141
1216
 
@@ -1152,7 +1227,7 @@ Bug Fixes::
1152
1227
 
1153
1228
  Infrastructure::
1154
1229
 
1155
- * 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)
1156
1231
  * Run tests in CI using latest versions of Ruby, including Ruby 2.3 (*@ferdinandrosario*)
1157
1232
 
1158
1233
  Distribution Packages::
@@ -1595,7 +1670,7 @@ Bug Fixes::
1595
1670
  Infrastructure::
1596
1671
 
1597
1672
  * add Ruby 2.1 to list of supported platforms
1598
- * reenable rbx in Travis build
1673
+ * re-enable rbx in Travis build
1599
1674
  * switch tests to minitest (*@ktdreyer*)
1600
1675
  * update RPM for Fedora Rawhide (*@ktdreyer*)
1601
1676
  * refactor unit tests so they work in RubyMine (*@cmoulliard*)
@@ -1901,7 +1976,7 @@ Compliance::
1901
1976
  * support limited value comparison functionality of ifeval (#83)
1902
1977
  * added support for multiple attributes in ifdef and ifndef directives
1903
1978
  * don't attempt to embed image with uri reference when data-uri is set (#157)
1904
- * accomodate trailing dot in author name (#156)
1979
+ * accommodate trailing dot in author name (#156)
1905
1980
  * don't hardcode language attribute in html backend (#185)
1906
1981
  * removed language from DocBook root node (#188)
1907
1982
  * fixed revinfo line swallowing attribute entry
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, and the
3
+ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the
4
4
  individual contributors to Asciidoctor.
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
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.15, 2021-04-27
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.15, 2021-04-27
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.15
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
@@ -452,7 +449,7 @@ Asciidoctor Organization auf GitHub:: {uri-org}
452
449
 
453
450
  == Lizenz
454
451
 
455
- Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, und die einzelnen Mitarbeiter von Asciidoctor.
452
+ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, und die einzelnen Mitarbeiter von Asciidoctor.
456
453
  Die Nutzung dieser Software wird unter den Bedingungen der MIT-Lizenz gewährt.
457
454
 
458
455
  Siehe die {uri-license}[LIZENZ] für den vollen Lizenztext.
@@ -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.15, 2021-04-27
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.15, 2021-04-27
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.15
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
@@ -418,7 +415,7 @@ L'organisation Asciidoctor sur GitHub:: {uri-org}
418
415
 
419
416
  == Licence
420
417
 
421
- Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, et les contributeurs individuels d'Asciidoctor.
418
+ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, et les contributeurs individuels d'Asciidoctor.
422
419
  Une utilisation libre de ce logiciel est autorisée sous les termes de la licence MIT.
423
420
 
424
421
  Consultez le fichier {uri-license}[LICENSE] pour plus de détails.
@@ -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.15, 2021-04-27
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.15, 2021-04-27
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.15
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
  == スポンサー
@@ -452,7 +449,7 @@ GitHub上のAsciidoctorのorganization:: {uri-org}
452
449
 
453
450
  == ライセンス
454
451
 
455
- Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor.
452
+ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor.
456
453
  本ソフトウェアはMITライセンスのもとで使用できます.
457
454
 
458
455
  ライセンスの詳細については {uri-license}[LICENSE] ファイルを参照してください.
@@ -460,7 +457,7 @@ Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, and the individual
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.15, 2021-04-27
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.15, 2021-04-27
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.15
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 相随
@@ -411,7 +408,7 @@ Asciidoctor 组织在 GitHub 托管代码、议案跟踪和相关子项目。
411
408
  [#copyright-and-licensing]
412
409
  == 版权和协议
413
410
 
414
- Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor.
411
+ Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor.
415
412
  这个软件的免费使用是在MIT许可条款授予的。
416
413
 
417
414
  请看 {uri-license}[版权声明] 文件来获取更多详细信息。
@@ -420,7 +417,7 @@ Copyright (C) 2012-2021 Dan Allen, Sarah White, Ryan Waldron, and the individual
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