asciidoctor-dita-topic 1.5.3 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.adoc +2 -2
- data/lib/dita-topic/cli.rb +5 -5
- data/lib/dita-topic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a7db48788b397b2e457ca5240562dcaf64e82e16c3564861b540e73799686a10
|
|
4
|
+
data.tar.gz: 4ae2eeb544f034824c3a38ac4e49664be740a6599ee3aa5da7c88a1fbcfceed4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4162bfcb43ca9a51c16635f5283f808c2090b2377ef66d37901f014bac10bb6ed4ea8146bc89543f4bc8873e60dddb82eb3d9aac3228629c7d0508332e09f88e
|
|
7
|
+
data.tar.gz: 1cd14f6c72b84872e48e38d0c37f036014efe6661dd200be5d9052102d0143ccedb41b44f91b279ff83d8fd1e7bbe98dd322ce57e207ea341d5dc3b2bb93440e
|
data/README.adoc
CHANGED
|
@@ -29,7 +29,7 @@ $ *dita-convert -g _source_file.dita_ -o _output_file.dita_*
|
|
|
29
29
|
+
|
|
30
30
|
[literal,subs="+quotes"]
|
|
31
31
|
....
|
|
32
|
-
$ *dita-cleanup -
|
|
32
|
+
$ *dita-cleanup -i -D ../images -X . _output_file.dita_*
|
|
33
33
|
....
|
|
34
34
|
|
|
35
35
|
[#install]
|
|
@@ -272,7 +272,7 @@ Unlike AsciiDoc, DITA provides a number of semantic elements for software compon
|
|
|
272
272
|
|
|
273
273
|
| option
|
|
274
274
|
| `<option>`
|
|
275
|
-
|
|
|
275
|
+
| A command-line option.
|
|
276
276
|
|
|
277
277
|
| variable
|
|
278
278
|
| `<varname>`
|
data/lib/dita-topic/cli.rb
CHANGED
|
@@ -36,7 +36,7 @@ module AsciidoctorDitaTopic
|
|
|
36
36
|
:output => false,
|
|
37
37
|
:standalone => true,
|
|
38
38
|
:modules => true,
|
|
39
|
-
:no_includes =>
|
|
39
|
+
:no_includes => false
|
|
40
40
|
}
|
|
41
41
|
@prep = []
|
|
42
42
|
@name = name
|
|
@@ -69,8 +69,8 @@ module AsciidoctorDitaTopic
|
|
|
69
69
|
@prep.append file
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
opt.on('-I', '--no-includes', 'disable processing of include directives
|
|
73
|
-
@opts[:no_includes]
|
|
72
|
+
opt.on('-I', '--no-includes', 'disable processing of include directives') do
|
|
73
|
+
@opts[:no_includes] = true
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
opt.on('-A', '--no-modules', 'disable processing of include directives with assemblies and modules') do
|
|
@@ -163,8 +163,8 @@ module AsciidoctorDitaTopic
|
|
|
163
163
|
end
|
|
164
164
|
|
|
165
165
|
prepended.gsub!(/^:_(?:mod-docs-content|content|module)-type:[ \t]+\S/, '//\&')
|
|
166
|
-
prepended.gsub!(Asciidoctor::IncludeDirectiveRx, '
|
|
167
|
-
input.gsub!(Asciidoctor::IncludeDirectiveRx, '
|
|
166
|
+
prepended.gsub!(Asciidoctor::IncludeDirectiveRx, '')
|
|
167
|
+
input.gsub!(Asciidoctor::IncludeDirectiveRx, '') if @opts[:no_includes]
|
|
168
168
|
|
|
169
169
|
result = convert_topic prepended + input, base_dir
|
|
170
170
|
|
data/lib/dita-topic/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: asciidoctor-dita-topic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jaromir Hradilek
|
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
140
140
|
- !ruby/object:Gem::Version
|
|
141
141
|
version: '0'
|
|
142
142
|
requirements: []
|
|
143
|
-
rubygems_version: 4.0.
|
|
143
|
+
rubygems_version: 4.0.21
|
|
144
144
|
specification_version: 4
|
|
145
145
|
summary: A custom AsciiDoc converter that generates individual DITA topics
|
|
146
146
|
test_files: []
|