ascii_binder 0.1.15.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +4 -4
- data/ascii_binder.gemspec +9 -7
- data/bin/asciibinder +12 -5
- data/lib/ascii_binder/engine.rb +66 -59
- data/lib/ascii_binder/helpers.rb +4 -0
- data/lib/ascii_binder/topic_entity.rb +2 -6
- data/lib/ascii_binder/version.rb +1 -1
- data/templates/_templates/_breadcrumb.html.erb +14 -0
- data/templates/_templates/_nav.html.erb +10 -27
- data/templates/_templates/_title.html.erb +8 -0
- data/templates/_templates/page.html.erb +7 -12
- metadata +35 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c935f5c56bc709a5a8029622f7ffce6afb66018806e02c1b08e683c65d90849
|
4
|
+
data.tar.gz: 115f035401017e838117d4fa446d3715bb6913aacf9276894c1bebf6cbe59278
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca4f6bb99b3db8d89d093797f78e0a53b57cfb3c6ec23451f868391360f758079f2bfeb20560f0347ab2ddf9b75d9ebe2efc42c208c4c60b0e3a34b6251a933a
|
7
|
+
data.tar.gz: 8b788a889bad12e435cb08f7b3bd6e771e1a0fd5d1866ac2c5f0cfa2d6f82ff9deadf4741cae18e01f2c411581015a0d9eb4a73aaa186c0850682f3261edc61b
|
data/README.adoc
CHANGED
@@ -4,17 +4,17 @@ image:https://badge.fury.io/rb/ascii_binder.svg["Gem Version", link="https://bad
|
|
4
4
|
|
5
5
|
AsciiBinder is an AsciiDoc-based system for authoring and publishing closely related documentation sets from a single source.
|
6
6
|
|
7
|
+
This product is no longer actively maintained.
|
8
|
+
|
7
9
|
== Learn More
|
8
10
|
|
9
|
-
*
|
10
|
-
* Have a gander at the http://www.asciibinder.org/latest/welcome/[AsciiBinder documentation].
|
11
|
-
* Or just take the https://rubygems.org/gems/ascii_binder[ascii_binder Ruby Gem] for a spin.
|
11
|
+
* Take the https://rubygems.org/gems/ascii_binder[ascii_binder Ruby Gem] for a spin.
|
12
12
|
|
13
13
|
The AsciiBinder system was initially developed for https://github.com/openshift/openshift-docs[OpenShift documentation], but has been revised to work for documenting a wide variety of complex, multi-versioned software projects.
|
14
14
|
|
15
15
|
== Contributing
|
16
16
|
|
17
|
-
We are using the https://github.com/redhataccess/ascii_binder/issues[Issues] page to track bugs and feature ideas on the code, so have a look and feel free to ask questions there.
|
17
|
+
We are using the https://github.com/redhataccess/ascii_binder/issues[Issues] page to track bugs and feature ideas on the code, so have a look and feel free to ask questions there.
|
18
18
|
|
19
19
|
== License
|
20
20
|
|
data/ascii_binder.gemspec
CHANGED
@@ -6,11 +6,11 @@ require 'ascii_binder/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "ascii_binder"
|
8
8
|
spec.version = AsciiBinder::VERSION
|
9
|
-
spec.authors = ["N. Harrison Ripps", "Jason Frey", "Carlos Munoz", "Brian Exelbierd"]
|
10
|
-
spec.email = ["nhr@redhat.com", "jfrey@redhat.com", "chavo16@hotmail.com", "bex@pobox.com"]
|
9
|
+
spec.authors = ["N. Harrison Ripps", "Jason Frey", "Carlos Munoz", "Brian Exelbierd", "Vikram Goyal"]
|
10
|
+
spec.email = ["nhr@redhat.com", "jfrey@redhat.com", "chavo16@hotmail.com", "bex@pobox.com", "vigoyal@redhat.com"]
|
11
11
|
spec.summary = %q{AsciiBinder is an AsciiDoc-based system for authoring and publishing closely related documentation sets from a single source.}
|
12
12
|
spec.description = spec.summary
|
13
|
-
spec.homepage = "
|
13
|
+
spec.homepage = "https://github.com/redhataccess/ascii_binder"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -18,13 +18,14 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler"
|
21
|
+
spec.add_development_dependency "bundler"
|
22
22
|
spec.add_development_dependency "cucumber", "~> 2.3.3"
|
23
23
|
spec.add_development_dependency "diff_dirs", "~> 0.1.2"
|
24
|
-
spec.add_dependency "rake", "~>
|
24
|
+
spec.add_dependency "rake", "~> 12.3.3"
|
25
25
|
|
26
|
-
spec.add_dependency 'asciidoctor', '~>
|
27
|
-
spec.add_dependency 'asciidoctor-diagram', '~>
|
26
|
+
spec.add_dependency 'asciidoctor', '~> 2.0.10'
|
27
|
+
spec.add_dependency 'asciidoctor-diagram', '~> 2.0.2'
|
28
|
+
spec.add_dependency 'rouge', '~> 3.18.0'
|
28
29
|
spec.add_dependency 'git'
|
29
30
|
spec.add_dependency 'guard'
|
30
31
|
spec.add_dependency 'guard-shell'
|
@@ -35,4 +36,5 @@ Gem::Specification.new do |spec|
|
|
35
36
|
spec.add_dependency 'trollop', '~> 2.1.2'
|
36
37
|
spec.add_dependency 'yajl-ruby', '~> 1.3.0'
|
37
38
|
spec.add_dependency 'tilt'
|
39
|
+
|
38
40
|
end
|
data/bin/asciibinder
CHANGED
@@ -133,6 +133,7 @@ EOF
|
|
133
133
|
opt :distro, "Instead of building all distros, build branches only for the specified distro.", :default => ''
|
134
134
|
opt :page, "Build only the specified page for all distros and only the current working branch.", :default => ''
|
135
135
|
opt :log_level, "Set the logging output level for this operation.", :default => 'warn'
|
136
|
+
opt :toc_depth, "Maximum depth of topics allowed. Use 0 for infinite depth.", :default => 3
|
136
137
|
conflicts :distro, :page
|
137
138
|
end
|
138
139
|
when "create"
|
@@ -182,11 +183,9 @@ Description:
|
|
182
183
|
...except that the Guardfile automatically detects and runs this as
|
183
184
|
you work.
|
184
185
|
|
185
|
-
This is meant to be used in conjunction with a web browser that is
|
186
|
-
|
187
|
-
|
188
|
-
new version of the .adoc file, the new HTML is automatically
|
189
|
-
regenerated and your page view is automatically refreshed.
|
186
|
+
This is meant to be used in conjunction with a web browser that is viewing the
|
187
|
+
output HTML page. Every time you save a new version of the .adoc file, you can
|
188
|
+
manually refresh your page to view the newly-generated HTML.
|
190
189
|
EOF
|
191
190
|
opt :log_level, "Set the logging output level for this operation.", :default => 'warn'
|
192
191
|
end
|
@@ -207,6 +206,7 @@ Options:
|
|
207
206
|
EOF
|
208
207
|
opt :site, "Instead of packaging every docs site, package the specified site only.", :default => ''
|
209
208
|
opt :log_level, "Set the logging output level for this operation.", :default => 'warn'
|
209
|
+
opt :toc_depth, "Maximum depth of topics allowed. Use 0 for infinite depth.", :default => 3
|
210
210
|
end
|
211
211
|
when "help"
|
212
212
|
Trollop::educate
|
@@ -274,6 +274,13 @@ unless cmd_opts.nil? or cmd_opts[:log_level].nil?
|
|
274
274
|
end
|
275
275
|
set_log_level(user_log_level)
|
276
276
|
|
277
|
+
# Set the depth level
|
278
|
+
user_depth = 3
|
279
|
+
unless cmd_opts.nil? or cmd_opts[:toc_depth].nil?
|
280
|
+
user_depth = cmd_opts[:toc_depth].to_i
|
281
|
+
end
|
282
|
+
set_depth(user_depth)
|
283
|
+
|
277
284
|
|
278
285
|
# Cloning? Time to try it.
|
279
286
|
if cmd == 'clone'
|
data/lib/ascii_binder/engine.rb
CHANGED
@@ -188,12 +188,13 @@ module AsciiBinder
|
|
188
188
|
args[:breadcrumb_root], args[:breadcrumb_group], args[:breadcrumb_subgroup], args[:breadcrumb_topic] = extract_breadcrumbs(args)
|
189
189
|
|
190
190
|
args[:breadcrumb_subgroup_block] = ''
|
191
|
-
args[:subtopic_shim] = ''
|
192
191
|
if args[:breadcrumb_subgroup]
|
193
192
|
args[:breadcrumb_subgroup_block] = "<li class=\"hidden-xs active\">#{args[:breadcrumb_subgroup]}</li>"
|
194
|
-
args[:subtopic_shim] = '../'
|
195
193
|
end
|
196
194
|
|
195
|
+
args[:subtopic_shim] = '../' * (args[:topic_id].split('::').length - 2)
|
196
|
+
args[:subtopic_shim] = '' if args[:subtopic_shim].nil?
|
197
|
+
|
197
198
|
template_path = File.expand_path("#{docs_root_dir}/_templates/page.html.erb")
|
198
199
|
template_renderer.render(template_path, args)
|
199
200
|
end
|
@@ -237,8 +238,7 @@ module AsciiBinder
|
|
237
238
|
|
238
239
|
def asciidoctor_page_attrs(more_attrs=[])
|
239
240
|
[
|
240
|
-
'source-highlighter=
|
241
|
-
'coderay-css=style',
|
241
|
+
'source-highlighter=rouge',
|
242
242
|
'linkcss!',
|
243
243
|
'icons=font',
|
244
244
|
'idprefix=',
|
@@ -451,7 +451,7 @@ module AsciiBinder
|
|
451
451
|
|
452
452
|
def configure_and_generate_page(topic,branch_config,navigation)
|
453
453
|
distro = branch_config.distro
|
454
|
-
topic_adoc = File.open(topic.source_path,'r').read
|
454
|
+
# topic_adoc = File.open(topic.source_path,'r').read
|
455
455
|
|
456
456
|
page_attrs = asciidoctor_page_attrs([
|
457
457
|
"imagesdir=#{File.join(topic.parent.source_path,'images')}",
|
@@ -459,64 +459,71 @@ module AsciiBinder
|
|
459
459
|
"product-title=#{branch_config.distro_name}",
|
460
460
|
"product-version=#{branch_config.name}",
|
461
461
|
"product-author=#{branch_config.distro_author}",
|
462
|
-
"repo_path=#{topic.repo_path}"
|
462
|
+
"repo_path=#{topic.repo_path}",
|
463
|
+
"allow-uri-read="
|
463
464
|
])
|
464
465
|
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
466
|
+
File.open topic.source_path, 'r' do |topic_file|
|
467
|
+
|
468
|
+
doc = without_warnings { Asciidoctor.load topic_file, :header_footer => false, :safe => :unsafe, :attributes => page_attrs, :base_dir => "." }
|
469
|
+
article_title = doc.doctitle || topic.name
|
470
|
+
|
471
|
+
topic_html = doc.render
|
472
|
+
|
473
|
+
# This is logic bridges newer arbitrary-depth-tolerant code to
|
474
|
+
# older depth-limited code. Truly removing depth limitations will
|
475
|
+
# require changes to page templates in user docs repos.
|
476
|
+
breadcrumb = topic.breadcrumb
|
477
|
+
group_title = breadcrumb[0][:name]
|
478
|
+
group_id = breadcrumb[0][:id]
|
479
|
+
topic_title = breadcrumb[-1][:name]
|
480
|
+
topic_id = breadcrumb[-1][:id]
|
481
|
+
subgroup_title = nil
|
482
|
+
subgroup_id = nil
|
483
|
+
if breadcrumb.length == 3
|
484
|
+
subgroup_title = breadcrumb[1][:name]
|
485
|
+
subgroup_id = breadcrumb[1][:id]
|
486
|
+
end
|
487
|
+
dir_depth = '../' * topic.breadcrumb[-1][:id].split('::').length
|
488
|
+
dir_depth = '' if dir_depth.nil?
|
489
|
+
|
490
|
+
preview_path = topic.preview_path(distro.id,branch_config.dir)
|
491
|
+
topic_publish_url = topic.topic_publish_url(distro.site.url,branch_config.dir)
|
492
|
+
|
493
|
+
page_args = {
|
494
|
+
:distro_key => distro.id,
|
495
|
+
:distro => branch_config.distro_name,
|
496
|
+
:branch => branch_config.id,
|
497
|
+
:site_name => distro.site.name,
|
498
|
+
:site_url => distro.site.url,
|
499
|
+
:topic_url => preview_path,
|
500
|
+
:topic_publish_url => topic_publish_url,
|
501
|
+
:version => branch_config.name,
|
502
|
+
:group_title => group_title,
|
503
|
+
:subgroup_title => subgroup_title,
|
504
|
+
:topic_title => topic_title,
|
505
|
+
:article_title => article_title,
|
506
|
+
:content => topic_html,
|
507
|
+
:navigation => navigation,
|
508
|
+
:group_id => group_id,
|
509
|
+
:subgroup_id => subgroup_id,
|
510
|
+
:topic_id => topic_id,
|
511
|
+
:css_path => "#{dir_depth}#{branch_config.dir}/#{STYLESHEET_DIRNAME}/",
|
512
|
+
:javascripts_path => "#{dir_depth}#{branch_config.dir}/#{JAVASCRIPT_DIRNAME}/",
|
513
|
+
:images_path => "#{dir_depth}#{branch_config.dir}/#{IMAGE_DIRNAME}/",
|
514
|
+
:site_home_path => "#{dir_depth}index.html",
|
515
|
+
:template_path => template_dir,
|
516
|
+
:repo_path => topic.repo_path,
|
517
|
+
}
|
518
|
+
full_file_text = page(page_args)
|
519
|
+
|
520
|
+
|
521
|
+
File.open(preview_path, 'w') { |file| file.write(full_file_text) }
|
522
|
+
|
523
|
+
|
524
|
+
# File.write(preview_path,full_file_text)
|
473
525
|
|
474
|
-
# This is logic bridges newer arbitrary-depth-tolerant code to
|
475
|
-
# older depth-limited code. Truly removing depth limitations will
|
476
|
-
# require changes to page templates in user docs repos.
|
477
|
-
breadcrumb = topic.breadcrumb
|
478
|
-
group_title = breadcrumb[0][:name]
|
479
|
-
group_id = breadcrumb[0][:id]
|
480
|
-
topic_title = breadcrumb[-1][:name]
|
481
|
-
topic_id = breadcrumb[-1][:id]
|
482
|
-
subgroup_title = nil
|
483
|
-
subgroup_id = nil
|
484
|
-
if breadcrumb.length == 3
|
485
|
-
subgroup_title = breadcrumb[1][:name]
|
486
|
-
subgroup_id = breadcrumb[1][:id]
|
487
|
-
dir_depth = '../' + dir_depth
|
488
526
|
end
|
489
|
-
|
490
|
-
preview_path = topic.preview_path(distro.id,branch_config.dir)
|
491
|
-
topic_publish_url = topic.topic_publish_url(distro.site.url,branch_config.dir)
|
492
|
-
|
493
|
-
page_args = {
|
494
|
-
:distro_key => distro.id,
|
495
|
-
:distro => branch_config.distro_name,
|
496
|
-
:branch => branch_config.id,
|
497
|
-
:site_name => distro.site.name,
|
498
|
-
:site_url => distro.site.url,
|
499
|
-
:topic_url => preview_path,
|
500
|
-
:topic_publish_url => topic_publish_url,
|
501
|
-
:version => branch_config.name,
|
502
|
-
:group_title => group_title,
|
503
|
-
:subgroup_title => subgroup_title,
|
504
|
-
:topic_title => topic_title,
|
505
|
-
:article_title => article_title,
|
506
|
-
:content => topic_html,
|
507
|
-
:navigation => navigation,
|
508
|
-
:group_id => group_id,
|
509
|
-
:subgroup_id => subgroup_id,
|
510
|
-
:topic_id => topic_id,
|
511
|
-
:css_path => "../../#{dir_depth}#{branch_config.dir}/#{STYLESHEET_DIRNAME}/",
|
512
|
-
:javascripts_path => "../../#{dir_depth}#{branch_config.dir}/#{JAVASCRIPT_DIRNAME}/",
|
513
|
-
:images_path => "../../#{dir_depth}#{branch_config.dir}/#{IMAGE_DIRNAME}/",
|
514
|
-
:site_home_path => "../../#{dir_depth}index.html",
|
515
|
-
:template_path => template_dir,
|
516
|
-
:repo_path => topic.repo_path,
|
517
|
-
}
|
518
|
-
full_file_text = page(page_args)
|
519
|
-
File.write(preview_path,full_file_text)
|
520
527
|
end
|
521
528
|
|
522
529
|
# package_docs
|
data/lib/ascii_binder/helpers.rb
CHANGED
@@ -239,12 +239,8 @@ module AsciiBinder
|
|
239
239
|
end
|
240
240
|
end
|
241
241
|
|
242
|
-
# Check the depth.
|
243
|
-
|
244
|
-
# [<group>,<subgroup>,<topic>]
|
245
|
-
#
|
246
|
-
# But this limit will be lifted in the next major version
|
247
|
-
if depth > 2
|
242
|
+
# Check the depth.
|
243
|
+
if (depth > AsciiBinder::DEPTH) and (AsciiBinder::DEPTH != 0)
|
248
244
|
if verbose
|
249
245
|
errors << "#{entity_id} exceeds the maximum nested depth."
|
250
246
|
else
|
data/lib/ascii_binder/version.rb
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
<%- navigation.each do |topic_group| -%>
|
2
|
+
<%- if topic_id.start_with?(topic_group[:id]) %>
|
3
|
+
<li class="hidden-xs active">
|
4
|
+
<%- if topic_group.has_key?(:topics) -%>
|
5
|
+
<a href="<%= subtopic_shim %><%= topic_group[:path] %>"><%= topic_group[:name] %></a>
|
6
|
+
<%- else -%>
|
7
|
+
<%= topic_group[:name] %>
|
8
|
+
<%- end -%>
|
9
|
+
</li>
|
10
|
+
<%- end -%>
|
11
|
+
<%- if topic_group.has_key?(:topics) -%>
|
12
|
+
<%= render("_templates/_breadcrumb.html.erb", :navigation => topic_group[:topics], :topic_id => topic_id, :subtopic_shim => subtopic_shim) %>
|
13
|
+
<%- end -%>
|
14
|
+
<%- end -%>
|
@@ -1,31 +1,14 @@
|
|
1
|
-
|
2
|
-
<%-
|
3
|
-
|
1
|
+
<%- navigation.each do |topic_group| -%>
|
2
|
+
<%- if not topic_group.has_key?(:topics) -%>
|
3
|
+
<li><a class="<%= topic_id.start_with?(topic_group[:id]) ? ' active' : '' %>" href="<%= subtopic_shim %><%= topic_group[:path] %>"><%= topic_group[:name] %></a></li>
|
4
|
+
<%- else -%>
|
4
5
|
<li class="nav-header">
|
5
|
-
<a class="" href="#" data-toggle="collapse" data-target="#topicGroup
|
6
|
-
<span id="
|
6
|
+
<a class="" href="#" data-toggle="collapse" data-target="#topicGroup-<%= topic_group[:id].hash %>">
|
7
|
+
<span id="sgSpan-<%= topic_group[:id].hash %>" class="fa <%= topic_id.start_with?(topic_group[:id]) ? 'fa-caret-down' : 'fa-caret-right' %>"></span> <%= topic_group[:name] %>
|
7
8
|
</a>
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
<%- current_topic = current_group && (topic[:id] == topic_id) -%>
|
12
|
-
<li><a class="<%= current_topic ? ' active' : '' %>" href="<%= subtopic_shim %><%= topic[:path] %>"><%= topic[:name] %></a></li>
|
13
|
-
<%- else -%>
|
14
|
-
<%- current_subgroup = topic[:id] == subgroup_id -%>
|
15
|
-
<li class="nav-header">
|
16
|
-
<a class="" href="#" data-toggle="collapse" data-target="#topicSubGroup-<%= groupidx %>-<%= topicidx %>">
|
17
|
-
<span id="sgSpan-<%= groupidx %>-<%= topicidx %>" class="fa <%= current_subgroup ? 'fa-caret-down' : 'fa-caret-right' %>"></span> <%= topic[:name] %>
|
18
|
-
</a>
|
19
|
-
<ul id="topicSubGroup-<%= groupidx %>-<%= topicidx %>" class="nav-tertiary list-unstyled collapse<%= current_subgroup ? ' in' : '' %>">
|
20
|
-
<%- topic[:topics].each do |subtopic| -%>
|
21
|
-
<%- current_subtopic = current_group && current_subgroup && (subtopic[:id] == topic_id) %>
|
22
|
-
<li><a class="<%= current_subtopic ? ' active' : '' %>" href="<%= subtopic_shim %><%= subtopic[:path] %>"><%= subtopic[:name] %></a></li>
|
23
|
-
<%- end -%>
|
24
|
-
</ul>
|
25
|
-
</li>
|
26
|
-
<%- end -%>
|
27
|
-
<%- end -%>
|
28
|
-
</ul>
|
9
|
+
<ul id="topicGroup-<%= topic_group[:id].hash %>" class="collapse <%= topic_id.start_with?(topic_group[:id]) ? 'in' : '' %> list-unstyled">
|
10
|
+
<%= render("_templates/_nav.html.erb", :navigation => topic_group[:topics], :topic_id => topic_id, :subtopic_shim => subtopic_shim) %>
|
11
|
+
</ul>
|
29
12
|
</li>
|
30
13
|
<%- end -%>
|
31
|
-
|
14
|
+
<%- end -%>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<%- navigation.each do |topic_group| -%>
|
2
|
+
<%- if topic_id.start_with?(topic_group[:id]) %>
|
3
|
+
| <%= topic_group[:name] %>
|
4
|
+
<%- end -%>
|
5
|
+
<%- if topic_group.has_key?(:topics) -%>
|
6
|
+
<%= render("_templates/_title.html.erb", :navigation => topic_group[:topics], :topic_id => topic_id) %>
|
7
|
+
<%- end -%>
|
8
|
+
<%- end -%>
|
@@ -4,7 +4,9 @@
|
|
4
4
|
<meta charset="utf-8">
|
5
5
|
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
6
6
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
7
|
-
<title><%= distro %> <%= version %>
|
7
|
+
<title><%= distro %> <%= version %>
|
8
|
+
<%= render("_templates/_title.html.erb", :navigation => navigation, :topic_id => topic_id) %>
|
9
|
+
</title>
|
8
10
|
|
9
11
|
<!-- Bootstrap -->
|
10
12
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
|
@@ -39,20 +41,13 @@
|
|
39
41
|
<li class="sitename">
|
40
42
|
<a href="<%= site_home_path %>"><%= site_name %></a>
|
41
43
|
</li>
|
42
|
-
|
43
|
-
<%= breadcrumb_root %>
|
44
|
-
</li>
|
45
|
-
<li class="hidden-xs active">
|
46
|
-
<%= breadcrumb_group %>
|
47
|
-
</li>
|
48
|
-
<%= breadcrumb_subgroup_block %>
|
49
|
-
<li class="hidden-xs active">
|
50
|
-
<%= breadcrumb_topic %>
|
51
|
-
</li>
|
44
|
+
<%= render("_templates/_breadcrumb.html.erb", :navigation => navigation, :topic_id => topic_id, :subtopic_shim => subtopic_shim) %>
|
52
45
|
</ol>
|
53
46
|
<div class="row row-offcanvas row-offcanvas-left">
|
54
47
|
<div class="col-xs-8 col-sm-3 col-md-3 sidebar sidebar-offcanvas">
|
55
|
-
|
48
|
+
<ul class="nav nav-sidebar">
|
49
|
+
<%= render("_templates/_nav.html.erb", :navigation => navigation, :topic_id => topic_id, :subtopic_shim => subtopic_shim) %>
|
50
|
+
</ul>
|
56
51
|
</div>
|
57
52
|
<div class="col-xs-12 col-sm-9 col-md-9 main">
|
58
53
|
<div class="page-header">
|
metadata
CHANGED
@@ -1,32 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ascii_binder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N. Harrison Ripps
|
8
8
|
- Jason Frey
|
9
9
|
- Carlos Munoz
|
10
10
|
- Brian Exelbierd
|
11
|
-
|
11
|
+
- Vikram Goyal
|
12
|
+
autorequire:
|
12
13
|
bindir: bin
|
13
14
|
cert_chain: []
|
14
|
-
date:
|
15
|
+
date: 2021-04-13 00:00:00.000000000 Z
|
15
16
|
dependencies:
|
16
17
|
- !ruby/object:Gem::Dependency
|
17
18
|
name: bundler
|
18
19
|
requirement: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
20
|
-
- - "
|
21
|
+
- - ">="
|
21
22
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
23
|
+
version: '0'
|
23
24
|
type: :development
|
24
25
|
prerelease: false
|
25
26
|
version_requirements: !ruby/object:Gem::Requirement
|
26
27
|
requirements:
|
27
|
-
- - "
|
28
|
+
- - ">="
|
28
29
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
30
|
+
version: '0'
|
30
31
|
- !ruby/object:Gem::Dependency
|
31
32
|
name: cucumber
|
32
33
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,42 +62,56 @@ dependencies:
|
|
61
62
|
requirements:
|
62
63
|
- - "~>"
|
63
64
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
65
|
+
version: 12.3.3
|
65
66
|
type: :runtime
|
66
67
|
prerelease: false
|
67
68
|
version_requirements: !ruby/object:Gem::Requirement
|
68
69
|
requirements:
|
69
70
|
- - "~>"
|
70
71
|
- !ruby/object:Gem::Version
|
71
|
-
version:
|
72
|
+
version: 12.3.3
|
72
73
|
- !ruby/object:Gem::Dependency
|
73
74
|
name: asciidoctor
|
74
75
|
requirement: !ruby/object:Gem::Requirement
|
75
76
|
requirements:
|
76
77
|
- - "~>"
|
77
78
|
- !ruby/object:Gem::Version
|
78
|
-
version:
|
79
|
+
version: 2.0.10
|
79
80
|
type: :runtime
|
80
81
|
prerelease: false
|
81
82
|
version_requirements: !ruby/object:Gem::Requirement
|
82
83
|
requirements:
|
83
84
|
- - "~>"
|
84
85
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
86
|
+
version: 2.0.10
|
86
87
|
- !ruby/object:Gem::Dependency
|
87
88
|
name: asciidoctor-diagram
|
88
89
|
requirement: !ruby/object:Gem::Requirement
|
89
90
|
requirements:
|
90
91
|
- - "~>"
|
91
92
|
- !ruby/object:Gem::Version
|
92
|
-
version:
|
93
|
+
version: 2.0.2
|
94
|
+
type: :runtime
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - "~>"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 2.0.2
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: rouge
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - "~>"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 3.18.0
|
93
108
|
type: :runtime
|
94
109
|
prerelease: false
|
95
110
|
version_requirements: !ruby/object:Gem::Requirement
|
96
111
|
requirements:
|
97
112
|
- - "~>"
|
98
113
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
114
|
+
version: 3.18.0
|
100
115
|
- !ruby/object:Gem::Dependency
|
101
116
|
name: git
|
102
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -244,6 +259,7 @@ email:
|
|
244
259
|
- jfrey@redhat.com
|
245
260
|
- chavo16@hotmail.com
|
246
261
|
- bex@pobox.com
|
262
|
+
- vigoyal@redhat.com
|
247
263
|
executables:
|
248
264
|
- ascii_binder
|
249
265
|
- asciibinder
|
@@ -323,17 +339,19 @@ files:
|
|
323
339
|
- templates/_javascripts/.gitkeep
|
324
340
|
- templates/_javascripts/bootstrap-offcanvas.js
|
325
341
|
- templates/_stylesheets/asciibinder.css
|
342
|
+
- templates/_templates/_breadcrumb.html.erb
|
326
343
|
- templates/_templates/_css.html.erb
|
327
344
|
- templates/_templates/_nav.html.erb
|
345
|
+
- templates/_templates/_title.html.erb
|
328
346
|
- templates/_templates/page.html.erb
|
329
347
|
- templates/_topic_map.yml
|
330
348
|
- templates/index-main.html
|
331
349
|
- templates/welcome/index.adoc
|
332
|
-
homepage:
|
350
|
+
homepage: https://github.com/redhataccess/ascii_binder
|
333
351
|
licenses:
|
334
352
|
- MIT
|
335
353
|
metadata: {}
|
336
|
-
post_install_message:
|
354
|
+
post_install_message:
|
337
355
|
rdoc_options: []
|
338
356
|
require_paths:
|
339
357
|
- lib
|
@@ -348,9 +366,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
348
366
|
- !ruby/object:Gem::Version
|
349
367
|
version: '0'
|
350
368
|
requirements: []
|
351
|
-
|
352
|
-
|
353
|
-
signing_key:
|
369
|
+
rubygems_version: 3.2.3
|
370
|
+
signing_key:
|
354
371
|
specification_version: 4
|
355
372
|
summary: AsciiBinder is an AsciiDoc-based system for authoring and publishing closely
|
356
373
|
related documentation sets from a single source.
|