asciidoctor 2.0.6 → 2.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.adoc +159 -6
  3. data/LICENSE +2 -1
  4. data/README-de.adoc +5 -5
  5. data/README-fr.adoc +4 -4
  6. data/README-jp.adoc +248 -183
  7. data/README-zh_CN.adoc +6 -6
  8. data/README.adoc +17 -11
  9. data/asciidoctor.gemspec +8 -8
  10. data/data/locale/attributes-ar.adoc +4 -3
  11. data/data/locale/attributes-bg.adoc +4 -3
  12. data/data/locale/attributes-ca.adoc +6 -5
  13. data/data/locale/attributes-cs.adoc +4 -3
  14. data/data/locale/attributes-da.adoc +6 -5
  15. data/data/locale/attributes-de.adoc +4 -4
  16. data/data/locale/attributes-en.adoc +4 -4
  17. data/data/locale/attributes-es.adoc +6 -5
  18. data/data/locale/attributes-fa.adoc +4 -3
  19. data/data/locale/attributes-fi.adoc +4 -3
  20. data/data/locale/attributes-fr.adoc +6 -5
  21. data/data/locale/attributes-hu.adoc +4 -3
  22. data/data/locale/attributes-id.adoc +4 -3
  23. data/data/locale/attributes-it.adoc +4 -3
  24. data/data/locale/attributes-ja.adoc +4 -3
  25. data/data/locale/{attributes-kr.adoc → attributes-ko.adoc} +4 -3
  26. data/data/locale/attributes-nb.adoc +4 -3
  27. data/data/locale/attributes-nl.adoc +4 -3
  28. data/data/locale/attributes-nn.adoc +4 -3
  29. data/data/locale/attributes-pl.adoc +8 -7
  30. data/data/locale/attributes-pt.adoc +6 -5
  31. data/data/locale/attributes-pt_BR.adoc +6 -5
  32. data/data/locale/attributes-ro.adoc +4 -3
  33. data/data/locale/attributes-ru.adoc +6 -5
  34. data/data/locale/attributes-sr.adoc +4 -4
  35. data/data/locale/attributes-sr_Latn.adoc +4 -4
  36. data/data/locale/attributes-sv.adoc +4 -4
  37. data/data/locale/attributes-tr.adoc +4 -3
  38. data/data/locale/attributes-uk.adoc +6 -5
  39. data/data/locale/attributes-zh_CN.adoc +4 -3
  40. data/data/locale/attributes-zh_TW.adoc +4 -3
  41. data/data/stylesheets/asciidoctor-default.css +29 -26
  42. data/lib/asciidoctor.rb +94 -1098
  43. data/lib/asciidoctor/abstract_block.rb +19 -11
  44. data/lib/asciidoctor/abstract_node.rb +21 -15
  45. data/lib/asciidoctor/attribute_list.rb +59 -67
  46. data/lib/asciidoctor/cli/invoker.rb +2 -0
  47. data/lib/asciidoctor/cli/options.rb +8 -8
  48. data/lib/asciidoctor/convert.rb +198 -0
  49. data/lib/asciidoctor/converter.rb +14 -13
  50. data/lib/asciidoctor/converter/docbook5.rb +9 -25
  51. data/lib/asciidoctor/converter/html5.rb +65 -42
  52. data/lib/asciidoctor/converter/manpage.rb +13 -12
  53. data/lib/asciidoctor/converter/template.rb +6 -3
  54. data/lib/asciidoctor/document.rb +40 -48
  55. data/lib/asciidoctor/extensions.rb +3 -3
  56. data/lib/asciidoctor/helpers.rb +38 -39
  57. data/lib/asciidoctor/inline.rb +1 -1
  58. data/lib/asciidoctor/load.rb +117 -0
  59. data/lib/asciidoctor/parser.rb +29 -25
  60. data/lib/asciidoctor/path_resolver.rb +35 -25
  61. data/lib/asciidoctor/reader.rb +14 -7
  62. data/lib/asciidoctor/rx.rb +722 -0
  63. data/lib/asciidoctor/substitutors.rb +62 -40
  64. data/lib/asciidoctor/syntax_highlighter.rb +22 -8
  65. data/lib/asciidoctor/syntax_highlighter/coderay.rb +1 -1
  66. data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +12 -4
  67. data/lib/asciidoctor/syntax_highlighter/prettify.rb +7 -4
  68. data/lib/asciidoctor/syntax_highlighter/pygments.rb +2 -3
  69. data/lib/asciidoctor/syntax_highlighter/rouge.rb +18 -11
  70. data/lib/asciidoctor/table.rb +49 -20
  71. data/lib/asciidoctor/version.rb +1 -1
  72. data/man/asciidoctor.1 +17 -17
  73. data/man/asciidoctor.adoc +15 -14
  74. metadata +12 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9066105e2eb3a4a1eef1b7e03730a3daa81e6b0abcfebef789e5c02e4a070db8
4
- data.tar.gz: 902d0e58872adbafcd81a6faa7373b4e207ad5596ec37f3d1a01a6e83fabfac2
3
+ metadata.gz: 11a800adcdf4265d33a08cd8a131f72c4d0ae4fbafdca247c857743151f7a62a
4
+ data.tar.gz: d469b8d294a613e6cf41d8bfb20064adfae9f053bb37b23873a0dc18247d7060
5
5
  SHA512:
6
- metadata.gz: a77b68c94c63ba1f783cc1e2af7ead46415a8f49f85195f7367f94506b12d1ad19310b142249d534cc61513633ba4ba8e931e744922f4a3bfe92e9b0e9e4d97d
7
- data.tar.gz: d0a13bb0dfe883cb0a8e6ae949e3f6178de75f57d6d6a35f90ee5954f8b85faa6c76b0c3244a07aca43478daab789a33b3f780faa1e083b27bba5a1eb9f5cf74
6
+ metadata.gz: 471623feae9609099d5687e8a0231650990fb4b8fc39f95cfa64a8afcfc6777465354fec84e2d083088fb3706016eb3146cd83305c0c9242de61ded5bb10d046
7
+ data.tar.gz: 73959dff4b12916de260b924d5496ecef849e1989e9167ad3a74f812d937a7697b97289af0e74c85ed139aad962730b6f516f41e09d870ffbe5839afbba469db
@@ -13,6 +13,140 @@ endif::[]
13
13
  This document provides a high-level view of the changes introduced in Asciidoctor by release.
14
14
  For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
15
15
 
16
+ // tag::compact[]
17
+ == 2.0.11 (2020-11-02) - @mojavelinux
18
+
19
+ Bug Fixes::
20
+
21
+ * Fix infinite loop when callout list with obsolete syntax is found inside list item (#3472)
22
+ * Fix infinite loop when xreftext contains a circular reference path in HTML and manpage converters (#3543)
23
+ * Apply text formatting to table cells in implicit header row when column has the "a" or "l" style (#3760)
24
+ * Fix errant reference warning for valid reference when running in compat mode (#3555)
25
+ * Initialize backend traits for converter (if not previously initialized) using assigned basebackend; mimics Asciidoctor < 2 behavior (#3341)
26
+ * Set source_location on preamble block when sourcemap option is enabled (#3799)
27
+ * Link the notitle and showtitle attributes so they act as opposites for the same toggle (#3804)
28
+ * Pass options to constructor of Rouge lexer instead of #lex method; restores compatibility with Rouge >= 3.4 (#3336)
29
+ * Don't clobber cgi-style options on language when enabling start_inline option on the Rouge PHP lexer (#3336)
30
+ * Fix parsing of wrapped link and xref text, including when an attrlist signature is detected (#3331)
31
+ * Restore deprecated writable number property on AbstractBlock
32
+ * Always use title as xreftext if target block has an empty caption, regardless of xrefstyle value (#3745)
33
+ * Allow a bibliography reference to be used inside a footnote (#3325)
34
+ * Fix bottom margin collapsing on AsciiDoc table cell (#3370)
35
+ * Remove excess hard line break in multi-line AsciiMath blocks (#3407)
36
+ * Only strip trailing spaces from lines of AsciiDoc include file (#3436)
37
+ * Remove errant optional flag in regexp for menu macro that breaks Asciidoctor.js (#3433)
38
+ * Preserve repeating backslashes when generating manpage output (#3456)
39
+ * Honor percentage width specified on macro of inline SVG (#3464)
40
+ * Removing leading and trailing blank lines in AsciiDoc include file to match assumption of parser (#3470)
41
+ * Activate extensions when :extensions option is set even if Extensions API is not yet loaded (#3570)
42
+ * Don't activate global extensions if :extensions option is false (#3570)
43
+ * Escape ellipsis at start of line in manpage output (#3645) (*@jnavila*)
44
+ * Don't register footnote with ID if a footnote is already registered with that ID (#3690)
45
+ * Honor start attribute on ordered list in manpage output (#3714)
46
+ * Warn instead of crashing if SVG to inline is empty (#3638) (*@mogztter*)
47
+ * Compute highlight line ranges on source block relative to value of start attribute (#3519) (*@mogztter*)
48
+ * Prevent collapsible block from incrementing example number by assigning an empty caption (#3639)
49
+ * Use custom init function for highlight.js to select the correct `code` elements (#3761)
50
+ * Fix resolved value of :to_dir when both :to_file and :to_dir options are set to absolute paths (#3778)
51
+ * Fix crash if value of `stylesheets` attribute contains a folder and the destination directory for the stylesheet does not exist (even when the `:mkdirs` option is set) (#3808)
52
+ * Fix crash if value passed by API for `copycss` attribute is not a string (#3592)
53
+ * Restore label in front of each bibliography entry in DocBook output that was dropped by fix for #3085 (#3782)
54
+ * Apply max width to each top-level container instead of body in HTML output (#3513)
55
+ * Don't apply border-collapse: separate to HTML for table blocks; fixes double border at boundary of colspan/rowspan (#3793) (*@ahus1*)
56
+ * Don't remove right border on last table cell in row (#2563)
57
+ * Rework table borders to leverage border collapsing (apply frame border to table, grid border to cells, and selectively override border on cells to accommodate frame) (#3387)
58
+
59
+ Compliance::
60
+
61
+ * Add support for muted option to self-hosted video (#3408)
62
+ * Move style tag for convert-time syntax highlighters (coderay, rouge, pygments) into head (#3462)
63
+ * Move style tag for client-side syntax highlighters (highlight.js, prettify) into head (#3503)
64
+ * Define entry point API methods (load, convert, load_file, convert_file) as class methods instead of module_function to avoid conflict with Kernel.load (#3625)
65
+ * Retain attribute order on HTML code tag for source block to remain consistent with output from 1.5.x (#3786)
66
+ * Correct language code for Korean language file from kr to ko (#3807) (*@jnavila*)
67
+
68
+ Improvements::
69
+
70
+ * Apply word wrap (i.e., `word-wrap: anywhere`) to body in default stylesheet (#3544)
71
+ * Allow `nobreak` and `nowrap` roles to be used on any inline element (#3544)
72
+ * Add CSS class to support pre-wrap role to preserve leading, trailing, and repeating spaces in phrase (#3815)
73
+ * Preserve guard around XML-style callout when icons are not enabled (#3319)
74
+ * Use `.fam C` command to switch font family for verbatim blocks to monospaced text in manpage output (#3561)
75
+ * Remove redundant test for halign and valign attributes on table cell in DocBook converter
76
+ * Allow encoding of include file to be specified using encoding attribute (#3248)
77
+ * Allow template to be used to override outline by only specifying the outline template (#3491)
78
+ * Upgrade MathJax from 2.7.5 to 2.7.9
79
+ * Upgrade highlight.js from 9.15.10 to 9.18.3 (note that this increases script size from 48.8 KB to 71.5 KB)
80
+ * Skip unused default attribute assignments for embedded document
81
+ * Allow a URL macro to have a preceding single or double quote (#3376)
82
+ * Add support for erubi template engine; use it in place of erubis in test suite; note the use of erubis is deprecated (#3737)
83
+ * Download and embed remote custom stylesheet if allow-uri-read is set (#3765)
84
+ * Remove direction property from default stylesheet (#3753) (*@abdnh*)
85
+ * remove max width setting on content column for print media in default stylesheet (#3802)
86
+ * Normalize frame value "topbot" to "ends" in HTML output (consistently use frame-ends class) (#3797)
87
+ * Add role setter method on AbstractNode (#3614)
88
+ * Map chapter-signifier and part-signifier attributes in locale attribute files to replace chapter-label and part-label (#3817)
89
+
90
+ Build / Infrastructure::
91
+
92
+ * Run test suite on TruffleRuby nightly (*@mogztter*, *@erebor*)
93
+ * Upgrade TruffleRuby to 20.0.0 (*@mogztter*)
94
+ * Trigger upstream builds for AsciidoctorJ on Github Actions (*@robertpanzer*)
95
+
96
+ // end::compact[]
97
+ == 2.0.10 (2019-05-31) - @mojavelinux
98
+
99
+ Bug Fixes::
100
+
101
+ * fix Asciidoctor.convert_file to honor `header_footer: false` option when writing to file (#3316)
102
+ * fix placement of title on excerpt block (#3289)
103
+ * always pass same options to SyntaxHighlighter#docinfo, regardless of value of location argument
104
+ * fix signature of SyntaxHighlighter#docinfo method (#3300)
105
+ * when `icons` is set to `image`, enable image icons, but don't use it as the value of the `icontype` attribute (#3308)
106
+
107
+ == 2.0.9 (2019-04-30) - @mojavelinux
108
+
109
+ Bug Fixes::
110
+
111
+ * process multiple single-item menu macros in same line (#3279)
112
+ * register images in catalog correctly (#3283)
113
+ * rename AbstractNode#options method to AbstractNode#enabled_options so it doesn't get shadowed by Document#options (#3282)
114
+ * don't fail to convert document if alt attribute is not set on block or inline image (typically by an extension)
115
+ * fix lineno of source location on blocks that follow a detached list continuation (#3281)
116
+ * assume inline image type is "image" if not set (typically by an extension)
117
+
118
+ == 2.0.8 (2019-04-22) - @mojavelinux
119
+
120
+ Bug Fixes::
121
+
122
+ * restore background color applied to literal blocks by default stylesheet (#3258)
123
+ * use portability constants (CC_ALL, CC_ANY) in regular expressions defined in built-in converters (DocBook5 and ManPage)
124
+ * use portability constant (CC_ANY) in regular expression for custom inline macros
125
+ * use smarter margin collapsing for AsciiDoc table cell content; prevent passthrough content from being cut off (#3256)
126
+ * don't limit footnote ref to ASCII charset; allow any word character in Unicode to be used (#3269)
127
+
128
+ Improvements::
129
+
130
+ * register_for methods accept arguments as symbols (#3274)
131
+ * use Concurrent::Map instead of Concurrent::Hash in template converter
132
+ * use module_function keyword to define methods in Helpers
133
+ * move regular expression definitions to separate source file (internal change)
134
+
135
+ == 2.0.7 (2019-04-13) - @mojavelinux
136
+
137
+ Bug Fixes::
138
+
139
+ * fix crash when resolving ID from text and at least one candidate contains an unresolved xref (#3254)
140
+ * fix compatibility with Rouge 2.0
141
+
142
+ Improvements::
143
+
144
+ * improve documentation for the `-a` CLI option; explain that `@` modifier can be placed at end of name as alternative to end of value
145
+ * move source for main API entry points (load, load_file, convert, convert_file) to separate files (internal change)
146
+ * define main API entry points (load, load_file, convert, convert_file) as module functions
147
+
148
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
149
+
16
150
  == 2.0.6 (2019-04-04) - @mojavelinux
17
151
 
18
152
  Bug Fixes::
@@ -26,6 +160,8 @@ Improvements::
26
160
  * implement Helpers.extname as a more efficient and flexible File.extname method
27
161
  * check for AsciiDoc file extension using end_with? instead of resolving the extname and using a lookup
28
162
 
163
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
164
+
29
165
  == 2.0.5 (2019-04-01) - @mojavelinux
30
166
 
31
167
  Bug Fixes::
@@ -36,6 +172,8 @@ Bug Fixes::
36
172
  * mark encoding of stdio objects used in CLI as UTF-8 (#3225)
37
173
  * make Asciidoctor::SyntaxHighlighter::Config.register_for method public as documented
38
174
 
175
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
176
+
39
177
  == 2.0.4 (2019-03-31) - @mojavelinux
40
178
 
41
179
  Bug Fixes::
@@ -46,6 +184,8 @@ Bug Fixes::
46
184
  * move Asciidoctor::Converter::BackendTraits.derive_backend_traits method to Asciidoctor::Converter
47
185
  * mark render and render_file methods as deprecated in API docs
48
186
 
187
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
188
+
49
189
  == 2.0.3 (2019-03-28) - @mojavelinux
50
190
 
51
191
  Bug Fixes::
@@ -53,6 +193,8 @@ Bug Fixes::
53
193
  * fix crash when attrlist is used on literal monospace phrase (#3216)
54
194
  * update use of magic regexp variables to fix compatibility with Opal / Asciidoctor.js (#3214)
55
195
 
196
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
197
+
56
198
  == 2.0.2 (2019-03-26) - @mojavelinux
57
199
 
58
200
  Bug Fixes::
@@ -60,6 +202,8 @@ Bug Fixes::
60
202
  * apply verbatim substitutions to literal paragraphs attached to list item (#3205)
61
203
  * implement #lines and #source methods on Table::Cell based on cell text (#3207)
62
204
 
205
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
206
+
63
207
  == 2.0.1 (2019-03-25) - @mojavelinux
64
208
 
65
209
  Bug Fixes::
@@ -75,13 +219,15 @@ Build / Infrastructure::
75
219
 
76
220
  * bundle .yardopts in RubyGem (#3193)
77
221
 
222
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
223
+
78
224
  == 2.0.0 (2019-03-22) - @mojavelinux
79
225
 
80
226
  Enhancements / Compliance::
81
227
 
82
228
  * drop support for Ruby < 2.3 and JRuby < 9.1 and remove workarounds (#2764)
83
229
  * drop support for Slim < 3 (#2998)
84
- * drop the converter for the docbook45 backend (#3005)
230
+ * drop the converter for the docbook45 backend from core; moved to https://github.com/asciidoctor/asciidoctor-docbook45 (#3005)
85
231
  * apply substitutions to section and block titles in normal substitution order (#1173)
86
232
  * make syntax highlighter pluggable; extract all logic into adapter classes (#2106)
87
233
  * add syntax highlighter adapter for Rouge (#1040)
@@ -117,6 +263,7 @@ Enhancements / Compliance::
117
263
  * use the third argument of AbstractNode#attr / AbstractNode#attr? to set the name of a fallback attribute to look for on the document (#1934)
118
264
  * change default value of third argument to Abstractnode#attr / AbstractNode#attr? to nil so attribute doesn't inherit by default (#3059)
119
265
  * look for table-frame, table-grid, and table-stripes attributes on document as fallback for frame, grid, and stripes attributes on table (#3059)
266
+ * add support for hover mode for table stripes (stripes=hover) (#3110)
120
267
  * always assume the target of a shorthand interdocument xref is a reference to an AsciiDoc document (source-to-source) (#3021)
121
268
  * if the target of a formal xref macro has a file extension, assume it's a path reference (#3021)
122
269
  * never assume target of a formal xref macro is a path reference unless a file extension or fragment is present (#3021)
@@ -169,6 +316,7 @@ Improvements::
169
316
  * value comparison in AbstractNode#attr? is only performed if expected value is truthy
170
317
  * align default CodeRay style with style for other syntax highlighters (#2106)
171
318
  * ensure linenos class is added to linenos column when source highlighter is pygments and pygments-css=style
319
+ * disable table stripes by default (#3110)
172
320
  * rename CSS class of Pygments line numbering table to linenotable (to align with Rouge) (#1040)
173
321
  * remove unused Converter#convert_with_options method (#2891)
174
322
  * add -e, --embedded CLI flag as alias for -s, --no-header-footer (require long option to specify eRuby impl) (#1444)
@@ -242,7 +390,8 @@ Build / Infrastructure::
242
390
  * exclude test suite, build script, and Gemfile from gem (#3044)
243
391
  * split build tasks out into individual files
244
392
 
245
- // tag::compact[]
393
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
394
+
246
395
  == 1.5.8 (2018-10-28) - @mojavelinux
247
396
 
248
397
  Enhancements::
@@ -267,6 +416,7 @@ Enhancements::
267
416
  * add support for start attribute on source block to set starting line number when converting to DocBook (#2915)
268
417
  * track imagesdir for image on node and in catalog (#2779)
269
418
  * allow starting line number to be set using start attribute when highighting source block with Pygments or CodeRay (#1742)
419
+ * add intrinsic attribute named `pp` that effectively resolves to `++` (#2807)
270
420
  * upgrade highlight.js to 9.13.1
271
421
 
272
422
  Bug Fixes::
@@ -331,7 +481,6 @@ Documentation::
331
481
  Build / Infrastructure::
332
482
 
333
483
  * replace thread_safe with concurrent-ruby (PR #2822) (*@junaruga*)
334
- // end::compact[]
335
484
 
336
485
  == 1.5.7.1 (2018-05-10) - @mojavelinux
337
486
 
@@ -352,6 +501,11 @@ Enhancements::
352
501
 
353
502
  * BREAKING: drop XML tags, character refs, and non-word characters (except hyphen, dot, and space) when auto-generating section IDs (#794)
354
503
  ** hyphen, dot, and space are replaced with value of idseparator, if set; otherwise, spaces are dropped
504
+ * BREAKING: disable interdocument xrefs in compat mode (#2740)
505
+ * BREAKING: automatically parse attributes in link macro if equals is present, ignoring linkattrs (except in compat mode) (#2059)
506
+ * pass non-AsciiDoc file extensions in target of xref through unprocessed (#2740)
507
+ * process any known AsciiDoc file extension in target of shorthand interdocument xref if hash is also present (e.g., `<<target.asciidoc#,text>>`) (#2740)
508
+ * only allow .adoc to be used in target of formal xref macro to create an interdocument xref (with or without a hash) (#2740)
355
509
  * allow attribute names to contain any word character defined by Unicode (#2376, PR #2393)
356
510
  * do not recognize attribute entry line if name contains a colon (PR #2377)
357
511
  * route all processor messages through a logger instead of using Kernel#warn (#44, PR #2660)
@@ -471,7 +625,6 @@ Improvements / Refactoring::
471
625
  * move callouts into document catalog (PR #2394)
472
626
  * document ID defined in block attribute line takes precedence over ID defined inside document title line
473
627
  * don't look for link and window attributes on document when resolving these attributes for an image
474
- * when linkattrs is set, only parse attributes in link macro if equals is present
475
628
  * skip line comments in name section of manpage (#2584, PR #2585)
476
629
  * always activate extension registry passed to processor (PR #2379)
477
630
  * skip extension registry activation if no groups are registered (PR #2373)
@@ -848,7 +1001,7 @@ Enhancements::
848
1001
  * Honor SOURCE_DATE_EPOCH environment variable to accomodate reproducible builds (#1721) (*@JojoBoulix*)
849
1002
  * Add reversed attribute to ordered list if reversed option is enabled (#1830)
850
1003
  * Add support for additional docinfo locations (e.g., :header)
851
- * Configure default stylesheet to break monospace word if exceeds length of line; add roles to prevent breaks (#1814)
1004
+ * 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)
852
1005
  * Introduce translation file for built-in labels (*@ciampix*)
853
1006
  * Provide translations for built-in labels (*@JmyL* - kr, *@ciampix* - it, *@ivannov* - bg, *@maxandersen* - da, *@radcortez* - pt, *@eddumelendez* - es, *@leathersole* - jp, *@aslakknutsen* - no, *@shahryareiv* - fa, *@AlexanderZobkov* - ru, *@dongwq* - zh, *@rmpestano* - pt_BR, *@ncomet* - fr, *@lgvz* - fi, *@patoi* - hu, *@BojanStipic* - sr, *@fwilhe* - de, *@rahmanusta* - tr, *@abelsromero* - ca, *@aboullaite* - ar, *@roelvs* - nl)
854
1007
  * Translate README to Chinese (*@diguage*)
@@ -1102,7 +1255,7 @@ Improvements::
1102
1255
  * define JAVASCRIPT_PLATFORM constant to simplify conditional logic in the JavaScript environment (#897)
1103
1256
  * provide access to destination directory, outfile and outdir via Document object (#1203)
1104
1257
  * print encoding information in version report produced by `asciidoctor -v` (#1210)
1105
- * add intrinsic attribute named `cpp` with value `C++` (#1208)
1258
+ * add intrinsic attribute named `cpp` that effectively resolves to `C++` (#1208)
1106
1259
  * preserve URI targets passed to `stylesheet` and related attributes (#1192)
1107
1260
  * allow numeric characters in block attribute name (#1103)
1108
1261
  * support custom YouTube playlists (#1105)
data/LICENSE CHANGED
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
- Copyright (C) 2012-2019 Dan Allen, Ryan Waldron and the Asciidoctor Project
3
+ Copyright (C) 2012-2020 Dan Allen, Sarah White, Ryan Waldron, and the
4
+ individual contributors to Asciidoctor.
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  = Asciidoctor
2
2
  Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.6, 2019-04-04
3
+ v2.0.11, 2020-11-02
4
4
  // settings:
5
5
  :idprefix:
6
6
  :idseparator: -
@@ -17,7 +17,7 @@ ifdef::env-github[]
17
17
  :warning-caption: :warning:
18
18
  endif::[]
19
19
  // Variables:
20
- :release-version: 2.0.6
20
+ :release-version: 2.0.11
21
21
  // URIs:
22
22
  :uri-org: https://github.com/asciidoctor
23
23
  :uri-repo: {uri-org}/asciidoctor
@@ -40,7 +40,7 @@ endif::[]
40
40
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
41
41
  :uri-license: {uri-rel-file-base}LICENSE
42
42
  :uri-tests: {uri-rel-tree-base}test
43
- :uri-discuss: http://discuss.asciidoctor.org
43
+ :uri-discuss: https://discuss.asciidoctor.org
44
44
  :uri-irc: irc://irc.freenode.org/#asciidoctor
45
45
  :uri-rubygem: https://rubygems.org/gems/asciidoctor
46
46
  :uri-what-is-asciidoc: {uri-docs}/what-is-asciidoc
@@ -453,14 +453,14 @@ Asciidoctor Organization auf GitHub:: {uri-org}
453
453
 
454
454
  == Lizenz
455
455
 
456
- Copyright (C) 2012-2019 Dan Allen, Sarah White und die einzelnen Mitarbeiter von Asciidoctor.
456
+ Copyright (C) 2012-2020 Dan Allen, Sarah White, Ryan Waldron, und die einzelnen Mitarbeiter von Asciidoctor.
457
457
  Die Nutzung dieser Software wird unter den Bedingungen der MIT-Lizenz gewährt.
458
458
 
459
459
  Siehe die {uri-license}[LIZENZ] für den vollen Lizenztext.
460
460
 
461
461
  == Authoren
462
462
 
463
- *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
+ *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.
464
464
  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].
465
465
 
466
466
  *AsciiDoc* wurde von Stuart Rackham gegründet und hat Beiträge von vielen Personen aus der AsciiDoc-Community erhalten.
@@ -1,6 +1,6 @@
1
1
  = Asciidoctor
2
2
  Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.6, 2019-04-04
3
+ v2.0.11, 2020-11-02
4
4
  // settings:
5
5
  :idprefix:
6
6
  :idseparator: -
@@ -17,7 +17,7 @@ ifdef::env-github[]
17
17
  :warning-caption: :warning:
18
18
  endif::[]
19
19
  // Variables:
20
- :release-version: 2.0.6
20
+ :release-version: 2.0.11
21
21
  // URIs:
22
22
  :uri-org: https://github.com/asciidoctor
23
23
  :uri-repo: {uri-org}/asciidoctor
@@ -40,7 +40,7 @@ endif::[]
40
40
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
41
41
  :uri-license: {uri-rel-file-base}LICENSE
42
42
  :uri-tests: {uri-rel-tree-base}test
43
- :uri-discuss: http://discuss.asciidoctor.org
43
+ :uri-discuss: https://discuss.asciidoctor.org
44
44
  :uri-irc: irc://irc.freenode.org/#asciidoctor
45
45
  :uri-rubygem: https://rubygems.org/gems/asciidoctor
46
46
  :uri-what-is-asciidoc: {uri-docs}/what-is-asciidoc
@@ -422,7 +422,7 @@ L'organisation Asciidoctor sur GitHub:: {uri-org}
422
422
 
423
423
  == Licence
424
424
 
425
- Copyright (C) 2012-2019 Dan Allen, Sarah White et les contributeurs individuels d'Asciidoctor.
425
+ Copyright (C) 2012-2020 Dan Allen, Sarah White, Ryan Waldron, et les contributeurs individuels d'Asciidoctor.
426
426
  Une utilisation libre de ce logiciel est autorisée sous les termes de la licence MIT.
427
427
 
428
428
  Consultez le fichier {uri-license}[LICENSE] pour plus de détails.
@@ -1,8 +1,7 @@
1
1
  = Asciidoctor
2
2
  Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>; Ryan Waldron <https://github.com/erebor[@erebor]>
3
- v2.0.6, 2019-04-04
3
+ v2.0.11, 2020-11-02
4
4
  // settings:
5
- :page-layout: base
6
5
  :idprefix:
7
6
  :idseparator: -
8
7
  :source-language: ruby
@@ -18,13 +17,17 @@ ifdef::env-github[]
18
17
  :warning-caption: :warning:
19
18
  endif::[]
20
19
  // Variables:
21
- :release-version: 2.0.6
20
+ :release-version: 2.0.11
22
21
  // URIs:
23
22
  :uri-org: https://github.com/asciidoctor
24
23
  :uri-repo: {uri-org}/asciidoctor
25
24
  :uri-asciidoctorj: {uri-org}/asciidoctorj
26
25
  :uri-asciidoctorjs: {uri-org}/asciidoctor.js
26
+ :uri-gradle-plugin: {uri-org}/asciidoctor-gradle-plugin
27
+ :uri-maven-plugin: {uri-org}/asciidoctor-maven-plugin
28
+ :uri-asciidoclet: {uri-org}/asciidoclet
27
29
  :uri-project: https://asciidoctor.org
30
+ :uri-gem: https://rubygems.org/gems/asciidoctor
28
31
  ifdef::env-site[:uri-project: link:]
29
32
  :uri-docs: {uri-project}/docs
30
33
  :uri-news: {uri-project}/news
@@ -33,7 +36,7 @@ ifdef::env-site[:uri-project: link:]
33
36
  :uri-contributors: {uri-repo}/graphs/contributors
34
37
  :uri-rel-file-base: link:
35
38
  :uri-rel-tree-base: link:
36
- ifdef::env-site[]
39
+ ifdef::env-site,env-yard[]
37
40
  :uri-rel-file-base: {uri-repo}/blob/master/
38
41
  :uri-rel-tree-base: {uri-repo}/tree/master/
39
42
  endif::[]
@@ -41,85 +44,108 @@ endif::[]
41
44
  :uri-contribute: {uri-rel-file-base}CONTRIBUTING.adoc
42
45
  :uri-license: {uri-rel-file-base}LICENSE
43
46
  :uri-tests: {uri-rel-tree-base}test
44
- :uri-discuss: http://discuss.asciidoctor.org
47
+ :uri-discuss: https://discuss.asciidoctor.org
45
48
  :uri-irc: irc://irc.freenode.org/#asciidoctor
46
49
  :uri-rubygem: https://rubygems.org/gems/asciidoctor
47
50
  :uri-what-is-asciidoc: {uri-docs}/what-is-asciidoc
48
51
  :uri-user-manual: {uri-docs}/user-manual
49
52
  :uri-install-docker: https://github.com/asciidoctor/docker-asciidoctor
50
53
  //:uri-install-doc: {uri-docs}/install-toolchain
51
- :uri-install-osx-doc: {uri-docs}/install-asciidoctor-macosx
52
- :uri-render-doc: {uri-docs}/render-documents
54
+ :uri-install-macos-doc: {uri-docs}/install-asciidoctor-macos
55
+ :uri-convert-doc: {uri-docs}/convert-documents
53
56
  :uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
54
57
  :uri-gitscm-repo: https://github.com/git/git-scm.com
55
58
  :uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
56
59
  :uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
57
60
  :uri-foundation: https://foundation.zurb.com
61
+ :uri-opal: https://opalrb.com
58
62
  :uri-tilt: https://github.com/rtomayko/tilt
59
- :uri-ruby: https://ruby-lang.org
63
+ :uri-ruby: https://www.ruby-lang.org
60
64
  // images:
61
65
  :image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot.png
62
66
 
63
- {uri-project}/[Asciidoctor] _高速な_ テキストプロセッサで {uri-what-is-asciidoc}[AsciiDoc] をHTML 5, DocBook 5や他のフォーマットに変換するツールチェインを配布しています.
64
- AsciidoctorはRubyで書かれており, RubyGemとしてパッケージされ, {uri-rubygem}[RubyGems.org] で配布されています.
65
- gemはいくつかのLinuxディストリビューション, Fedora, Debian, Ubuntuにも含まれています.
66
- Asciidoctorはオープンソース {uri-repo}[hosted on GitHub] で {uri-license}[the MIT licence]のもとに配布されます.
67
-
68
- ifndef::env-site[]
69
- Translations of this document are available in the following languages:
70
-
71
- * {uri-rel-file-base}README-zh_CN.adoc[汉语]
72
- * {uri-rel-file-base}README.adoc[English]
73
- * {uri-rel-file-base}README-fr.adoc[Français]
67
+ {uri-project}[Asciidoctor]は, {uri-what-is-asciidoc}[AsciiDoc] で書かれたコンテンツをHTML5, DocBook, PDFなどのフォーマットに変換する, _高速で_ {uri-license}[オープンソース] のテキストプロセッサおよびパブリッシングツールチェインです.
68
+ AsciidoctorはRubyで書かれており, すべての主要オペレーティングシステムで動作します.
69
+ Asciidoctorプロジェクトは {uri-repo}[GitHubにホスティング] されています.
70
+
71
+ インストールをシンプルにするため, AsciidoctorはRubyGem(gem)パッケージとして, {uri-rubygem}[RubyGems.org] で配布されています.
72
+ さらに, Asciidoctorは主要なLinuxディストリビューション用およびmacOS用パッケージとしても配布されています.
73
+ AsciidctorはRubyで動作するだけでなく, {uri-asciidoctorj}[AsciidoctorJ]としてJVM上でも動作します. また, {uri-asciidoctorjs}[Asciidoctor.js]としてどのようなJavaScript環境(ブラウザを含む)でも実行できます.
74
+
75
+ ifndef::env-site,env-yard[]
76
+ このドキュメントには以下の言語版が存在します: +
77
+ {uri-rel-file-base}README.adoc[English]
78
+ |
79
+ {uri-rel-file-base}README-zh_CN.adoc[汉语]
80
+ |
81
+ {uri-rel-file-base}README-de.adoc[Deutsch]
82
+ |
83
+ {uri-rel-file-base}README-fr.adoc[Français]
74
84
  endif::[]
75
85
 
76
- .Key documentation
86
+ .主なドキュメント
77
87
  [.compact]
78
88
  * {uri-docs}/what-is-asciidoc[What is AsciiDoc?]
79
89
  * {uri-docs}/asciidoc-writers-guide[AsciiDoc Writer's Guide]
80
- * {uri-docs}/asciidoc-syntax-quick-reference[AsciiDoc Syntax Reference]
81
90
  * {uri-docs}/user-manual[Asciidoctor User Manual]
91
+ * {uri-docs}/asciidoc-syntax-quick-reference[AsciiDoc Syntax Reference]
82
92
 
83
- .Rubyの行く先, Asciidoctorの追うところ
84
- ****
85
- AsciidoctorはJRubyを用いてJVM上でも実行できます.
86
- Javaや他のJVM言語からAsciidoctor APIを直接呼び出すには, {uri-asciidoctorj}[AsciidoctorJ] を使ってください.
87
- AsciidoctorJに基づいた, AsciidoctorプロセッサをApache Maven, GradleやJavadocに統合するプラグインがあります.
93
+ ifdef::status[]
94
+ //.*Project health*
95
+ image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
96
+ image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
97
+ image:https://img.shields.io/travis/asciidoctor/asciidoctor/master.svg[Build Status (Travis CI),link=https://travis-ci.org/asciidoctor/asciidoctor]
98
+ image:https://ci.appveyor.com/api/projects/status/ifplu67oxvgn6ceq/branch/master?svg=true&amp;passingText=green%20bar&amp;failingText=%23fail&amp;pendingText=building%2E%2E%2E[Build Status (AppVeyor),link=https://ci.appveyor.com/project/asciidoctor/asciidoctor]
99
+ //image:https://img.shields.io/coveralls/asciidoctor/asciidoctor/master.svg[Coverage Status,link=https://coveralls.io/r/asciidoctor/asciidoctor]
100
+ //image:https://codeclimate.com/github/asciidoctor/asciidoctor/badges/gpa.svg[Code Climate,link=https://codeclimate.com/github/asciidoctor/asciidoctor]
101
+ image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
102
+ endif::[]
88
103
 
89
- AsciidoctorはJavaScriptでも実行可能です.
90
- {uri-asciidoctorjs}[Asciidoctor.js], WebブラウザやNode.jsのようなJavaScript環境で動くAsciidoctorの完全機能版, を生成するために, RubyのソースをJavaScriptにトランスパイルするのに https://opalrb.com[Opal]を使います.
91
- Asciidoctor.jsはChrome, Atom, Brackets や他のウェブベースのツールの拡張機能としてAsciiDocのプレビューのために使われます.
92
- ****
104
+ == スポンサー
93
105
 
94
- ifdef::status[]
95
- .*Project health*
96
- image:https://img.shields.io/travis/asciidoctor/asciidoctor/master.svg[Build Status (Travis CI), link=https://travis-ci.org/asciidoctor/asciidoctor]
97
- image:https://ci.appveyor.com/api/projects/status/ifplu67oxvgn6ceq/branch/master?svg=true&amp;passingText=green%20bar&amp;failingText=%23fail&amp;pendingText=building%2E%2E%2E[Build Status (AppVeyor), link=https://ci.appveyor.com/project/asciidoctor/asciidoctor]
98
- //image:https://img.shields.io/coveralls/asciidoctor/asciidoctor/master.svg[Coverage Status, link=https://coveralls.io/r/asciidoctor/asciidoctor]
99
- image:https://codeclimate.com/github/asciidoctor/asciidoctor/badges/gpa.svg[Code Climate, link="https://codeclimate.com/github/asciidoctor/asciidoctor"]
100
- image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs, link="https://inch-ci.org/github/asciidoctor/asciidoctor"]
106
+ {uri-project}/supporters[スポンサー] のみなさまが, このプロジェクトをサポートし, より良いテクニカルドキュメンテーションの実現にコミットメントをしてくださっていることに感謝します.
107
+ スポンサーのみなさま, ありがとうございます!
108
+ みなさまの多くのサポートなくしてAsciidoctorは実現不可能です.
109
+
110
+ ifndef::env-site,env-yard[]
111
+ Asciidoctorの主な資金的サポートは, *Change Maker* である https://opendevise.com[OpenDevise], *Strategy Sponsors* である https://www.khronos.org/[Khronos Group] とLinda Roberts, そして *Pull Request Backers* である Brian Dominick, Guillaume Grossetie, Abel Salgado Romero によって提供されています.
112
+ さらに, {uri-project}/supporters[Community Backers] のページに掲載されているサポーターによって追加的な資金が提供されています.
101
113
  endif::[]
102
114
 
103
- == The Big Picture
115
+ https://opencollective.com/asciidoctor[OpenCollective] を通じてスポンサーになることにより, このプロジェクトを支援することができます.
116
+
117
+ == 全体像
118
+
119
+ Asciidoctorは, 下図左側のようなプレーンテキストを読み込んで, 右側のようなHTML5に変換します.
120
+ 特別な設定をしなくてもきれいな表示が得られるよう, HTML5の出力にはデフォルトのスタイルシートが適用されます.
121
+
122
+ image::{image-uri-screenshot}[AsciiDocソースとレンダリングされたHTMLのプレビュー]
123
+
124
+ == AsciiDocの処理
104
125
 
105
- Asciidoctorは下図の左側のパネルに示されるように, 平文で書かれた内容を読み, 右のパネルに描かれるようにHTML 5に変換します.
106
- Asciidoctorは枠にとらわれない快適なエクスペリエンスのためにデフォルトスタイルシートをHTML 5ドキュメントに適用します.
126
+ Asciidoctorは, AsciiDoc文法で書かれたテキストを読み込んでパースします. 次に内蔵コンバータにパースツリーを渡します. これによりHTML5, DocBook 5やman(マニュアルmanページ)が出力されます.
127
+ 出力をカスタマイズしたりフォーマットを追加したりしたいときは, ユーザ独自のコンバータや {uri-tilt}[Tilt] 対応テンプレートを使用することができます.
107
128
 
108
- image::{image-uri-screenshot}[Preview of AsciiDoc source and corresponding rendered HTML]
129
+ AsciidoctorはオリジナルのAsciiDoc Pythonプロセッサ(`asciidoc.py`)に完全互換です.
130
+ Asciidoctorのテストスイートには, AsciiDoc文法との互換性を保証するために {uri-tests}[2350個を超えるテスト] が入っています.
109
131
 
110
- == AsciiDoc Processing
111
- AsciidoctorはAsciiDoc文法で書かれたテキストを読み込み解釈し, それからHTML 5, DocBook 5やman(ual)を出力するために内蔵コンバータセットにパースツリーを渡します.
112
- 生成された出力をカスタマイズ, あるいは追加のフォーマットをつくるためにあなた自身のコンバータを使うことや {uri-tilt}[Tilt]-supported テンプレートを読み込むオプションがあります.
132
+ Asciidoctorでは, AsciiDocの従来の文法のほかに, Asciidoctorで追加されたマークアップとフォーマッティングオプションが使用できます. フォントベースのアイコン (例えば, `+icon:fire[]+`) やUIエレメント(`+button:[Save]+`)がそれにあたります.
133
+ またAsciidoctorは, HTML5出力時のスタイルとして {uri-foundation}[Foundation] に基づいたモダンでレスポンシブなテーマも提供します.
113
134
 
114
- NOTE: AsciidoctorはオリジナルのAsciiDoc Pythonプロセッサ(`asciidoc.py`)の完全互換です.
115
- Asciidoctorテストスイートは {uri-tests}[> 1,600 tests] をAsciiDoc文法との互換性を保証するために有しています.
135
+ == RubyのあるところAsciidoctorも動く
116
136
 
117
- クラシックなAsciiDoc文法に加えて, Asciidoctorは追加のマークアップとフォントベースのicons(例えば, `+icon:fire[]+`)などのフォーマッティングオプションとUIエレメント(`+button:[Save]+`)を 受け付けます.
118
- AsciidoctorはHTML 5出力をスタイルするため, モダンで, {uri-foundation}[Foundation] に基づいたレスポンシブテーマをも提供します.
137
+ AsciidoctorはJRubyを用いてJVM上でも実行できます.
138
+ Javaや他のJVM言語からAsciidoctor APIを直接呼び出すには, {uri-asciidoctorj}[AsciidoctorJ] を使ってください.
139
+ AsciidoctorJを使ったAsciiDocの処理をビルドに直接組み込むビルドツール用プラグインとして, {uri-maven-plugin}[Apache Maven用], {uri-gradle-plugin}[Gradle用], および {uri-asciidoclet}[Javadoc用] が存在します.
140
+
141
+ AsciidoctorはJavaScriptでも実行可能です.
142
+ Rubyで書かれたソースを {uri-opal}[Opal] を使ってJavaScriptにトランスパイルすることで {uri-asciidoctorjs}[Asciidoctor.js] が作成されています.
143
+ Asciidoctor.jsはどんなJavaScript環境(WebブラウザやNode.jsを含む)でも動作する, JavaScript版の完全なAsciidoctorです.
144
+ Chrome, Atom, Bracketsやその他のウェブベースのツールで, AsciiDocをプレビューするための拡張機能にAsciidoctor.jsが使われています.
119
145
 
120
- == Requirements
146
+ == 必要条件
121
147
 
122
- AsciidoctorはLinux, OS X (Mac)とWindowsで動き, 下記の {uri-ruby}[Ruby]実装の一つを必要とします.
148
+ AsciidoctorはLinux, macOS, およびWindowsで動作し, 下記の {uri-ruby}[Ruby]実装の一つを必要とします.
123
149
 
124
150
  * CRuby (aka MRI) 2.3 - 2.6
125
151
  * JRuby 9.1 - 9.2
@@ -128,58 +154,121 @@ AsciidoctorはLinux, OS X (Mac)とWindowsで動き, 下記の {uri-ruby}[Ruby]
128
154
 
129
155
  [CAUTION]
130
156
  ====
131
- もし非英語環境のWindowsを使っているなら, Asciidoctorを起動した時に `Encoding::UndefinedConversionError` に遭遇するでしょう.
132
- これを解決するには使っているコンソールの有効なコードページをUTF-8:
157
+ もし非英語環境のWindowsを使っているなら, Asciidoctorを起動した時に `Encoding::UndefinedConversionError` に遭遇するかもしれません.
158
+ これを解決するには, 以下のコマンドにより, 使っているコンソールの有効なコードページをUTF-8に変更することを推奨します:
133
159
 
134
160
  chcp 65001
135
161
 
136
- に変更することを推奨します.
137
162
  一度この変更をすると, Unicode関連の頭痛の種は消えるでしょう.
138
163
  もしEclipseのようなIDEを使っているなら, 同様にエンコーディングをUTF-8にするのを忘れないでください.
139
- AsciidoctorはUTF-8が使われているところで最高の働きを見せます.
164
+ AsciidoctorはUTF-8の環境において最も良好に動作します.
140
165
  ====
141
166
 
142
- == Installation
167
+ == インストール
143
168
 
144
- Asciidoctor (a) `gem install` コマンド, (b) Bundler あるいは (c) 有名Linuxディストリビューションのパッケージマネージャ を用いてインストールされます.
169
+ Asciidoctorは, (a) 主なLinuxディストリビューションのパッケージマネージャ, (b) macOSのHomebrew, (c) `gem install` コマンド(Windowsユーザに推奨), (d) Asciidoctor Dockerイメージ, あるいは(e) Bundlerを用いてインストールできます.
145
170
 
146
- TIP: Linuxパッケージマネージャを用いてインストールすることの利点は, もしRubyやRubyGemsライブラリがまだインストールされていなかったら, それらを処理してくれることです.
147
- 欠点はgemのリリース直後にはすぐには有効にならないことです.
148
- もし最新バージョンを使いたければ, 必ず `gem` コマンドを使いましょう.
171
+ Linuxパッケージマネージャを用いてインストールする利点は, もしRubyやRubyGemsライブラリがまだインストールされていなかったら, それらをインストールしてくれることです.
149
172
 
150
- === (a) gem install
173
+ === (a) Linuxのパッケージマネージャ
151
174
 
152
- ターミナルを開き, 入力しましょう (先頭の`$`は除く):
175
+ パッケージマネージャによってインストールされるAsciidoctorは最新バージョンではないかもしれません.
176
+ ディストリビューションの各リリースにおいてどのバージョンのAsciidoctorがパッケージされているかを確認するには, パッケージリポジトリを参照してください.
153
177
 
154
- $ gem install asciidoctor
178
+ * https://pkgs.alpinelinux.org/packages?name=asciidoctor[Alpine Linux (asciidoctor)]
179
+ * https://www.archlinux.org/packages/?name=asciidoctor[Arch Linux (asciidoctor)]
180
+ * https://packages.debian.org/sid/asciidoctor[Debian (asciidoctor)]
181
+ * https://apps.fedoraproject.org/packages/rubygem-asciidoctor[Fedora (asciidoctor)]
182
+ * https://software.opensuse.org/package/rubygem-asciidoctor[OpenSUSE (rubygem-asciidoctor)]
183
+ * https://packages.ubuntu.com/search?keywords=asciidoctor[Ubuntu (asciidoctor)]
155
184
 
156
- もし, 先行リリースバージョン(例えばリリース候補版)をインストールしたければ
185
+ パッケージマネージャによってインストールされるバージョンよりも新しいAsciidoctorを使用したい場合は, <<gem-install,gemのインストール方法>> を参照してください.
157
186
 
158
- $ gem install asciidoctor --pre
187
+ ==== apk (Alpine Linux)
159
188
 
160
- .アップグレード
161
- [TIP]
162
- ====
163
- もしAsciidoctorの以前のバージョンがインストール済みであれば, 以下によってアップデートできます:
189
+ Alpine Linuxにgemをインストールするには, ターミナルを開き, 以下を入力してください:
164
190
 
165
- $ gem update asciidoctor
191
+ $ sudo apk add asciidoctor
166
192
 
167
- もし gem update の代わりに `gem install` を使ってgemを新バージョンにした場合, 複数バージョンがインストールされるでしょう.
168
- そのときは, 以下のgemコマンドで古いバージョンを削除しましょう:
193
+ ==== pacman (Arch Linux)
169
194
 
170
- $ gem cleanup asciidoctor
171
- ====
195
+ Archベースのディストリビューションにgemをインストールするには, ターミナルを開き, 以下を入力してください:
196
+
197
+ $ sudo pacman -S asciidoctor
198
+
199
+ ==== APT
200
+
201
+ Debian, またはUbuntuなどDebianベースのディストリビューションでは, APTを使ってAsciidoctorをインストールしてください.
202
+ Asciidoctorパッケージをインストールするには, ターミナルを開き, 以下を入力してください:
203
+
204
+ $ sudo apt-get install -y asciidoctor
205
+
206
+ ==== DNF
207
+
208
+ Fedora, CentOS, RHELなどRPMベースのLinuxディストリビューションでは, DNFパッケージマネージャを使ってAsciidoctorをインストールしてください.
209
+ Asciidoctorパッケージをインストールするには, ターミナルを開き, 以下を入力してください:
210
+
211
+ $ sudo dnf install -y asciidoctor
212
+
213
+ === (b) Homebrew (macOS)
214
+
215
+ macOSでは, パッケージマネージャHomebrewを使用してAsciidoctorをインストールすることができます.
216
+ Homebrewをお持ちでない場合は, まず https://brew.sh/[brew.sh] の説明に従ってHomebrewをインストールしてください.
217
+ Homebrewをインストールできたら, `asciidoctor` gemをインストールすることができます.
218
+ ターミナルを開き, 以下を入力してください:
219
+
220
+ $ brew install asciidoctor
221
+
222
+ Homebrewにより, システムレベルのgemとは別の独立したprefixのパスに `asciidoctor` gemがインストールされます.
223
+
224
+ === (c) Windows
172
225
 
173
- === (b) Bundler
226
+ WindowsでAsciidoctorを使う場合は, 簡単な方法が2つあります.
174
227
 
175
- . プロジェクトフォルダーのルート(かカレントディレクトリ)にGemfileを作成
228
+ ==== Chocolatey
229
+
230
+ すでにお使いのマシンで https://chocolatey.org[chocolatey] を使用しているなら, 以下の方法を使用することができます:
231
+
232
+ [source]
233
+ ----
234
+ choco install ruby
235
+ ----
236
+
237
+ そのあとは <<gem-install,gemのインストール方法>> に従ってください.
238
+
239
+ ==== Rubyinstaller
240
+
241
+ https://rubyinstaller.org/downloads/[Rubyinstaller] を使用したい場合は, お使いのWindowsのバージョンに適したRubyinstallerをダウンロードしてRubyをインストールしたあと, <<gem-install,gemのインストール方法>> に従ってください.
242
+
243
+ [#gem-install]
244
+ === (d) gem install
245
+
246
+ Asciidoctorを `gem install` を使ってインストールするのであれば, その前に https://rvm.io[RVM] を使ってhomeディレクトリ(つまりユーザ領域)にRubyをインストールしておくべきです.
247
+ そうすれば, `gem` コマンドを使用して安全にAsciidoctor gemのインストールやアップデートができます.
248
+ RVMを使用すると, システムから隔離された場所にgemがインストールされます.
249
+
250
+ ターミナルを開き, 以下のように入力してください:
251
+
252
+ $ gem install asciidoctor
253
+
254
+ もし, 先行リリースバージョン(例えばリリース候補版)をインストールしたければ以下のようにします.
255
+
256
+ $ gem install asciidoctor --pre
257
+
258
+ === (e) Docker
259
+
260
+ {uri-install-docker}[Installing Asciidoctor using Docker]を参照してください.
261
+
262
+ === (f) Bundler
263
+
264
+ . プロジェクトのルートフォルダ(またはカレントディレクトリ)にGemfileを作成
176
265
  . `asciidoctor` gemをGemfileに以下のように追加:
177
266
  +
178
267
  [source,subs=attributes+]
179
268
  ----
180
269
  source 'https://rubygems.org'
181
270
  gem 'asciidoctor'
182
- # or specify the version explicitly
271
+ # または明示的にバージョンを指定
183
272
  # gem 'asciidoctor', '{release-version}'
184
273
  ----
185
274
 
@@ -189,111 +278,89 @@ gem 'asciidoctor'
189
278
  $ bundle
190
279
 
191
280
  gemをアップグレードするには, Gemfileで新バージョンを指定し, `bundle` を再び実行してください.
192
- `bundle update` は他のgemもアップデートするため推奨されて *いない* ので, 思わぬ結果になるかも知れません.
281
+ `bundle update` を(gemを指定せずに)行うことは推奨 *されません* . 他のgemもアップデートされて思わぬ結果になるかもしれないためです.
193
282
 
194
- === (c) Linux package managers
283
+ == アップグレード
195
284
 
196
- ==== DNF (Fedora 21 or greater)
285
+ オペレーティングシステムのパッケージマネージャでAsciidoctorをインストールしたのであれば, おそらくパッケージは自動的にアップデートされるように設定されています. その場合は, gemを手動でアップデートする必要はありません.
197
286
 
198
- dnfを使いFedora21かそれ以上にインストールするには, ターミナルを開き, 以下を入力してください:
287
+ === apk (Alpine Linux)
199
288
 
200
- $ sudo dnf install -y asciidoctor
201
-
202
- gemをアップグレードするには:
203
-
204
- $ sudo dnf update -y asciidoctor
205
-
206
- TIP: お使いのシステムは自動的にrpmパッケージをアップデートするよう設定されているかも知れません.その場合, gemのアップデートのためにあなたがすべきことはありません.
289
+ gemをアップグレードするには, 以下を使用してください:
207
290
 
208
- ==== apt-get (Debian, Ubuntu, Mint)
209
-
210
- Debian, UbuntuまたはMintにインストールするには, ターミナルを開き, 以下を入力してください:
291
+ $ sudo apk add -u asciidoctor
211
292
 
212
- $ sudo apt-get install -y asciidoctor
293
+ === APT
213
294
 
214
- gemをアップグレードするには:
295
+ gemをアップグレードするには, 以下を使用してください:
215
296
 
216
297
  $ sudo apt-get upgrade -y asciidoctor
217
298
 
218
- TIP: お使いのシステムは自動的にdebパッケージをアップデートするよう設定されているかも知れません.その場合, gemのアップデートのためにあなたがすべきことはありません.
219
-
220
- パッケージマネージャ(apt-get)によってインストールされたバージョンのAsciidoctorは最新リリースのAsciidoctorではないかもしれません.
221
- ディストリビューションのリリース毎に, どのバージョンがパッケージされているかはパッケージリポジトリを調べてください.
222
-
223
- * https://packages.debian.org/search?keywords=asciidoctor&searchon=names&exact=1&suite=all&section=all[asciidoctor package by Debian release]
224
- * https://packages.ubuntu.com/search?keywords=asciidoctor&searchon=names&exact=1&suite=all&section=all[asciidoctor package by Ubuntu release]
225
- * https://community.linuxmint.com/software/view/asciidoctor[asciidoctor package by Mint release]
299
+ === DNF
226
300
 
227
- [CAUTION]
228
- ====
229
- パッケージマネージャによって管理されているgemをアップデートするのに `gem udpate` コマンドを使うなといわれるでしょう.
230
- そのようなことをするのは, パッケージマネージャがファイル(/usr/local下にインストールされた)を追跡できなくなるためにシステムが不安定な状態にするためです.
231
- 単純に, システムgemはパッケージマネージャによってのみ管理されるべきです.
301
+ gemをアップグレードするには, 以下を使用してください:
232
302
 
233
- もし, パッケージマネージャによってインストールされたのより新しいバージョンのAsciidoctorを使いたければ, https://rvm.io[RVM] https://github.com/rbenv/rbenv[rbenv]を使ってRubyをホームディレクトリ(すなわち, ユーザースペース)にインストールするべきです.
234
- それから, 安心して `gem` コマンドをAsciidoctorのアップデート, インストールのために使うことができます.
235
- RVMやrbenvを使っているなら, gemはシステムからは孤立した場所にインストールされます.
236
- ====
303
+ $ sudo dnf update -y asciidoctor
237
304
 
238
- ==== apk (Alpine Linux)
305
+ === Homebrew (macOS)
239
306
 
240
- Alpine Linuxにgemをインストールするには, ターミナルを開き, 以下を入力してください:
307
+ gemをアップグレードするには, 以下を使用してください:
241
308
 
242
- $ sudo apk add asciidoctor
309
+ $ brew update
310
+ $ brew upgrade asciidoctor
243
311
 
244
- gemをアップグレードするには:
312
+ === gem install
245
313
 
246
- $ sudo apk add -u asciidoctor
314
+ `gem` コマンドを使ってAsciidoctorをインストールした場合は, 新しいバージョンのAsciidoctorがリリースされたら手動でアップグレードする必要があります.
315
+ 以下を入力することでアップグレードできます:
247
316
 
248
- TIP: お使いのシステムは自動的にapkパッケージをアップデートするよう設定されているかも知れません.その場合, gemのアップデートのためにあなたがすべきことはありません.
317
+ $ gem install asciidoctor
249
318
 
250
- === Other installation options
319
+ `gem install` を使って新しいバージョンのgemをインストールすると, 複数のバージョンがインストールされた状態になります.
320
+ 以下のコマンドを使って古いバージョンを削除してください.
251
321
 
252
- * {uri-install-docker}[Installing Asciidoctor using Docker]
253
- * {uri-install-osx-doc}[Installing Asciidoctor on Mac OS X]
254
- // at the moment, the following entry is just a reiteration of the information in this README
255
- //* {uri-install-doc}[Installing the Asciidoctor toolchain]
322
+ $ gem cleanup asciidoctor
256
323
 
257
- == Usage
324
+ == 使い方
258
325
 
259
- Asciidoctorのインストールに成功すれば, `asciidoctor` コマンドラインインターフェース(CLI)がPATH中で有効になります.
260
- 確認のために, 以下をターミナルで実行しましょう:
326
+ Asciidoctorのインストールが成功すると, `asciidoctor` コマンドがPATHに存在するようになり, Asciidoctorのコマンドラインインターフェース(CLI)が使用できるようになります.
327
+ 確認のために, ターミナルで以下を実行しましょう:
261
328
 
262
329
  $ asciidoctor --version
263
330
 
264
- AsciidoctorのバージョンとRuby環境についての情報がターミナルに出力されたのを見ることができるはずです.
331
+ AsciidoctorのバージョンとRuby環境についての情報がターミナルに出力されるはずです.
265
332
 
266
333
  [.output,subs=attributes+]
267
334
  ....
268
335
  Asciidoctor {release-version} [https://asciidoctor.org]
269
- Runtime Environment (ruby 2.4.1p111 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
336
+ Runtime Environment (ruby 2.6.0p0 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
270
337
  ....
271
338
 
272
- AsciidoctorはAPIを提供します.
273
- APIは他のRubyソフトウェア, Rails, SinatraGitHub, そして他の言語, Java (via {uri-asciidoctorj}[AsciidoctorJ] )JavaScript (via {uri-asciidoctorjs}[Asciidoctor.js])との統合を意図しています.
339
+ AsciidoctorはAPIも提供します.
340
+ APIは他のRubyソフトウェア, たとえばRails, Sinatra, GitHub, そして他の言語, たとえばJava ({uri-asciidoctorj}[AsciidoctorJ] 経由)JavaScript ({uri-asciidoctorjs}[Asciidoctor.js] 経由)と組み合わせて使用するためのものです.
274
341
 
275
- === Command line interface (CLI)
342
+ === コマンドラインインターフェース (CLI)
276
343
 
277
- `asciidoctor` コマンドはAsciidoctorをコマンドライン(つまりターミナル)から起動することを可能にします.
344
+ `asciidoctor` コマンドによりコマンドライン(つまりターミナル)からAsciidoctorを起動することができます.
278
345
 
279
- 次のコマンドはファイルREADME.adocHTMLに変換し, 結果を同じディレクトリのREADME.htmlに保存します.
280
- 生成されたHTMLファイルの名前はソースファイル依存し, その拡張子を `.html` に変えます.
346
+ 次のコマンドにより, README.adocというファイルがHTMLに変換され, 結果が同じディレクトリのREADME.htmlとして保存されます.
347
+ 生成されるHTMLファイルの名前は, ソースファイルのファイル名の拡張子を `.html` に替えたものとなります.
281
348
 
282
349
  $ asciidoctor README.adoc
283
350
 
284
- Asciidoctorプロセッサに様々なフラグやスイッチを与えることで制御できます.それは以下を用いて調べることができます:
351
+ さまざまなフラグやスイッチを与えることでAsciidoctorプロセッサをコントロールすることができます. フラグやスイッチの説明は以下のコマンドで表示されます:
285
352
 
286
353
  $ asciidoctor --help
287
354
 
288
- 例えば, ファイルを異なるディレクトリに書き出すには:
355
+ 例えば, ファイルを異なるディレクトリに書き出すには以下を使用します:
289
356
 
290
357
  $ asciidoctor -D output README.adoc
291
358
 
292
- `asciidoctor` {uri-manpage}[man page] はコマンドライン・インタフェースの完全なリファレンスを提供します.
359
+ コマンドラインインタフェースの完全なリファレンスは `asciidoctor` {uri-manpage}[manページ] にあります.
293
360
 
294
- `asciidoctor` コマンドの使い方についてもっと学ぶには以下を参照してください.
361
+ `asciidoctor` コマンドの使い方の詳細については以下を参照してください.
295
362
 
296
- * {uri-render-doc}[How do I convert a document?]
363
+ * {uri-convert-doc}[How do I convert a document?]
297
364
  * {uri-themes-doc}[How do I use the Asciidoctor stylesheet factory to produce custom themes?]
298
365
 
299
366
  === Ruby API
@@ -303,16 +370,16 @@ Asciidoctorをアプリケーションの中で使うには, まずgemをrequire
303
370
  [source]
304
371
  require 'asciidoctor'
305
372
 
306
- それから, AsciiDocソースファイルをHTMLファイルに変換できます:
373
+ そうすると, 以下のようにしてAsciiDocソースファイルをHTMLファイルに変換できます:
307
374
 
308
375
  [source]
309
376
  Asciidoctor.convert_file 'README.adoc', to_file: true, safe: :safe
310
377
 
311
- WARNING: AsciidoctorをAPI経由で使っている時, デフォルトのセーフモードは `:secure` です.
312
- セキュアモードでは, `include` ディレクティブを含むいくつかのコア機能は無効化されています.
313
- もしこれらの機能を有効化したい場合, 明示的にセーフモードを `:server` (推奨)か `:safe` にする必要があります.
378
+ WARNING: AsciidoctorをAPI経由で使っているとき, デフォルトのセーフモードは `:secure` (セキュアモード)です.
379
+ セキュアモードでは, `include` ディレクティブを含むいくつかのコア機能が無効化されています.
380
+ これらの機能を有効化したい場合, 明示的にセーフモードを `:server` (推奨)か `:safe` にする必要があります.
314
381
 
315
- AsciiDoc文字列を埋め込みHTML(HTMLページヘの挿入)へ変換することもできます:
382
+ AsciiDoc文字列を, 埋め込み用HTML(HTMLページヘの挿入用)に変換することもできます:
316
383
 
317
384
  [source]
318
385
  ----
@@ -320,7 +387,7 @@ content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
320
387
  Asciidoctor.convert content, safe: :safe
321
388
  ----
322
389
 
323
- もし完全なHTMLドキュメントを求めるのであれば, `header_footer` オプションを以下の通り有効にしてください:
390
+ もし完全なHTMLドキュメントが必要であれば, 以下のように `header_footer` オプションを有効にしてください:
324
391
 
325
392
  [source]
326
393
  ----
@@ -328,7 +395,7 @@ content = '_Zen_ in the art of writing https://asciidoctor.org[AsciiDoc].'
328
395
  html = Asciidoctor.convert content, header_footer: true, safe: :safe
329
396
  ----
330
397
 
331
- パースされたドキュメントにアクセスしたいのなら, 変換を個々のステップに分割することが出来ます:
398
+ パースされたドキュメントにアクセスしたい場合は, 変換を複数のステップに分割します:
332
399
 
333
400
  [source]
334
401
  ----
@@ -338,81 +405,79 @@ puts document.doctitle
338
405
  html = document.convert
339
406
  ----
340
407
 
341
- Asciidoctorの生成する出力が気に入らないのであれば, _あなたはそれを変更できる_ ことを忘れないでください!
342
- Asciidoctorはパースされたドキュメントを生成された出力に変換する処理を扱うカスタムコンバーターをサポートしています.
408
+ Asciidoctorの生成する出力が気に入らない場合は, _あなたはそれを変更できる_ ことを忘れないでください!
409
+ パースされたドキュメントを出力形式に変換するコンバータは, カスタマイズが可能です.
343
410
 
344
- 断片的な出力をカスタマイズする簡単な方法の一つはテンプレートコンバーターを使うことです.
345
- テンプレートコンバーターによって, ドキュメント中のあらゆるノードの変換を扱うために {uri-tilt}[Tilt]-supportedテンプレートファイルを使うことができます.
411
+ 出力を部分的にカスタマイズする簡単な方法としてはテンプレートコンバータがあります.
412
+ テンプレートコンバータでは, ドキュメントの各ノードの変換に {uri-tilt}[Tilt]対応テンプレートファイルを使うことができます.
346
413
 
347
- そのようにすれば, 出力を100%制御することが _できます_ .
348
- APIの使い方や出力のカスタマイズ方法についてのより詳しい情報は {uri-user-manual}[user manual] を参照してください.
414
+ さまざまな方法を使って出力は100%制御することが _できます_ .
415
+ APIの使い方や出力のカスタマイズ方法についてのより詳しい情報は {uri-user-manual}[ユーザマニュアル] を参照してください.
349
416
 
350
- == Contributing
417
+ == コントリビューション
351
418
 
352
- {uri-freesoftware}[free software] の精神においては, _everyone_ がこのプロジェクトを改良するのをたすけることが勧められています.
353
- もしエラーや手抜かりをソースコード, ドキュメント, あるいはウェブサイトに見つけたのなら, 恥じることなく修正と共にpull requestの開設やissueの送信をしてください.
354
- New contributors are always welcome!
419
+ 新しいコントリビューションを常に歓迎します!
420
+ もしソースコード, ドキュメント, あるいはウェブサイトに間違いや不備を見つけたら遠慮なく, イシューを作成するか, 修正をおこなってpull requestを作成してください.
355
421
 
356
- *あなた* にもできることがあります:
422
+ *あなた* にもできることがあります:
357
423
 
358
- * 先行バージョン(alpha, beta or preview)の使用
424
+ * 先行バージョン(alpha, beta, またはpreview)の使用
359
425
  * バグレポート
360
426
  * 新機能提案
361
- * ドキュメントの執筆
362
- * 仕様の執筆
363
- * コーディング -- _パッチでも, 足りなすぎるなんてことはありません_
427
+ * ドキュメントの執筆または編集
428
+ * テストをつけてコードを書くこと -- _どのようなパッチであれ小さすぎるなどということはありません_
364
429
  ** typoの修正
365
430
  ** コメントの追加
366
431
  ** 一貫性のないホワイトスペースの除去
367
432
  ** テストの記述!
368
433
  * リファクタリング
369
- * {uri-issues}[issues] の修正
370
- * パッチの批評
434
+ * {uri-issues}[イシュー] の解決
435
+ * パッチのレビュー
371
436
 
372
- {uri-contribute}[Contributing] ガイドはどうやってスタイルをつくるか, issueを送るか, 機能リクエスト, コーディング, ドキュメンテーションをAsciidoctor Projectにするかについての情報を提供しています.
437
+ Asciidoctorプロジェクトにイシュー, 機能リクエスト, コード, ドキュメントを送る際の, 作成方法, スタイル, および送り方は, {uri-contribute}[Contributing] ガイドに記載されています.
373
438
 
374
- == Getting Help
439
+ == 助けを得る
375
440
 
376
- Asciidoctorプロジェクトはあなたが簡単に著作を書いて, 配布するのをたすけるため開発されています.
377
- しかしあなたのフィードバックなしにはできません!
378
- ディスカッションリストで, Twitterで, チャットルームで, 質問し, プロジェクトのあらゆる側面について話し合うようお勧めします.
441
+ Asciidoctorは, コンテンツの執筆と公開を簡単にするために開発されています.
442
+ しかしあなたからのフィードバックがなくてはAsciidoctorの開発は進みません!
443
+ ディスカッションリスト, Twitter, チャットルームを使って, 質問をしたりプロジェクトのさまざまな側面について話し合ったりすることをお勧めします.
379
444
 
380
- Discussion list (Nabble):: {uri-discuss}
381
- Twitter:: #asciidoctor hashtag or @asciidoctor mention
382
- Chat (Gitter):: image:https://badges.gitter.im/Join%20In.svg[Gitter, link=https://gitter.im/asciidoctor/asciidoctor]
445
+ チャット(Gitter):: image:https://badges.gitter.im/Join%20In.svg[Gitter, link=https://gitter.im/asciidoctor/asciidoctor]
446
+ ディスカッションリスト(Nabble):: {uri-discuss}
447
+ Twitter:: ハッシュタグ https://twitter.com/search?f=tweets&q=%23asciidoctor[#asciidoctor] またはメンション https://twitter.com/asciidoctor[@asciidoctor]
383
448
 
384
449
  ifdef::env-github[]
385
- 以下のプロジェクトサイトに、Asciidoctorに関するさらに詳しい情報やドキュメントがあります。
450
+ 以下のプロジェクトサイトに, Asciidoctorに関するさらに詳しい情報やドキュメントがあります.
386
451
 
387
- {uri-project}/[Home] | {uri-news}[News] | {uri-docs}[Docs]
452
+ {uri-project}[Home] | {uri-news}[News] | {uri-docs}[Docs]
388
453
  endif::[]
389
454
 
390
- GitHub上のAsciidoctorはプロジェクトのソースコード, イシュートラッカー, サブプロジェクトを管理しています.
455
+ GitHub上のAsciidoctorのorganizationではプロジェクトのソースコード, イシュートラッカー, サブプロジェクトが管理されています.
391
456
 
392
- Source repository (git):: {uri-repo}
393
- Issue tracker:: {uri-issues}
394
- Asciidoctor organization on GitHub:: {uri-org}
457
+ ソースリポジトリ(git):: {uri-repo}
458
+ イシュートラッカー:: {uri-issues}
459
+ GitHub上のAsciidoctororganization:: {uri-org}
395
460
 
396
- == Copyright and Licensing
461
+ == ライセンス
397
462
 
398
- Copyright (C) 2012-2019 Dan Allen, Ryan Waldron and the Asciidoctor Project.
399
- 本ソフトウェアはMITライセンスのもとで自由に使用できます.
463
+ Copyright (C) 2012-2020 Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor.
464
+ 本ソフトウェアはMITライセンスのもとで使用できます.
400
465
 
401
- 詳細は {uri-license}[LICENSE] ファイルを参照してください.
466
+ ライセンスの詳細については {uri-license}[LICENSE] ファイルを参照してください.
402
467
 
403
- == Authors
468
+ == 作者
404
469
 
405
- *Asciidoctor* は https://github.com/mojavelinux[Dan Allen] と https://github.com/graphitefriction[Sarah White] が先導し, Asciidoctorの素晴らしきコミュニティの数多くのメンバからコントリビューションを受けてきました.
406
- このプロジェクトは2012年から https://github.com/nickh[Nick Hengeveld] の {uri-prototype}[プロトタイプ] をベースに https://github.com/erebor[Ryan Waldron] により創始されました.
470
+ *Asciidoctor* は https://github.com/mojavelinux[Dan Allen] と https://github.com/graphitefriction[Sarah White] がリードし, Asciidoctorの素晴らしきコミュニティの {uri-contributors}[数多くのメンバ] からコントリビューションを受けてきました.
471
+ このプロジェクトは https://github.com/nickh[Nick Hengeveld] の {uri-prototype}[プロトタイプ] をベースに https://github.com/erebor[Ryan Waldron] により2012年から創始されました.
407
472
 
408
473
  *AsciiDoc* は Stuart Rackham により創始され, AsciiDocコミュニティの数多くのメンバからコントリビューションを受けてきました.
409
474
 
410
475
  ifndef::env-site[]
411
- == Changelog
476
+ == 変更履歴
412
477
 
413
478
  ifeval::[{safe-mode-level} < 20]
414
479
  include::CHANGELOG.adoc[tag=compact,leveloffset=+1]
415
480
  endif::[]
416
481
 
417
- リリースごとの変更一覧は {uri-changelog}[CHANGELOG] を参照してください.
482
+ 過去のリリースの完全な変更点リストについては {uri-changelog}[CHANGELOG] を参照してください.
418
483
  endif::[]