summaryrefslogtreecommitdiff
path: root/README-jp.adoc
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-07-23 17:04:12 -0600
committerDan Allen <dan.j.allen@gmail.com>2017-07-23 17:04:12 -0600
commitfb46d327aa17446dce9fa15fed2dfc1ef3c4aeea (patch)
tree5dde8fceb972a3ada4c4deb26067d8c650825330 /README-jp.adoc
parentbc482dc066306887e436815b4b6307fec0ff651e (diff)
update README files
- sync document attributes - extract Asciidoctor version as document attribute - drop shared settings file - use correct attribute for status section
Diffstat (limited to 'README-jp.adoc')
-rw-r--r--README-jp.adoc25
1 files changed, 18 insertions, 7 deletions
diff --git a/README-jp.adoc b/README-jp.adoc
index 4a43f304..87d49cbe 100644
--- a/README-jp.adoc
+++ b/README-jp.adoc
@@ -6,7 +6,18 @@ Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://g
:idseparator: -
:source-language: ruby
:language: {source-language}
-ifdef::env-github[:status:]
+ifndef::env-github[:icons: font]
+ifdef::env-github[]
+:status:
+:outfilesuffix: .adoc
+:caution-caption: :fire:
+:important-caption: :exclamation:
+:note-caption: :paperclip:
+:tip-caption: :bulb:
+:warning-caption: :warning:
+endif::[]
+// Variables:
+:release-version: 1.5.6
// URIs:
:uri-org: https://github.com/asciidoctor
:uri-repo: {uri-org}/asciidoctor
@@ -54,7 +65,7 @@ gemはいくつかのLinuxディストリビューション, Fedora, Debian, Ubu
Asciidoctorはオープンソース {uri-repo}[hosted on Github] で {uri-license}[the MIT licence]のもとに配布されます.
ifndef::env-site[]
-.Translations of the document are available in the following languages:
+.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]
@@ -162,12 +173,12 @@ TIP: Linuxパッケージマネージャを用いてインストールするこ
. プロジェクトフォルダーのルート(かカレントディレクトリ)にGemfileを作成
. `asciidoctor` gemをGemfileに以下のように追加:
+
-[source]
+[source,subs=attributes+]
----
source 'https://rubygems.org'
gem 'asciidoctor'
# or specify the version explicitly
-# gem 'asciidoctor', '1.5.6'
+# gem 'asciidoctor', '{release-version}'
----
. Gemfileを保存
@@ -250,10 +261,10 @@ Asciidoctorのインストールに成功すれば, `asciidoctor` コマンド
AsciidoctorのバージョンとRuby環境についての情報がターミナルに出力されたのを見ることができるはずです.
-[.output]
+[.output,subs=attributes+]
....
-Asciidoctor 1.5.6 [http://asciidoctor.org]
-Runtime Environment (ruby 2.2.2p95 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
+Asciidoctor {release-version} [http://asciidoctor.org]
+Runtime Environment (ruby 2.4.1p111 [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)
....
AsciidoctorはAPIを提供します.