Hello community,
here is the log from the commit of package rubygem-asciidoctor for openSUSE:Factory checked in at 2019-08-05 11:17:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-asciidoctor (Old)
and /work/SRC/openSUSE:Factory/.rubygem-asciidoctor.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-asciidoctor"
Mon Aug 5 11:17:58 2019 rev:5 rq:717286 version:2.0.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-asciidoctor/rubygem-asciidoctor.changes 2019-05-15 12:24:22.630104330 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-asciidoctor.new.4126/rubygem-asciidoctor.changes 2019-08-05 11:17:59.666520550 +0200
@@ -1,0 +2,18 @@
+Fri Jul 19 08:54:48 UTC 2019 - Stephan Kulow
+
+- updated to version 2.0.10
+ see installed CHANGELOG.adoc
+
+ == 2.0.10 (2019-05-31) - @mojavelinux
+
+ Bug Fixes::
+
+ * fix Asciidoctor.convert_file to honor `header_footer: false` option when writing to file (#3316)
+ * fix placement of title on excerpt block (#3289)
+ * always pass same options to SyntaxHighlighter#docinfo, regardless of value of location argument
+ * fix signature of SyntaxHighlighter#docinfo method (#3300)
+ * when `icons` is set to `image`, enable image icons, but don't use it as the value of the `icontype` attribute (#3308)
+
+ // end::compact[]
+
+-------------------------------------------------------------------
Old:
----
asciidoctor-2.0.9.gem
New:
----
asciidoctor-2.0.10.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-asciidoctor.spec ++++++
--- /var/tmp/diff_new_pack.HpH3p3/_old 2019-08-05 11:18:00.670520139 +0200
+++ /var/tmp/diff_new_pack.HpH3p3/_new 2019-08-05 11:18:00.674520137 +0200
@@ -24,7 +24,7 @@
#
Name: rubygem-asciidoctor
-Version: 2.0.9
+Version: 2.0.10
Release: 0
%define mod_name asciidoctor
%define mod_full_name %{mod_name}-%{version}
++++++ asciidoctor-2.0.9.gem -> asciidoctor-2.0.10.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.adoc new/CHANGELOG.adoc
--- old/CHANGELOG.adoc 2018-03-20 01:00:00.000000000 +0100
+++ new/CHANGELOG.adoc 2018-03-20 01:00:00.000000000 +0100
@@ -14,6 +14,17 @@
For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
// tag::compact[]
+== 2.0.10 (2019-05-31) - @mojavelinux
+
+Bug Fixes::
+
+ * fix Asciidoctor.convert_file to honor `header_footer: false` option when writing to file (#3316)
+ * fix placement of title on excerpt block (#3289)
+ * always pass same options to SyntaxHighlighter#docinfo, regardless of value of location argument
+ * fix signature of SyntaxHighlighter#docinfo method (#3300)
+ * when `icons` is set to `image`, enable image icons, but don't use it as the value of the `icontype` attribute (#3308)
+
+// end::compact[]
== 2.0.9 (2019-04-30) - @mojavelinux
Bug Fixes::
@@ -25,7 +36,6 @@
* fix lineno of source location on blocks that follow a detached list continuation (#3281)
* assume inline image type is "image" if not set (typically by an extension)
-// end::compact[]
== 2.0.8 (2019-04-22) - @mojavelinux
Bug Fixes::
@@ -174,6 +184,7 @@
* use the third argument of AbstractNode#attr / AbstractNode#attr? to set the name of a fallback attribute to look for on the document (#1934)
* change default value of third argument to Abstractnode#attr / AbstractNode#attr? to nil so attribute doesn't inherit by default (#3059)
* look for table-frame, table-grid, and table-stripes attributes on document as fallback for frame, grid, and stripes attributes on table (#3059)
+ * add support for hover mode for table stripes (stripes=hover) (#3110)
* always assume the target of a shorthand interdocument xref is a reference to an AsciiDoc document (source-to-source) (#3021)
* if the target of a formal xref macro has a file extension, assume it's a path reference (#3021)
* never assume target of a formal xref macro is a path reference unless a file extension or fragment is present (#3021)
@@ -226,6 +237,7 @@
* value comparison in AbstractNode#attr? is only performed if expected value is truthy
* align default CodeRay style with style for other syntax highlighters (#2106)
* ensure linenos class is added to linenos column when source highlighter is pygments and pygments-css=style
+ * disable table stripes by default (#3110)
* rename CSS class of Pygments line numbering table to linenotable (to align with Rouge) (#1040)
* remove unused Converter#convert_with_options method (#2891)
* add -e, --embedded CLI flag as alias for -s, --no-header-footer (require long option to specify eRuby impl) (#1444)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README-de.adoc new/README-de.adoc
--- old/README-de.adoc 2018-03-20 01:00:00.000000000 +0100
+++ new/README-de.adoc 2018-03-20 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
= Asciidoctor
Dan Allen https://github.com/mojavelinux[@mojavelinux]; Sarah White https://github.com/graphitefriction[@graphitefriction]; Ryan Waldron https://github.com/erebor[@erebor]
-v2.0.9, 2019-04-30
+v2.0.10, 2019-05-31
// settings:
:idprefix:
:idseparator: -
@@ -17,7 +17,7 @@
:warning-caption: :warning:
endif::[]
// Variables:
-:release-version: 2.0.9
+:release-version: 2.0.10
// URIs:
:uri-org: https://github.com/asciidoctor
:uri-repo: {uri-org}/asciidoctor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README-fr.adoc new/README-fr.adoc
--- old/README-fr.adoc 2018-03-20 01:00:00.000000000 +0100
+++ new/README-fr.adoc 2018-03-20 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
= Asciidoctor
Dan Allen https://github.com/mojavelinux[@mojavelinux]; Sarah White https://github.com/graphitefriction[@graphitefriction]; Ryan Waldron https://github.com/erebor[@erebor]
-v2.0.9, 2019-04-30
+v2.0.10, 2019-05-31
// settings:
:idprefix:
:idseparator: -
@@ -17,7 +17,7 @@
:warning-caption: :warning:
endif::[]
// Variables:
-:release-version: 2.0.9
+:release-version: 2.0.10
// URIs:
:uri-org: https://github.com/asciidoctor
:uri-repo: {uri-org}/asciidoctor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README-jp.adoc new/README-jp.adoc
--- old/README-jp.adoc 2018-03-20 01:00:00.000000000 +0100
+++ new/README-jp.adoc 2018-03-20 01:00:00.000000000 +0100
@@ -1,8 +1,7 @@
= Asciidoctor
Dan Allen https://github.com/mojavelinux[@mojavelinux]; Sarah White https://github.com/graphitefriction[@graphitefriction]; Ryan Waldron https://github.com/erebor[@erebor]
-v2.0.9, 2019-04-30
+v2.0.10, 2019-05-31
// settings:
-:page-layout: base
:idprefix:
:idseparator: -
:source-language: ruby
@@ -18,13 +17,17 @@
:warning-caption: :warning:
endif::[]
// Variables:
-:release-version: 2.0.9
+:release-version: 2.0.10
// URIs:
:uri-org: https://github.com/asciidoctor
:uri-repo: {uri-org}/asciidoctor
:uri-asciidoctorj: {uri-org}/asciidoctorj
:uri-asciidoctorjs: {uri-org}/asciidoctor.js
+:uri-gradle-plugin: {uri-org}/asciidoctor-gradle-plugin
+:uri-maven-plugin: {uri-org}/asciidoctor-maven-plugin
+:uri-asciidoclet: {uri-org}/asciidoclet
:uri-project: https://asciidoctor.org
+:uri-gem: https://rubygems.org/gems/asciidoctor
ifdef::env-site[:uri-project: link:]
:uri-docs: {uri-project}/docs
:uri-news: {uri-project}/news
@@ -33,7 +36,7 @@
:uri-contributors: {uri-repo}/graphs/contributors
:uri-rel-file-base: link:
:uri-rel-tree-base: link:
-ifdef::env-site[]
+ifdef::env-site,env-yard[]
:uri-rel-file-base: {uri-repo}/blob/master/
:uri-rel-tree-base: {uri-repo}/tree/master/
endif::[]
@@ -48,78 +51,101 @@
:uri-user-manual: {uri-docs}/user-manual
:uri-install-docker: https://github.com/asciidoctor/docker-asciidoctor
//:uri-install-doc: {uri-docs}/install-toolchain
-:uri-install-osx-doc: {uri-docs}/install-asciidoctor-macosx
-:uri-render-doc: {uri-docs}/render-documents
+:uri-install-macos-doc: {uri-docs}/install-asciidoctor-macos
+:uri-convert-doc: {uri-docs}/convert-documents
:uri-themes-doc: {uri-docs}/produce-custom-themes-using-asciidoctor-stylesheet-factory
:uri-gitscm-repo: https://github.com/git/git-scm.com
:uri-prototype: {uri-gitscm-repo}/commits/master/lib/asciidoc.rb
:uri-freesoftware: https://www.gnu.org/philosophy/free-sw.html
:uri-foundation: https://foundation.zurb.com
+:uri-opal: https://opalrb.com
:uri-tilt: https://github.com/rtomayko/tilt
-:uri-ruby: https://ruby-lang.org
+:uri-ruby: https://www.ruby-lang.org
// images:
:image-uri-screenshot: https://raw.githubusercontent.com/asciidoctor/asciidoctor/master/screenshot....
-{uri-project}/[Asciidoctor]は _高速な_ テキストプロセッサで {uri-what-is-asciidoc}[AsciiDoc] をHTML 5, DocBook 5や他のフォーマットに変換するツールチェインを配布しています.
-AsciidoctorはRubyで書かれており, RubyGemとしてパッケージされ, {uri-rubygem}[RubyGems.org] で配布されています.
-gemはいくつかのLinuxディストリビューション, Fedora, Debian, Ubuntuにも含まれています.
-Asciidoctorはオープンソース {uri-repo}[hosted on GitHub] で {uri-license}[the MIT licence]のもとに配布されます.
-
-ifndef::env-site[]
-Translations of this document are available in the following languages:
-
-* {uri-rel-file-base}README-zh_CN.adoc[汉语]
-* {uri-rel-file-base}README.adoc[English]
-* {uri-rel-file-base}README-fr.adoc[Français]
+{uri-project}[Asciidoctor]は, {uri-what-is-asciidoc}[AsciiDoc] で書かれたコンテンツをHTML5, DocBook, PDFなどのフォーマットに変換する, _高速で_ {uri-license}[オープンソース] のテキストプロセッサおよびパブリッシングツールチェインです.
+AsciidoctorはRubyで書かれており, すべての主要オペレーティングシステムで動作します.
+Asciidoctorプロジェクトは {uri-repo}[GitHubにホスティング] されています.
+
+インストールをシンプルにするため, AsciidoctorはRubyGem(gem)パッケージとして, {uri-rubygem}[RubyGems.org] で配布されています.
+さらに, Asciidoctorは主要なLinuxディストリビューション用およびmacOS用パッケージとしても配布されています.
+AsciidctorはRubyで動作するだけでなく, {uri-asciidoctorj}[AsciidoctorJ]としてJVM上でも動作します. また, {uri-asciidoctorjs}[Asciidoctor.js]としてどのようなJavaScript環境(ブラウザを含む)でも実行できます.
+
+ifndef::env-site,env-yard[]
+このドキュメントには以下の言語版が存在します: +
+{uri-rel-file-base}README.adoc[English]
+|
+{uri-rel-file-base}README-zh_CN.adoc[汉语]
+|
+{uri-rel-file-base}README-de.adoc[Deutsch]
+|
+{uri-rel-file-base}README-fr.adoc[Français]
endif::[]
-.Key documentation
+.主なドキュメント
[.compact]
* {uri-docs}/what-is-asciidoc[What is AsciiDoc?]
* {uri-docs}/asciidoc-writers-guide[AsciiDoc Writer's Guide]
-* {uri-docs}/asciidoc-syntax-quick-reference[AsciiDoc Syntax Reference]
* {uri-docs}/user-manual[Asciidoctor User Manual]
+* {uri-docs}/asciidoc-syntax-quick-reference[AsciiDoc Syntax Reference]
-.Rubyの行く先, Asciidoctorの追うところ
-****
-AsciidoctorはJRubyを用いてJVM上でも実行できます.
-Javaや他のJVM言語からAsciidoctor APIを直接呼び出すには, {uri-asciidoctorj}[AsciidoctorJ] を使ってください.
-AsciidoctorJに基づいた, AsciidoctorプロセッサをApache Maven, GradleやJavadocに統合するプラグインがあります.
+ifdef::status[]
+//.*Project health*
+image:https://img.shields.io/gem/v/asciidoctor.svg[Latest Release, link={uri-gem}]
+image:https://img.shields.io/badge/rubydoc.info-{release-version}-blue.svg[library (API) docs,link=https://www.rubydoc.info/gems/asciidoctor/{release-version}]
+image:https://img.shields.io/travis/asciidoctor/asciidoctor/master.svg[Build Status (Travis CI),link=https://travis-ci.org/asciidoctor/asciidoctor]
+image:https://ci.appveyor.com/api/projects/status/ifplu67oxvgn6ceq/branch/master?svg=true&passingText=green%20bar&failingText=%23fail&pendingText=building%2E%2E%2E[Build Status (AppVeyor),link=https://ci.appveyor.com/project/asciidoctor/asciidoctor]
+//image:https://img.shields.io/coveralls/asciidoctor/asciidoctor/master.svg[Coverage Status,link=https://coveralls.io/r/asciidoctor/asciidoctor]
+//image:https://codeclimate.com/github/asciidoctor/asciidoctor/badges/gpa.svg[Code Climate,link=https://codeclimate.com/github/asciidoctor/asciidoctor]
+image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs,link=https://inch-ci.org/github/asciidoctor/asciidoctor]
+endif::[]
-AsciidoctorはJavaScriptでも実行可能です.
-{uri-asciidoctorjs}[Asciidoctor.js], WebブラウザやNode.jsのようなJavaScript環境で動くAsciidoctorの完全機能版, を生成するために, RubyのソースをJavaScriptにトランスパイルするのに https://opalrb.com[Opal]を使います.
-Asciidoctor.jsはChrome, Atom, Brackets や他のウェブベースのツールの拡張機能としてAsciiDocのプレビューのために使われます.
-****
+== スポンサー
-ifdef::status[]
-.*Project health*
-image:https://img.shields.io/travis/asciidoctor/asciidoctor/master.svg[Build Status (Travis CI), link=https://travis-ci.org/asciidoctor/asciidoctor]
-image:https://ci.appveyor.com/api/projects/status/ifplu67oxvgn6ceq/branch/master?svg=true&passingText=green%20bar&failingText=%23fail&pendingText=building%2E%2E%2E[Build Status (AppVeyor), link=https://ci.appveyor.com/project/asciidoctor/asciidoctor]
-//image:https://img.shields.io/coveralls/asciidoctor/asciidoctor/master.svg[Coverage Status, link=https://coveralls.io/r/asciidoctor/asciidoctor]
-image:https://codeclimate.com/github/asciidoctor/asciidoctor/badges/gpa.svg[Code Climate, link="https://codeclimate.com/github/asciidoctor/asciidoctor"]
-image:https://inch-ci.org/github/asciidoctor/asciidoctor.svg?branch=master[Inline docs, link="https://inch-ci.org/github/asciidoctor/asciidoctor"]
+{uri-project}/supporters[スポンサー] のみなさまが, このプロジェクトをサポートし, より良いテクニカルドキュメンテーションの実現にコミットメントをしてくださっていることに感謝します.
+スポンサーのみなさま, ありがとうございます!
+みなさまの多くのサポートなくしてAsciidoctorは実現不可能です.
+
+ifndef::env-site,env-yard[]
+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 によって提供されています.
+さらに, {uri-project}/supporters[Community Backers] のページに掲載されているサポーターによって追加的な資金が提供されています.
endif::[]
-== The Big Picture
+https://opencollective.com/asciidoctor[OpenCollective] を通じてスポンサーになることにより, このプロジェクトを支援することができます.
-Asciidoctorは下図の左側のパネルに示されるように, 平文で書かれた内容を読み, 右のパネルに描かれるようにHTML 5に変換します.
-Asciidoctorは枠にとらわれない快適なエクスペリエンスのためにデフォルトスタイルシートをHTML 5ドキュメントに適用します.
+== 全体像
-image::{image-uri-screenshot}[Preview of AsciiDoc source and corresponding rendered HTML]
+Asciidoctorは, 下図左側のようなプレーンテキストを読み込んで, 右側のようなHTML5に変換します.
+特別な設定をしなくてもきれいな表示が得られるよう, HTML5の出力にはデフォルトのスタイルシートが適用されます.
-== AsciiDoc Processing
-AsciidoctorはAsciiDoc文法で書かれたテキストを読み込み解釈し, それからHTML 5, DocBook 5やman(ual)を出力するために内蔵コンバータセットにパースツリーを渡します.
-生成された出力をカスタマイズ, あるいは追加のフォーマットをつくるためにあなた自身のコンバータを使うことや {uri-tilt}[Tilt]-supported テンプレートを読み込むオプションがあります.
+image::{image-uri-screenshot}[AsciiDocソースとレンダリングされたHTMLのプレビュー]
-NOTE: AsciidoctorはオリジナルのAsciiDoc Pythonプロセッサ(`asciidoc.py`)の完全互換です.
-Asciidoctorテストスイートは {uri-tests}[> 1,600 tests] をAsciiDoc文法との互換性を保証するために有しています.
+== AsciiDocの処理
-クラシックなAsciiDoc文法に加えて, Asciidoctorは追加のマークアップとフォントベースのicons(例えば, `+icon:fire[]+`)などのフォーマッティングオプションとUIエレメント(`+button:[Save]+`)を 受け付けます.
-AsciidoctorはHTML 5出力をスタイルするため, モダンで, {uri-foundation}[Foundation] に基づいたレスポンシブテーマをも提供します.
+Asciidoctorは, AsciiDoc文法で書かれたテキストを読み込んでパースします. 次に内蔵コンバータにパースツリーを渡します. これによりHTML5, DocBook 5やman(マニュアルmanページ)が出力されます.
+出力をカスタマイズしたりフォーマットを追加したりしたいときは, ユーザ独自のコンバータや {uri-tilt}[Tilt] 対応テンプレートを使用することができます.
-== Requirements
+AsciidoctorはオリジナルのAsciiDoc Pythonプロセッサ(`asciidoc.py`)に完全互換です.
+Asciidoctorのテストスイートには, AsciiDoc文法との互換性を保証するために {uri-tests}[2350個を超えるテスト] が入っています.
-AsciidoctorはLinux, OS X (Mac)とWindowsで動き, 下記の {uri-ruby}[Ruby]実装の一つを必要とします.
+Asciidoctorでは, AsciiDocの従来の文法のほかに, Asciidoctorで追加されたマークアップとフォーマッティングオプションが使用できます. フォントベースのアイコン (例えば, `+icon:fire[]+`) やUIエレメント(`+button:[Save]+`)がそれにあたります.
+またAsciidoctorは, HTML5出力時のスタイルとして {uri-foundation}[Foundation] に基づいたモダンでレスポンシブなテーマも提供します.
+
+== RubyのあるところAsciidoctorも動く
+
+AsciidoctorはJRubyを用いてJVM上でも実行できます.
+Javaや他のJVM言語からAsciidoctor APIを直接呼び出すには, {uri-asciidoctorj}[AsciidoctorJ] を使ってください.
+AsciidoctorJを使ったAsciiDocの処理をビルドに直接組み込むビルドツール用プラグインとして, {uri-maven-plugin}[Apache Maven用], {uri-gradle-plugin}[Gradle用], および {uri-asciidoclet}[Javadoc用] が存在します.
+
+AsciidoctorはJavaScriptでも実行可能です.
+Rubyで書かれたソースを {uri-opal}[Opal] を使ってJavaScriptにトランスパイルすることで {uri-asciidoctorjs}[Asciidoctor.js] が作成されています.
+Asciidoctor.jsはどんなJavaScript環境(WebブラウザやNode.jsを含む)でも動作する, JavaScript版の完全なAsciidoctorです.
+Chrome, Atom, Bracketsやその他のウェブベースのツールで, AsciiDocをプレビューするための拡張機能にAsciidoctor.jsが使われています.
+
+== 必要条件
+
+AsciidoctorはLinux, macOS, およびWindowsで動作し, 下記の {uri-ruby}[Ruby]実装の一つを必要とします.
* CRuby (aka MRI) 2.3 - 2.6
* JRuby 9.1 - 9.2
@@ -128,58 +154,121 @@
[CAUTION]
====
-もし非英語環境のWindowsを使っているなら, Asciidoctorを起動した時に `Encoding::UndefinedConversionError` に遭遇するでしょう.
-これを解決するには使っているコンソールの有効なコードページをUTF-8:
+もし非英語環境のWindowsを使っているなら, Asciidoctorを起動した時に `Encoding::UndefinedConversionError` に遭遇するかもしれません.
+これを解決するには, 以下のコマンドにより, 使っているコンソールの有効なコードページをUTF-8に変更することを推奨します:
chcp 65001
-に変更することを推奨します.
一度この変更をすると, Unicode関連の頭痛の種は消えるでしょう.
もしEclipseのようなIDEを使っているなら, 同様にエンコーディングをUTF-8にするのを忘れないでください.
-AsciidoctorはUTF-8が使われているところで最高の働きを見せます.
+AsciidoctorはUTF-8の環境において最も良好に動作します.
====
-== Installation
+== インストール
-Asciidoctorは (a) `gem install` コマンド, (b) Bundler あるいは (c) 有名Linuxディストリビューションのパッケージマネージャ を用いてインストールされます.
+Asciidoctorは, (a) 主なLinuxディストリビューションのパッケージマネージャ, (b) macOSのHomebrew, (c) `gem install` コマンド(Windowsユーザに推奨), (d) Asciidoctor Dockerイメージ, あるいは(e) Bundlerを用いてインストールできます.
-TIP: Linuxパッケージマネージャを用いてインストールすることの利点は, もしRubyやRubyGemsライブラリがまだインストールされていなかったら, それらを処理してくれることです.
-欠点はgemのリリース直後にはすぐには有効にならないことです.
-もし最新バージョンを使いたければ, 必ず `gem` コマンドを使いましょう.
+Linuxパッケージマネージャを用いてインストールする利点は, もしRubyやRubyGemsライブラリがまだインストールされていなかったら, それらをインストールしてくれることです.
-=== (a) gem install
+=== (a) Linuxのパッケージマネージャ
-ターミナルを開き, 入力しましょう (先頭の`$`は除く):
+パッケージマネージャによってインストールされるAsciidoctorは最新バージョンではないかもしれません.
+ディストリビューションの各リリースにおいてどのバージョンのAsciidoctorがパッケージされているかを確認するには, パッケージリポジトリを参照してください.
- $ gem install asciidoctor
+* https://pkgs.alpinelinux.org/packages?name=asciidoctor[Alpine Linux (asciidoctor)]
+* https://www.archlinux.org/packages/?name=asciidoctor[Arch Linux (asciidoctor)]
+* https://packages.debian.org/sid/asciidoctor[Debian (asciidoctor)]
+* https://apps.fedoraproject.org/packages/rubygem-asciidoctor[Fedora (asciidoctor)]
+* https://software.opensuse.org/package/rubygem-asciidoctor[OpenSUSE (rubygem-asciidoctor)]
+* https://packages.ubuntu.com/search?keywords=asciidoctor[Ubuntu (asciidoctor)]
-もし, 先行リリースバージョン(例えばリリース候補版)をインストールしたければ
+パッケージマネージャによってインストールされるバージョンよりも新しいAsciidoctorを使用したい場合は, <> を参照してください.
- $ gem install asciidoctor --pre
+==== apk (Alpine Linux)
-.アップグレード
-[TIP]
-====
-もしAsciidoctorの以前のバージョンがインストール済みであれば, 以下によってアップデートできます:
+Alpine Linuxにgemをインストールするには, ターミナルを開き, 以下を入力してください:
- $ gem update asciidoctor
+ $ sudo apk add asciidoctor
-もし gem update の代わりに `gem install` を使ってgemを新バージョンにした場合, 複数バージョンがインストールされるでしょう.
-そのときは, 以下のgemコマンドで古いバージョンを削除しましょう:
+==== pacman (Arch Linux)
- $ gem cleanup asciidoctor
-====
+Archベースのディストリビューションにgemをインストールするには, ターミナルを開き, 以下を入力してください:
+
+ $ sudo pacman -S asciidoctor
+
+==== APT
+
+Debian, またはUbuntuなどDebianベースのディストリビューションでは, APTを使ってAsciidoctorをインストールしてください.
+Asciidoctorパッケージをインストールするには, ターミナルを開き, 以下を入力してください:
+
+ $ sudo apt-get install -y asciidoctor
+
+==== DNF
+
+Fedora, CentOS, RHELなどRPMベースのLinuxディストリビューションでは, DNFパッケージマネージャを使ってAsciidoctorをインストールしてください.
+Asciidoctorパッケージをインストールするには, ターミナルを開き, 以下を入力してください:
+
+ $ sudo dnf install -y asciidoctor
+
+=== (b) Homebrew (macOS)
+
+macOSでは, パッケージマネージャHomebrewを使用してAsciidoctorをインストールすることができます.
+Homebrewをお持ちでない場合は, まず https://brew.sh/[brew.sh] の説明に従ってHomebrewをインストールしてください.
+Homebrewをインストールできたら, `asciidoctor` gemをインストールすることができます.
+ターミナルを開き, 以下を入力してください:
+
+ $ brew install asciidoctor
+
+Homebrewにより, システムレベルのgemとは別の独立したprefixのパスに `asciidoctor` gemがインストールされます.
+
+=== (c) Windows
-=== (b) Bundler
+WindowsでAsciidoctorを使う場合は, 簡単な方法が2つあります.
-. プロジェクトフォルダーのルート(かカレントディレクトリ)にGemfileを作成
+==== Chocolatey
+
+すでにお使いのマシンで https://chocolatey.org[chocolatey] を使用しているなら, 以下の方法を使用することができます:
+
+[source]
+----
+choco install ruby
+----
+
+そのあとは <> に従ってください.
+
+==== Rubyinstaller
+
+https://rubyinstaller.org/downloads/[Rubyinstaller] を使用したい場合は, お使いのWindowsのバージョンに適したRubyinstallerをダウンロードしてRubyをインストールしたあと, <> に従ってください.
+
+[#gem-install]
+=== (d) gem install
+
+Asciidoctorを `gem install` を使ってインストールするのであれば, その前に https://rvm.io[RVM] を使ってhomeディレクトリ(つまりユーザ領域)にRubyをインストールしておくべきです.
+そうすれば, `gem` コマンドを使用して安全にAsciidoctor gemのインストールやアップデートができます.
+RVMを使用すると, システムから隔離された場所にgemがインストールされます.
+
+ターミナルを開き, 以下のように入力してください:
+
+ $ gem install asciidoctor
+
+もし, 先行リリースバージョン(例えばリリース候補版)をインストールしたければ以下のようにします.
+
+ $ gem install asciidoctor --pre
+
+=== (e) Docker
+
+{uri-install-docker}[Installing Asciidoctor using Docker]を参照してください.
+
+=== (f) Bundler
+
+. プロジェクトのルートフォルダ(またはカレントディレクトリ)にGemfileを作成
. `asciidoctor` gemをGemfileに以下のように追加:
+
[source,subs=attributes+]
----
source 'https://rubygems.org'
gem 'asciidoctor'
-# or specify the version explicitly
+# または明示的にバージョンを指定
# gem 'asciidoctor', '{release-version}'
----
@@ -189,111 +278,89 @@
$ bundle
gemをアップグレードするには, Gemfileで新バージョンを指定し, `bundle` を再び実行してください.
-`bundle update` は他のgemもアップデートするため推奨されて *いない* ので, 思わぬ結果になるかも知れません.
+`bundle update` を(gemを指定せずに)行うことは推奨 *されません* . 他のgemもアップデートされて思わぬ結果になるかもしれないためです.
-=== (c) Linux package managers
+== アップグレード
-==== DNF (Fedora 21 or greater)
+オペレーティングシステムのパッケージマネージャでAsciidoctorをインストールしたのであれば, おそらくパッケージは自動的にアップデートされるように設定されています. その場合は, gemを手動でアップデートする必要はありません.
-dnfを使いFedora21かそれ以上にインストールするには, ターミナルを開き, 以下を入力してください:
+=== apk (Alpine Linux)
- $ sudo dnf install -y asciidoctor
-
-gemをアップグレードするには:
-
- $ sudo dnf update -y asciidoctor
-
-TIP: お使いのシステムは自動的にrpmパッケージをアップデートするよう設定されているかも知れません.その場合, gemのアップデートのためにあなたがすべきことはありません.
+gemをアップグレードするには, 以下を使用してください:
-==== apt-get (Debian, Ubuntu, Mint)
-
-Debian, UbuntuまたはMintにインストールするには, ターミナルを開き, 以下を入力してください:
+ $ sudo apk add -u asciidoctor
- $ sudo apt-get install -y asciidoctor
+=== APT
-gemをアップグレードするには:
+gemをアップグレードするには, 以下を使用してください:
$ sudo apt-get upgrade -y asciidoctor
-TIP: お使いのシステムは自動的にdebパッケージをアップデートするよう設定されているかも知れません.その場合, gemのアップデートのためにあなたがすべきことはありません.
+=== DNF
-パッケージマネージャ(apt-get)によってインストールされたバージョンのAsciidoctorは最新リリースのAsciidoctorではないかもしれません.
-ディストリビューションのリリース毎に, どのバージョンがパッケージされているかはパッケージリポジトリを調べてください.
+gemをアップグレードするには, 以下を使用してください:
-* https://packages.debian.org/search?keywords=asciidoctor&searchon=names&exact=1&suite=all§ion=all[asciidoctor package by Debian release]
-* https://packages.ubuntu.com/search?keywords=asciidoctor&searchon=names&exact=1&suite=all§ion=all[asciidoctor package by Ubuntu release]
-* https://community.linuxmint.com/software/view/asciidoctor[asciidoctor package by Mint release]
-
-[CAUTION]
-====
-パッケージマネージャによって管理されているgemをアップデートするのに `gem udpate` コマンドを使うなといわれるでしょう.
-そのようなことをするのは, パッケージマネージャがファイル(/usr/local下にインストールされた)を追跡できなくなるためにシステムが不安定な状態にするためです.
-単純に, システムgemはパッケージマネージャによってのみ管理されるべきです.
-
-もし, パッケージマネージャによってインストールされたのより新しいバージョンのAsciidoctorを使いたければ, https://rvm.io[RVM] や https://github.com/rbenv/rbenv[rbenv]を使ってRubyをホームディレクトリ(すなわち, ユーザースペース)にインストールするべきです.
-それから, 安心して `gem` コマンドをAsciidoctorのアップデート, インストールのために使うことができます.
-RVMやrbenvを使っているなら, gemはシステムからは孤立した場所にインストールされます.
-====
+ $ sudo dnf update -y asciidoctor
-==== apk (Alpine Linux)
+=== Homebrew (macOS)
-Alpine Linuxにgemをインストールするには, ターミナルを開き, 以下を入力してください:
+gemをアップグレードするには, 以下を使用してください:
- $ sudo apk add asciidoctor
+ $ brew update
+ $ brew upgrade asciidoctor
-gemをアップグレードするには:
+=== gem install
- $ sudo apk add -u asciidoctor
+`gem` コマンドを使ってAsciidoctorをインストールした場合は, 新しいバージョンのAsciidoctorがリリースされたら手動でアップグレードする必要があります.
+以下を入力することでアップグレードできます:
-TIP: お使いのシステムは自動的にapkパッケージをアップデートするよう設定されているかも知れません.その場合, gemのアップデートのためにあなたがすべきことはありません.
+ $ gem install asciidoctor
-=== Other installation options
+`gem install` を使って新しいバージョンのgemをインストールすると, 複数のバージョンがインストールされた状態になります.
+以下のコマンドを使って古いバージョンを削除してください.
-* {uri-install-docker}[Installing Asciidoctor using Docker]
-* {uri-install-osx-doc}[Installing Asciidoctor on Mac OS X]
-// at the moment, the following entry is just a reiteration of the information in this README
-//* {uri-install-doc}[Installing the Asciidoctor toolchain]
+ $ gem cleanup asciidoctor
-== Usage
+== 使い方
-Asciidoctorのインストールに成功すれば, `asciidoctor` コマンドラインインターフェース(CLI)がPATH中で有効になります.
-確認のために, 以下をターミナルで実行しましょう:
+Asciidoctorのインストールが成功すると, `asciidoctor` コマンドがPATHに存在するようになり, Asciidoctorのコマンドラインインターフェース(CLI)が使用できるようになります.
+確認のために, ターミナルで以下を実行しましょう:
$ asciidoctor --version
-AsciidoctorのバージョンとRuby環境についての情報がターミナルに出力されたのを見ることができるはずです.
+AsciidoctorのバージョンとRuby環境についての情報がターミナルに出力されるはずです.
[.output,subs=attributes+]
....
Asciidoctor {release-version} [https://asciidoctor.org]
-Runtime Environment (ruby 2.4.1p111 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
+Runtime Environment (ruby 2.6.0p0 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
....
-AsciidoctorはAPIを提供します.
-APIは他のRubyソフトウェア, Rails, SinatraとGitHub, そして他の言語, Java (via {uri-asciidoctorj}[AsciidoctorJ] )とJavaScript (via {uri-asciidoctorjs}[Asciidoctor.js])との統合を意図しています.
+AsciidoctorはAPIも提供します.
+APIは他のRubyソフトウェア, たとえばRails, Sinatra, GitHub, そして他の言語, たとえばJava ({uri-asciidoctorj}[AsciidoctorJ] 経由)やJavaScript ({uri-asciidoctorjs}[Asciidoctor.js] 経由)と組み合わせて使用するためのものです.
-=== Command line interface (CLI)
+=== コマンドラインインターフェース (CLI)
-`asciidoctor` コマンドはAsciidoctorをコマンドライン(つまりターミナル)から起動することを可能にします.
+`asciidoctor` コマンドによりコマンドライン(つまりターミナル)からAsciidoctorを起動することができます.
-次のコマンドはファイルREADME.adocをHTMLに変換し, 結果を同じディレクトリのREADME.htmlに保存します.
-生成されたHTMLファイルの名前はソースファイル依存し, その拡張子を `.html` に変えます.
+次のコマンドにより, README.adocというファイルがHTMLに変換され, 結果が同じディレクトリのREADME.htmlとして保存されます.
+生成されるHTMLファイルの名前は, ソースファイルのファイル名の拡張子を `.html` に替えたものとなります.
$ asciidoctor README.adoc
-Asciidoctorプロセッサに様々なフラグやスイッチを与えることで制御できます.それは以下を用いて調べることができます:
+さまざまなフラグやスイッチを与えることでAsciidoctorプロセッサをコントロールすることができます. フラグやスイッチの説明は以下のコマンドで表示されます:
$ asciidoctor --help
-例えば, ファイルを異なるディレクトリに書き出すには:
+例えば, ファイルを異なるディレクトリに書き出すには以下を使用します:
$ asciidoctor -D output README.adoc
-`asciidoctor` {uri-manpage}[man page] はコマンドライン・インタフェースの完全なリファレンスを提供します.
+コマンドラインインタフェースの完全なリファレンスは `asciidoctor` の {uri-manpage}[manページ] にあります.
-`asciidoctor` コマンドの使い方についてもっと学ぶには以下を参照してください.
+`asciidoctor` コマンドの使い方の詳細については以下を参照してください.
-* {uri-render-doc}[How do I convert a document?]
+* {uri-convert-doc}[How do I convert a document?]
* {uri-themes-doc}[How do I use the Asciidoctor stylesheet factory to produce custom themes?]
=== Ruby API
@@ -303,16 +370,16 @@
[source]
require 'asciidoctor'
-それから, AsciiDocソースファイルをHTMLファイルに変換できます:
+そうすると, 以下のようにしてAsciiDocソースファイルをHTMLファイルに変換できます:
[source]
Asciidoctor.convert_file 'README.adoc', to_file: true, safe: :safe
-WARNING: AsciidoctorをAPI経由で使っている時, デフォルトのセーフモードは `:secure` です.
-セキュアモードでは, `include` ディレクティブを含むいくつかのコア機能は無効化されています.
-もしこれらの機能を有効化したい場合, 明示的にセーフモードを `:server` (推奨)か `:safe` にする必要があります.
+WARNING: AsciidoctorをAPI経由で使っているとき, デフォルトのセーフモードは `:secure` (セキュアモード)です.
+セキュアモードでは, `include` ディレクティブを含むいくつかのコア機能が無効化されています.
+これらの機能を有効化したい場合, 明示的にセーフモードを `:server` (推奨)か `:safe` にする必要があります.
-AsciiDoc文字列を埋め込みHTML(HTMLページヘの挿入)へ変換することもできます:
+AsciiDoc文字列を, 埋め込み用HTML(HTMLページヘの挿入用)に変換することもできます:
[source]
----
@@ -320,7 +387,7 @@
Asciidoctor.convert content, safe: :safe
----
-もし完全なHTMLドキュメントを求めるのであれば, `header_footer` オプションを以下の通り有効にしてください:
+もし完全なHTMLドキュメントが必要であれば, 以下のように `header_footer` オプションを有効にしてください:
[source]
----
@@ -328,7 +395,7 @@
html = Asciidoctor.convert content, header_footer: true, safe: :safe
----
-パースされたドキュメントにアクセスしたいのなら, 変換を個々のステップに分割することが出来ます:
+パースされたドキュメントにアクセスしたい場合は, 変換を複数のステップに分割します:
[source]
----
@@ -338,81 +405,79 @@
html = document.convert
----
-Asciidoctorの生成する出力が気に入らないのであれば, _あなたはそれを変更できる_ ことを忘れないでください!
-Asciidoctorはパースされたドキュメントを生成された出力に変換する処理を扱うカスタムコンバーターをサポートしています.
+Asciidoctorの生成する出力が気に入らない場合は, _あなたはそれを変更できる_ ことを忘れないでください!
+パースされたドキュメントを出力形式に変換するコンバータは, カスタマイズが可能です.
-断片的な出力をカスタマイズする簡単な方法の一つはテンプレートコンバーターを使うことです.
-テンプレートコンバーターによって, ドキュメント中のあらゆるノードの変換を扱うために {uri-tilt}[Tilt]-supportedテンプレートファイルを使うことができます.
+出力を部分的にカスタマイズする簡単な方法としてはテンプレートコンバータがあります.
+テンプレートコンバータでは, ドキュメントの各ノードの変換に {uri-tilt}[Tilt]対応テンプレートファイルを使うことができます.
-そのようにすれば, 出力を100%制御することが _できます_ .
-APIの使い方や出力のカスタマイズ方法についてのより詳しい情報は {uri-user-manual}[user manual] を参照してください.
+さまざまな方法を使って出力は100%制御することが _できます_ .
+APIの使い方や出力のカスタマイズ方法についてのより詳しい情報は {uri-user-manual}[ユーザマニュアル] を参照してください.
-== Contributing
+== コントリビューション
-{uri-freesoftware}[free software] の精神においては, _everyone_ がこのプロジェクトを改良するのをたすけることが勧められています.
-もしエラーや手抜かりをソースコード, ドキュメント, あるいはウェブサイトに見つけたのなら, 恥じることなく修正と共にpull requestの開設やissueの送信をしてください.
-New contributors are always welcome!
+新しいコントリビューションを常に歓迎します!
+もしソースコード, ドキュメント, あるいはウェブサイトに間違いや不備を見つけたら遠慮なく, イシューを作成するか, 修正をおこなってpull requestを作成してください.
-*あなた* にもできることがあります:
+*あなた* にもできることがあります:
-* 先行バージョン(alpha, beta or preview)の使用
+* 先行バージョン(alpha, beta, またはpreview版)の使用
* バグレポート
* 新機能提案
-* ドキュメントの執筆
-* 仕様の執筆
-* コーディング -- _パッチでも, 足りなすぎるなんてことはありません_
+* ドキュメントの執筆または編集
+* テストをつけてコードを書くこと -- _どのようなパッチであれ小さすぎるなどということはありません_
** typoの修正
** コメントの追加
** 一貫性のないホワイトスペースの除去
** テストの記述!
* リファクタリング
-* {uri-issues}[issues] の修正
-* パッチの批評
+* {uri-issues}[イシュー] の解決
+* パッチのレビュー
-{uri-contribute}[Contributing] ガイドはどうやってスタイルをつくるか, issueを送るか, 機能リクエスト, コーディング, ドキュメンテーションをAsciidoctor Projectにするかについての情報を提供しています.
+Asciidoctorプロジェクトにイシュー, 機能リクエスト, コード, ドキュメントを送る際の, 作成方法, スタイル, および送り方は, {uri-contribute}[Contributing] ガイドに記載されています.
-== Getting Help
+== 助けを得る
-Asciidoctorプロジェクトはあなたが簡単に著作を書いて, 配布するのをたすけるため開発されています.
-しかしあなたのフィードバックなしにはできません!
-ディスカッションリストで, Twitterで, チャットルームで, 質問し, プロジェクトのあらゆる側面について話し合うようお勧めします.
+Asciidoctorは, コンテンツの執筆と公開を簡単にするために開発されています.
+しかしあなたからのフィードバックがなくてはAsciidoctorの開発は進みません!
+ディスカッションリスト, Twitter, チャットルームを使って, 質問をしたりプロジェクトのさまざまな側面について話し合ったりすることをお勧めします.
-Discussion list (Nabble):: {uri-discuss}
-Twitter:: #asciidoctor hashtag or @asciidoctor mention
-Chat (Gitter):: image:https://badges.gitter.im/Join%20In.svg[Gitter, link=https://gitter.im/asciidoctor/asciidoctor]
+チャット(Gitter):: image:https://badges.gitter.im/Join%20In.svg[Gitter, link=https://gitter.im/asciidoctor/asciidoctor]
+ディスカッションリスト(Nabble):: {uri-discuss}
+Twitter:: ハッシュタグ https://twitter.com/search?f=tweets&q=%23asciidoctor[#asciidoctor] またはメンション https://twitter.com/asciidoctor[@asciidoctor]
ifdef::env-github[]
-以下のプロジェクトサイトに、Asciidoctorに関するさらに詳しい情報やドキュメントがあります。
+以下のプロジェクトサイトに, Asciidoctorに関するさらに詳しい情報やドキュメントがあります.
-{uri-project}/[Home] | {uri-news}[News] | {uri-docs}[Docs]
+{uri-project}[Home] | {uri-news}[News] | {uri-docs}[Docs]
endif::[]
-GitHub上のAsciidoctorはプロジェクトのソースコード, イシュートラッカー, サブプロジェクトを管理しています.
+GitHub上のAsciidoctorのorganizationではプロジェクトのソースコード, イシュートラッカー, サブプロジェクトが管理されています.
-Source repository (git):: {uri-repo}
-Issue tracker:: {uri-issues}
-Asciidoctor organization on GitHub:: {uri-org}
+ソースリポジトリ(git):: {uri-repo}
+イシュートラッカー:: {uri-issues}
+GitHub上のAsciidoctorのorganization:: {uri-org}
-== Copyright and Licensing
+== ライセンス
Copyright (C) 2012-2019 Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor.
-本ソフトウェアはMITライセンスのもとで自由に使用できます.
+本ソフトウェアはMITライセンスのもとで使用できます.
-詳細は {uri-license}[LICENSE] ファイルを参照してください.
+ライセンスの詳細については {uri-license}[LICENSE] ファイルを参照してください.
-== Authors
+== 作者
-*Asciidoctor* は https://github.com/mojavelinux[Dan Allen] と https://github.com/graphitefriction[Sarah White] が先導し, Asciidoctorの素晴らしきコミュニティの数多くのメンバからコントリビューションを受けてきました.
-このプロジェクトは2012年から https://github.com/nickh[Nick Hengeveld] の {uri-prototype}[プロトタイプ] をベースに https://github.com/erebor[Ryan Waldron] により創始されました.
+*Asciidoctor* は https://github.com/mojavelinux[Dan Allen] と https://github.com/graphitefriction[Sarah White] がリードし, Asciidoctorの素晴らしきコミュニティの {uri-contributors}[数多くのメンバ] からコントリビューションを受けてきました.
+このプロジェクトは https://github.com/nickh[Nick Hengeveld] の {uri-prototype}[プロトタイプ] をベースに https://github.com/erebor[Ryan Waldron] により2012年から創始されました.
*AsciiDoc* は Stuart Rackham により創始され, AsciiDocコミュニティの数多くのメンバからコントリビューションを受けてきました.
ifndef::env-site[]
-== Changelog
+== 変更履歴
ifeval::[{safe-mode-level} < 20]
include::CHANGELOG.adoc[tag=compact,leveloffset=+1]
endif::[]
-リリースごとの変更一覧は {uri-changelog}[CHANGELOG] を参照してください.
+過去のリリースの完全な変更点リストについては {uri-changelog}[CHANGELOG] を参照してください.
endif::[]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README-zh_CN.adoc new/README-zh_CN.adoc
--- old/README-zh_CN.adoc 2018-03-20 01:00:00.000000000 +0100
+++ new/README-zh_CN.adoc 2018-03-20 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
= Asciidoctor
Dan Allen https://github.com/mojavelinux[@mojavelinux]; Sarah White https://github.com/graphitefriction[@graphitefriction]; Ryan Waldron https://github.com/erebor[@erebor]
-v2.0.9, 2019-04-30
+v2.0.10, 2019-05-31
// settings:
:page-layout: base
:idprefix:
@@ -18,7 +18,7 @@
:warning-caption: :warning:
endif::[]
// Variables:
-:release-version: 2.0.9
+:release-version: 2.0.10
// URIs:
:uri-org: https://github.com/asciidoctor
:uri-repo: {uri-org}/asciidoctor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.adoc new/README.adoc
--- old/README.adoc 2018-03-20 01:00:00.000000000 +0100
+++ new/README.adoc 2018-03-20 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
= Asciidoctor
Dan Allen https://github.com/mojavelinux[@mojavelinux]; Sarah White https://github.com/graphitefriction[@graphitefriction]; Ryan Waldron https://github.com/erebor[@erebor]
-v2.0.9, 2019-04-30
+v2.0.10, 2019-05-31
// settings:
:idprefix:
:idseparator: -
@@ -17,7 +17,7 @@
:warning-caption: :warning:
endif::[]
// Variables:
-:release-version: 2.0.9
+:release-version: 2.0.10
// URIs:
:uri-org: https://github.com/asciidoctor
:uri-repo: {uri-org}/asciidoctor
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data/stylesheets/asciidoctor-default.css new/data/stylesheets/asciidoctor-default.css
--- old/data/stylesheets/asciidoctor-default.css 2018-03-20 01:00:00.000000000 +0100
+++ new/data/stylesheets/asciidoctor-default.css 2018-03-20 01:00:00.000000000 +0100
@@ -230,7 +230,7 @@
pre.pygments .lineno{border-right:1px solid currentColor;opacity:.35;display:inline-block;margin-right:.75em}
pre.pygments .lineno::before{content:"";margin-right:-.125em}
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
-.quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
+.quoteblock:not(.excerpt)>.title{margin-left:-1.5em;margin-bottom:.75em}
.quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
.quoteblock blockquote{margin:0;padding:0;border:0}
.quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
@@ -247,7 +247,8 @@
.quoteblock.abstract blockquote,.quoteblock.abstract p,.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{line-height:1.6;word-spacing:0}
.quoteblock.abstract{margin:0 1em 1.25em;display:block}
.quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center}
-.quoteblock.excerpt,.quoteblock .quoteblock{margin:0 0 1.25em;padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
+.quoteblock.excerpt>blockquote,.quoteblock .quoteblock{padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
+.quoteblock.excerpt,.quoteblock .quoteblock{margin-left:0}
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
table.tableblock{max-width:100%;border-collapse:separate}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/asciidoctor/convert.rb new/lib/asciidoctor/convert.rb
--- old/lib/asciidoctor/convert.rb 2018-03-20 01:00:00.000000000 +0100
+++ new/lib/asciidoctor/convert.rb 2018-03-20 01:00:00.000000000 +0100
@@ -52,7 +52,7 @@
unless options.key? :standalone
if sibling_path || write_to_target
- options[:standalone] = true
+ options[:standalone] = options.fetch :header_footer, true
elsif options.key? :header_footer
options[:standalone] = options[:header_footer]
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/asciidoctor/converter/html5.rb new/lib/asciidoctor/converter/html5.rb
--- old/lib/asciidoctor/converter/html5.rb 2018-03-20 01:00:00.000000000 +0100
+++ new/lib/asciidoctor/converter/html5.rb 2018-03-20 01:00:00.000000000 +0100
@@ -153,7 +153,7 @@
end
if (syntax_hl = node.syntax_highlighter) && (syntax_hl.docinfo? :head)
- result << (syntax_hl.docinfo :head, node, linkcss: linkcss)
+ result << (syntax_hl.docinfo :head, node, cdn_base_url: cdn_base_url, linkcss: linkcss, self_closing_tag_slash: slash)
end
unless (docinfo_content = node.docinfo).empty?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/asciidoctor/document.rb new/lib/asciidoctor/document.rb
--- old/lib/asciidoctor/document.rb 2018-03-20 01:00:00.000000000 +0100
+++ new/lib/asciidoctor/document.rb 2018-03-20 01:00:00.000000000 +0100
@@ -1217,7 +1217,7 @@
when '', 'font'
else
attrs['icons'] = ''
- attrs['icontype'] = icons_val
+ attrs['icontype'] = icons_val unless icons_val == 'image'
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/asciidoctor/syntax_highlighter.rb new/lib/asciidoctor/syntax_highlighter.rb
--- old/lib/asciidoctor/syntax_highlighter.rb 2018-03-20 01:00:00.000000000 +0100
+++ new/lib/asciidoctor/syntax_highlighter.rb 2018-03-20 01:00:00.000000000 +0100
@@ -27,12 +27,17 @@
# Returns a [Boolean] indicating whether the docinfo method should be called for this location.
def docinfo? location; end
- # Public: Generates docinfo markup to insert in the output document at the specified location.
+ # Public: Generates docinfo markup for this syntax highlighter to insert at the specified location in the output document.
#
# location - The Symbol representing the location slot (:head or :footer).
+ # doc - The Document in which this syntax highlighter is being used.
+ # opts - A Hash of options that configure the syntax highlighting:
+ # :linkcss - A Boolean indicating whether the stylesheet should be linked instead of embedded (optional).
+ # :cdn_base_url - The String base URL for assets loaded from the CDN.
+ # :self_closing_tag_slash - The String '/' if the converter calling this method emits self-closing tags.
#
# Return the [String] markup to insert.
- def docinfo location
+ def docinfo location, doc, opts
raise ::NotImplementedError, %(#{SyntaxHighlighter} subclass #{self.class} must implement the ##{__method__} method since #docinfo? returns true)
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/asciidoctor/version.rb new/lib/asciidoctor/version.rb
--- old/lib/asciidoctor/version.rb 2018-03-20 01:00:00.000000000 +0100
+++ new/lib/asciidoctor/version.rb 2018-03-20 01:00:00.000000000 +0100
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module Asciidoctor
- VERSION = '2.0.9'
+ VERSION = '2.0.10'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/asciidoctor.rb new/lib/asciidoctor.rb
--- old/lib/asciidoctor.rb 2018-03-20 01:00:00.000000000 +0100
+++ new/lib/asciidoctor.rb 2018-03-20 01:00:00.000000000 +0100
@@ -469,8 +469,8 @@
# (TM)
[/\\?\(TM\)/, '™', :none],
# foo -- bar (where either space character can be a newline)
- # NOTE this necessarily drops the newline if it appears at end of line
- [/(^|\n| |\\)--( |\n|$)/, ' — ', :none],
+ # NOTE this necessarily drops the newline if replacement appears at end of line
+ [/(?: |\n|^|\\)--(?: |\n|$)/, ' — ', :none],
# foo--bar
[/(#{CG_WORD})\\?--(?=#{CG_WORD})/, '—', :leading],
# ellipsis
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/man/asciidoctor.1 new/man/asciidoctor.1
--- old/man/asciidoctor.1 2018-03-20 01:00:00.000000000 +0100
+++ new/man/asciidoctor.1 2018-03-20 01:00:00.000000000 +0100
@@ -1,13 +1,13 @@
'\" t
.\" Title: asciidoctor
.\" Author: Dan Allen, Sarah White, Ryan Waldron
-.\" Generator: Asciidoctor 2.0.9
-.\" Date: 2019-04-30
+.\" Generator: Asciidoctor 2.0.10
+.\" Date: 2019-05-31
.\" Manual: Asciidoctor Manual
-.\" Source: Asciidoctor 2.0.9
+.\" Source: Asciidoctor 2.0.10
.\" Language: English
.\"
-.TH "ASCIIDOCTOR" "1" "2019-04-30" "Asciidoctor 2.0.9" "Asciidoctor Manual"
+.TH "ASCIIDOCTOR" "1" "2019-05-31" "Asciidoctor 2.0.10" "Asciidoctor Manual"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/man/asciidoctor.adoc new/man/asciidoctor.adoc
--- old/man/asciidoctor.adoc 2018-03-20 01:00:00.000000000 +0100
+++ new/man/asciidoctor.adoc 2018-03-20 01:00:00.000000000 +0100
@@ -1,7 +1,7 @@
= asciidoctor(1)
Dan Allen; Sarah White; Ryan Waldron
:doctype: manpage
-:release-version: 2.0.9
+:release-version: 2.0.10
:man manual: Asciidoctor Manual
:man source: Asciidoctor {release-version}
:page-layout: base
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-03-20 01:00:00.000000000 +0100
+++ new/metadata 2018-03-20 01:00:00.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: asciidoctor
version: !ruby/object:Gem::Version
- version: 2.0.9
+ version: 2.0.10
platform: ruby
authors:
- Dan Allen