giblish 0.8.2 → 2.0.0.pre.alpha1
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/.github/workflows/unit_tests.yml +30 -0
- data/.gitignore +7 -3
- data/.ruby-version +1 -1
- data/Changelog.adoc +59 -0
- data/README.adoc +261 -0
- data/docs/concepts/text_search.adoc +213 -0
- data/docs/concepts/text_search_im/cgi-search_request.puml +35 -0
- data/docs/concepts/text_search_im/cgi-search_request.svg +397 -0
- data/docs/concepts/text_search_im/search_request.puml +40 -0
- data/docs/concepts/text_search_im/search_request.svg +408 -0
- data/docs/howtos/trigger_generation.adoc +180 -0
- data/docs/{setup_server_assets → howtos/trigger_generation_im}/Render Documents.png +0 -0
- data/docs/{setup_server_assets → howtos/trigger_generation_im}/View Documents.png +0 -0
- data/docs/{setup_server_assets → howtos/trigger_generation_im}/deploy_with_hooks.graphml +0 -0
- data/docs/{setup_server_assets → howtos/trigger_generation_im}/deploy_with_hooks.svg +0 -0
- data/docs/{setup_server_assets → howtos/trigger_generation_im}/deploy_with_jenkins.graphml +0 -0
- data/docs/{setup_server_assets → howtos/trigger_generation_im}/deploy_with_jenkins.svg +0 -0
- data/docs/howtos/trigger_generation_im/docgen_github.puml +51 -0
- data/docs/{setup_server_assets → howtos/trigger_generation_im}/giblish_deployment.graphml +0 -0
- data/docs/howtos/trigger_generation_im/post-receive-example.sh +50 -0
- data/docs/reference/box_flow_spec.adoc +22 -0
- data/docs/reference/search_spec.adoc +185 -0
- data/giblish.gemspec +54 -32
- data/lib/giblish/adocsrc_providers.rb +23 -0
- data/lib/giblish/application.rb +214 -41
- data/lib/giblish/cmdline.rb +273 -259
- data/lib/giblish/config_utils.rb +41 -0
- data/lib/giblish/configurator.rb +163 -0
- data/lib/giblish/conversion_info.rb +120 -0
- data/lib/giblish/docattr_providers.rb +125 -0
- data/lib/giblish/docid/docid.rb +181 -0
- data/lib/giblish/github_trigger/webhook_manager.rb +64 -0
- data/lib/giblish/gitrepos/checkoutmanager.rb +124 -0
- data/lib/giblish/{gititf.rb → gitrepos/gititf.rb} +30 -4
- data/lib/giblish/gitrepos/gitsummary.erb +61 -0
- data/lib/giblish/gitrepos/gitsummaryprovider.rb +78 -0
- data/lib/giblish/gitrepos/history_pb.rb +41 -0
- data/lib/giblish/indexbuilders/d3treegraph.rb +88 -0
- data/lib/giblish/indexbuilders/depgraphbuilder.rb +109 -0
- data/lib/giblish/indexbuilders/dotdigraphadoc.rb +174 -0
- data/lib/giblish/indexbuilders/standard_index.erb +10 -0
- data/lib/giblish/indexbuilders/subtree_indices.rb +132 -0
- data/lib/giblish/indexbuilders/templates/circles.html.erb +111 -0
- data/lib/giblish/indexbuilders/templates/flame.html.erb +61 -0
- data/lib/giblish/indexbuilders/templates/tree.html.erb +366 -0
- data/lib/giblish/indexbuilders/templates/treemap.html.erb +127 -0
- data/lib/giblish/indexbuilders/verbatimtree.rb +94 -0
- data/lib/giblish/pathtree.rb +473 -74
- data/lib/giblish/resourcepaths.rb +150 -0
- data/lib/giblish/search/expand_adoc.rb +55 -0
- data/lib/giblish/search/headingindexer.rb +312 -0
- data/lib/giblish/search/request_manager.rb +110 -0
- data/lib/giblish/search/searchquery.rb +68 -0
- data/lib/giblish/search/textsearcher.rb +349 -0
- data/lib/giblish/subtreeinfobuilder.rb +77 -0
- data/lib/giblish/treeconverter.rb +272 -0
- data/lib/giblish/utils.rb +142 -294
- data/lib/giblish/version.rb +1 -1
- data/lib/giblish.rb +10 -7
- data/scripts/hooks/post-receive.example +66 -0
- data/{docgen/scripts/githook_examples → scripts/hooks}/post-update.example +0 -0
- data/{docgen → scripts}/resources/css/adoc-colony.css +0 -0
- data/scripts/resources/css/giblish-serif.css +419 -0
- data/scripts/resources/css/giblish.css +1979 -419
- data/{docgen → scripts}/resources/fonts/Ubuntu-B.ttf +0 -0
- data/{docgen → scripts}/resources/fonts/Ubuntu-BI.ttf +0 -0
- data/{docgen → scripts}/resources/fonts/Ubuntu-R.ttf +0 -0
- data/{docgen → scripts}/resources/fonts/Ubuntu-RI.ttf +0 -0
- data/{docgen → scripts}/resources/fonts/mplus1p-regular-fallback.ttf +0 -0
- data/{docgen → scripts}/resources/images/giblish_logo.png +0 -0
- data/{docgen → scripts}/resources/images/giblish_logo.svg +0 -0
- data/{docgen → scripts}/resources/themes/giblish.yml +0 -0
- data/scripts/wserv_development.rb +32 -0
- data/web_apps/cgi_search/gibsearch.rb +43 -0
- data/web_apps/gh_webhook_trigger/config.ru +2 -0
- data/web_apps/gh_webhook_trigger/gh_webhook_trigger.rb +73 -0
- data/web_apps/gh_webhook_trigger/public/dummy.txt +3 -0
- data/web_apps/sinatra_search/config.ru +2 -0
- data/web_apps/sinatra_search/public/dummy.txt +3 -0
- data/web_apps/sinatra_search/sinatra_search.rb +34 -0
- data/web_apps/sinatra_search/tmp/restart.txt +0 -0
- metadata +188 -85
- data/.rubocop.yml +0 -7
- data/.travis.yml +0 -3
- data/Changelog +0 -16
- data/Gemfile +0 -4
- data/README.adoc +0 -1
- data/Rakefile +0 -41
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/data/testdocs/malformed/no_header.adoc +0 -5
- data/data/testdocs/toplevel.adoc +0 -19
- data/data/testdocs/wellformed/adorned_purpose.adoc +0 -17
- data/data/testdocs/wellformed/docidtest/docid_1.adoc +0 -24
- data/data/testdocs/wellformed/docidtest/docid_2.adoc +0 -8
- data/data/testdocs/wellformed/simple.adoc +0 -14
- data/data/testdocs/wellformed/source_highlighting/highlight_source.adoc +0 -38
- data/docgen/resources/css/giblish.css +0 -1979
- data/docgen/scripts/Jenkinsfile +0 -18
- data/docgen/scripts/gen_adoc_org.sh +0 -58
- data/docs/README.adoc +0 -387
- data/docs/setup_server.adoc +0 -202
- data/lib/giblish/buildgraph.rb +0 -216
- data/lib/giblish/buildindex.rb +0 -459
- data/lib/giblish/core.rb +0 -451
- data/lib/giblish/docconverter.rb +0 -308
- data/lib/giblish/docid.rb +0 -180
- data/lib/giblish/docinfo.rb +0 -75
- data/lib/giblish/indexheadings.rb +0 -251
- data/lib/giblish-search.cgi +0 -459
- data/scripts/hooks/post-receive +0 -57
- data/scripts/publish_html.sh +0 -99
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,32 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# Starts up a simple web server for local testing of generated documents.
|
4
|
+
#
|
5
|
+
# A typical dev flow:
|
6
|
+
#
|
7
|
+
# 1. Create your html docs using giblish
|
8
|
+
# 2. If you want to enable text search, copy or symlink the `gibsearch.rb` script
|
9
|
+
# from the giblish gem to the correct location under the target tree.
|
10
|
+
# 3. Run this script to kick-off a web server that serves your html docs.
|
11
|
+
|
12
|
+
require "webrick"
|
13
|
+
require "webrick/cgi"
|
14
|
+
|
15
|
+
# the root directory for the web server
|
16
|
+
web_root = "#{__dir__}/html_docs"
|
17
|
+
|
18
|
+
# the port the web server listens to
|
19
|
+
port = 8000
|
20
|
+
|
21
|
+
puts "Trying to start a WEBrick instance at port #{port} serving files from #{web_root}..."
|
22
|
+
server = WEBrick::HTTPServer.new(
|
23
|
+
Port: port,
|
24
|
+
DocumentRoot: File.expand_path(web_root),
|
25
|
+
Logger: WEBrick::Log.new("webrick.log", WEBrick::Log::DEBUG)
|
26
|
+
)
|
27
|
+
|
28
|
+
puts "WEBrick instance now listening to localhost:#{port}"
|
29
|
+
trap "INT" do
|
30
|
+
server.shutdown
|
31
|
+
end
|
32
|
+
server.start
|
@@ -0,0 +1,43 @@
|
|
1
|
+
#!/home/andersr/.rbenv/shims/ruby
|
2
|
+
## /usr/bin/env ruby
|
3
|
+
# replace the line above with an absolute path to a ruby interpreter
|
4
|
+
# if you don't want the system one.
|
5
|
+
|
6
|
+
require "cgi"
|
7
|
+
begin
|
8
|
+
# used when developping this script
|
9
|
+
require_relative "../gh_giblish/lib/giblish/search/request_manager"
|
10
|
+
rescue LoadError
|
11
|
+
# used in deployment
|
12
|
+
require "giblish"
|
13
|
+
end
|
14
|
+
|
15
|
+
# Provide the mappings of URL paths that apply to the specific deployment
|
16
|
+
# setup.
|
17
|
+
#
|
18
|
+
# The below example maps the URI www.exaple.com/ to the local directory
|
19
|
+
# /home/andersr/repos/gendocs on the web server.
|
20
|
+
URL_PATH_MAPPINGS = {
|
21
|
+
"/" => __dir__.to_s
|
22
|
+
}
|
23
|
+
|
24
|
+
# This is run for each CGI request.
|
25
|
+
#
|
26
|
+
# Exits with 0 for success, 1 for failure
|
27
|
+
if __FILE__ == $PROGRAM_NAME
|
28
|
+
$stdout.sync = true
|
29
|
+
|
30
|
+
begin
|
31
|
+
cgi = CGI.new
|
32
|
+
|
33
|
+
# assemble the html response for a given search request
|
34
|
+
print cgi.header
|
35
|
+
print Giblish::RequestManager.new(URL_PATH_MAPPINGS).response(cgi)
|
36
|
+
0
|
37
|
+
rescue => e
|
38
|
+
print e.message
|
39
|
+
print "<br>"
|
40
|
+
print e.backtrace
|
41
|
+
1
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# This app will trigger a document generation from a 'push' github webhook
|
2
|
+
require "sinatra"
|
3
|
+
require "json"
|
4
|
+
require "pathname"
|
5
|
+
require "logger"
|
6
|
+
|
7
|
+
begin
|
8
|
+
# used during development/testing
|
9
|
+
require_relative "../../lib/giblish/github_trigger/webhook_manager"
|
10
|
+
rescue LoadError
|
11
|
+
# used in production
|
12
|
+
require "giblish"
|
13
|
+
end
|
14
|
+
|
15
|
+
# setup a specific logger for requests
|
16
|
+
accesslog_path = Pathname.new(__dir__).join("log/access.log")
|
17
|
+
accesslog_path.dirname.mkpath
|
18
|
+
access_logger = ::Logger.new(accesslog_path.to_s)
|
19
|
+
|
20
|
+
# instantiate the one-and-only web-hook-manager
|
21
|
+
DSTDIR = "/var/www/rillbert_se/html/public/giblish_examples/giblish"
|
22
|
+
clone_dir = Dir.mktmpdir
|
23
|
+
|
24
|
+
# setup the doc generation once-and-for-all
|
25
|
+
doc_generator = Giblish::GenerateFromRefs.new(
|
26
|
+
"https://github.com/rillbert/giblish.git",
|
27
|
+
/main/,
|
28
|
+
clone_dir,
|
29
|
+
"giblish",
|
30
|
+
%W[-l debug -j data/],
|
31
|
+
".",
|
32
|
+
DSTDIR,
|
33
|
+
access_logger
|
34
|
+
)
|
35
|
+
|
36
|
+
post "/" do
|
37
|
+
gh_data = JSON.parse(request.body.read, symbolize_names: true)
|
38
|
+
# access_logger.debug { "Calling webhook manager with data: #{gh_data}" }
|
39
|
+
doc_generator.docs_from_gh_webhook(gh_data)
|
40
|
+
end
|
41
|
+
|
42
|
+
get "/" do
|
43
|
+
""
|
44
|
+
end
|
45
|
+
|
46
|
+
# class GenerateDocsFromGitHubHook < Sinatra::Base
|
47
|
+
# ::Logger.class_eval { alias_method :write, :<< }
|
48
|
+
|
49
|
+
# accesslog_path = Pathname.new(__dir__).join("../log/access.log")
|
50
|
+
# accesslog_path.dirname.mkpath
|
51
|
+
# access_logger = ::Logger.new(accesslog_path.to_s)
|
52
|
+
|
53
|
+
# errorlog_path = Pathname.new(__dir__).join("log/error.log")
|
54
|
+
# errorlog_path.dirname.mkpath
|
55
|
+
# error_logger = ::File.new(errorlog_path.to_s, "a+")
|
56
|
+
# error_logger.sync = true
|
57
|
+
|
58
|
+
# configure do
|
59
|
+
# use ::Rack::CommonLogger, access_logger
|
60
|
+
# end
|
61
|
+
|
62
|
+
# before {
|
63
|
+
# env["rack.errors"] = error_logger
|
64
|
+
# }
|
65
|
+
|
66
|
+
# # instantiate the one-and-only web-hook-manager
|
67
|
+
# wm = WebhookManager.new(/svg/, "https://github.com/rillbert/giblish.git", Dir.mktmpdir, "giblish", "docs", dstdir, error_logger)
|
68
|
+
|
69
|
+
# post "/payload" do
|
70
|
+
# gh_data = JSON.parse(request.body.read, symbolized_names: true)
|
71
|
+
# wm.run(gh_data)
|
72
|
+
# end
|
73
|
+
# end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "sinatra"
|
4
|
+
begin
|
5
|
+
# used when developping this script
|
6
|
+
require_relative "../gh_giblish/lib/giblish/search/request_manager"
|
7
|
+
rescue LoadError
|
8
|
+
# used in deployment
|
9
|
+
require "giblish"
|
10
|
+
end
|
11
|
+
|
12
|
+
# Provide the mappings of URI paths that apply to the specific deployment
|
13
|
+
# setup.
|
14
|
+
#
|
15
|
+
# The below example maps the URL www.example.com/ to the local directory
|
16
|
+
# /var/www/html/mydocs on the web server.
|
17
|
+
URL_PATH_MAPPINGS = {
|
18
|
+
"/" => "/var/www/html/mydocs"
|
19
|
+
}
|
20
|
+
|
21
|
+
# instantiate the one-and-only manager for search requests.
|
22
|
+
#
|
23
|
+
# It implements caching of search data internally and this will be
|
24
|
+
# wasted if a new instance were created for each search request.
|
25
|
+
request_mgr = Giblish::RequestManager.new(URL_PATH_MAPPINGS)
|
26
|
+
|
27
|
+
get "/gibsearch" do
|
28
|
+
# This call encapsulates the search and returns an html page
|
29
|
+
# with the search result.
|
30
|
+
#
|
31
|
+
# The search parameters of this request can be fetched from
|
32
|
+
# rack's environment.
|
33
|
+
request_mgr.response(request.env["rack.request.query_hash"])
|
34
|
+
end
|
File without changes
|
metadata
CHANGED
@@ -1,85 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: giblish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 2.0.0.pre.alpha1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anders Rillbert
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: minitest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '5.16'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '5.16'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: standard
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.16'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.16'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: oga
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.3'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: thor
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '1.2'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '1.2'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: asciidoctor-mathematical
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,90 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 0.3.5
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: sinatra
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.1'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: thin
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.8'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.8'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rack
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.2.3
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.2.3
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rack-test
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '1.1'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '1.1'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: matrix
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.4'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.4'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: warning
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '1.2'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '1.2'
|
97
181
|
- !ruby/object:Gem::Dependency
|
98
182
|
name: asciidoctor
|
99
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,7 +187,7 @@ dependencies:
|
|
103
187
|
version: '2.0'
|
104
188
|
- - ">="
|
105
189
|
- !ruby/object:Gem::Version
|
106
|
-
version: 2.0.
|
190
|
+
version: 2.0.17
|
107
191
|
type: :runtime
|
108
192
|
prerelease: false
|
109
193
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -113,69 +197,63 @@ dependencies:
|
|
113
197
|
version: '2.0'
|
114
198
|
- - ">="
|
115
199
|
- !ruby/object:Gem::Version
|
116
|
-
version: 2.0.
|
200
|
+
version: 2.0.17
|
117
201
|
- !ruby/object:Gem::Dependency
|
118
202
|
name: asciidoctor-diagram
|
119
203
|
requirement: !ruby/object:Gem::Requirement
|
120
204
|
requirements:
|
121
205
|
- - "~>"
|
122
206
|
- !ruby/object:Gem::Version
|
123
|
-
version: '2.
|
207
|
+
version: '2.2'
|
124
208
|
type: :runtime
|
125
209
|
prerelease: false
|
126
210
|
version_requirements: !ruby/object:Gem::Requirement
|
127
211
|
requirements:
|
128
212
|
- - "~>"
|
129
213
|
- !ruby/object:Gem::Version
|
130
|
-
version: '2.
|
214
|
+
version: '2.2'
|
131
215
|
- !ruby/object:Gem::Dependency
|
132
216
|
name: asciidoctor-pdf
|
133
217
|
requirement: !ruby/object:Gem::Requirement
|
134
218
|
requirements:
|
135
219
|
- - "~>"
|
136
220
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
138
|
-
- - ">="
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
version: 1.6.0
|
221
|
+
version: '2.3'
|
141
222
|
type: :runtime
|
142
223
|
prerelease: false
|
143
224
|
version_requirements: !ruby/object:Gem::Requirement
|
144
225
|
requirements:
|
145
226
|
- - "~>"
|
146
227
|
- !ruby/object:Gem::Version
|
147
|
-
version: '
|
148
|
-
- - ">="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: 1.6.0
|
228
|
+
version: '2.3'
|
151
229
|
- !ruby/object:Gem::Dependency
|
152
230
|
name: git
|
153
231
|
requirement: !ruby/object:Gem::Requirement
|
154
232
|
requirements:
|
155
233
|
- - "~>"
|
156
234
|
- !ruby/object:Gem::Version
|
157
|
-
version: '1.
|
235
|
+
version: '1.12'
|
158
236
|
type: :runtime
|
159
237
|
prerelease: false
|
160
238
|
version_requirements: !ruby/object:Gem::Requirement
|
161
239
|
requirements:
|
162
240
|
- - "~>"
|
163
241
|
- !ruby/object:Gem::Version
|
164
|
-
version: '1.
|
242
|
+
version: '1.12'
|
165
243
|
- !ruby/object:Gem::Dependency
|
166
244
|
name: rouge
|
167
245
|
requirement: !ruby/object:Gem::Requirement
|
168
246
|
requirements:
|
169
247
|
- - "~>"
|
170
248
|
- !ruby/object:Gem::Version
|
171
|
-
version: '3.
|
249
|
+
version: '3.30'
|
172
250
|
type: :runtime
|
173
251
|
prerelease: false
|
174
252
|
version_requirements: !ruby/object:Gem::Requirement
|
175
253
|
requirements:
|
176
254
|
- - "~>"
|
177
255
|
- !ruby/object:Gem::Version
|
178
|
-
version: '3.
|
256
|
+
version: '3.30'
|
179
257
|
- !ruby/object:Gem::Dependency
|
180
258
|
name: prawn-svg
|
181
259
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,71 +278,96 @@ executables:
|
|
200
278
|
extensions: []
|
201
279
|
extra_rdoc_files: []
|
202
280
|
files:
|
281
|
+
- ".github/workflows/unit_tests.yml"
|
203
282
|
- ".gitignore"
|
204
|
-
- ".rubocop.yml"
|
205
283
|
- ".ruby-version"
|
206
|
-
-
|
207
|
-
- Changelog
|
208
|
-
- Gemfile
|
284
|
+
- Changelog.adoc
|
209
285
|
- LICENSE
|
210
286
|
- README.adoc
|
211
|
-
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
219
|
-
-
|
220
|
-
-
|
221
|
-
-
|
222
|
-
-
|
223
|
-
-
|
224
|
-
-
|
225
|
-
-
|
226
|
-
-
|
227
|
-
-
|
228
|
-
- docgen/resources/images/giblish_logo.png
|
229
|
-
- docgen/resources/images/giblish_logo.svg
|
230
|
-
- docgen/resources/themes/giblish.yml
|
231
|
-
- docgen/scripts/Jenkinsfile
|
232
|
-
- docgen/scripts/gen_adoc_org.sh
|
233
|
-
- docgen/scripts/githook_examples/post-update.example
|
234
|
-
- docs/README.adoc
|
235
|
-
- docs/setup_server.adoc
|
236
|
-
- docs/setup_server_assets/Render Documents.png
|
237
|
-
- docs/setup_server_assets/View Documents.png
|
238
|
-
- docs/setup_server_assets/deploy_with_hooks.graphml
|
239
|
-
- docs/setup_server_assets/deploy_with_hooks.svg
|
240
|
-
- docs/setup_server_assets/deploy_with_jenkins.graphml
|
241
|
-
- docs/setup_server_assets/deploy_with_jenkins.svg
|
242
|
-
- docs/setup_server_assets/giblish_deployment.graphml
|
287
|
+
- docs/concepts/text_search.adoc
|
288
|
+
- docs/concepts/text_search_im/cgi-search_request.puml
|
289
|
+
- docs/concepts/text_search_im/cgi-search_request.svg
|
290
|
+
- docs/concepts/text_search_im/search_request.puml
|
291
|
+
- docs/concepts/text_search_im/search_request.svg
|
292
|
+
- docs/howtos/trigger_generation.adoc
|
293
|
+
- docs/howtos/trigger_generation_im/Render Documents.png
|
294
|
+
- docs/howtos/trigger_generation_im/View Documents.png
|
295
|
+
- docs/howtos/trigger_generation_im/deploy_with_hooks.graphml
|
296
|
+
- docs/howtos/trigger_generation_im/deploy_with_hooks.svg
|
297
|
+
- docs/howtos/trigger_generation_im/deploy_with_jenkins.graphml
|
298
|
+
- docs/howtos/trigger_generation_im/deploy_with_jenkins.svg
|
299
|
+
- docs/howtos/trigger_generation_im/docgen_github.puml
|
300
|
+
- docs/howtos/trigger_generation_im/giblish_deployment.graphml
|
301
|
+
- docs/howtos/trigger_generation_im/post-receive-example.sh
|
302
|
+
- docs/reference/box_flow_spec.adoc
|
303
|
+
- docs/reference/search_spec.adoc
|
243
304
|
- exe/giblish
|
244
305
|
- giblish.gemspec
|
245
|
-
- lib/giblish-search.cgi
|
246
306
|
- lib/giblish.rb
|
307
|
+
- lib/giblish/adocsrc_providers.rb
|
247
308
|
- lib/giblish/application.rb
|
248
|
-
- lib/giblish/buildgraph.rb
|
249
|
-
- lib/giblish/buildindex.rb
|
250
309
|
- lib/giblish/cmdline.rb
|
251
|
-
- lib/giblish/
|
252
|
-
- lib/giblish/
|
253
|
-
- lib/giblish/
|
254
|
-
- lib/giblish/
|
255
|
-
- lib/giblish/
|
256
|
-
- lib/giblish/
|
310
|
+
- lib/giblish/config_utils.rb
|
311
|
+
- lib/giblish/configurator.rb
|
312
|
+
- lib/giblish/conversion_info.rb
|
313
|
+
- lib/giblish/docattr_providers.rb
|
314
|
+
- lib/giblish/docid/docid.rb
|
315
|
+
- lib/giblish/github_trigger/webhook_manager.rb
|
316
|
+
- lib/giblish/gitrepos/checkoutmanager.rb
|
317
|
+
- lib/giblish/gitrepos/gititf.rb
|
318
|
+
- lib/giblish/gitrepos/gitsummary.erb
|
319
|
+
- lib/giblish/gitrepos/gitsummaryprovider.rb
|
320
|
+
- lib/giblish/gitrepos/history_pb.rb
|
321
|
+
- lib/giblish/indexbuilders/d3treegraph.rb
|
322
|
+
- lib/giblish/indexbuilders/depgraphbuilder.rb
|
323
|
+
- lib/giblish/indexbuilders/dotdigraphadoc.rb
|
324
|
+
- lib/giblish/indexbuilders/standard_index.erb
|
325
|
+
- lib/giblish/indexbuilders/subtree_indices.rb
|
326
|
+
- lib/giblish/indexbuilders/templates/circles.html.erb
|
327
|
+
- lib/giblish/indexbuilders/templates/flame.html.erb
|
328
|
+
- lib/giblish/indexbuilders/templates/tree.html.erb
|
329
|
+
- lib/giblish/indexbuilders/templates/treemap.html.erb
|
330
|
+
- lib/giblish/indexbuilders/verbatimtree.rb
|
257
331
|
- lib/giblish/pathtree.rb
|
332
|
+
- lib/giblish/resourcepaths.rb
|
333
|
+
- lib/giblish/search/expand_adoc.rb
|
334
|
+
- lib/giblish/search/headingindexer.rb
|
335
|
+
- lib/giblish/search/request_manager.rb
|
336
|
+
- lib/giblish/search/searchquery.rb
|
337
|
+
- lib/giblish/search/textsearcher.rb
|
338
|
+
- lib/giblish/subtreeinfobuilder.rb
|
339
|
+
- lib/giblish/treeconverter.rb
|
258
340
|
- lib/giblish/utils.rb
|
259
341
|
- lib/giblish/version.rb
|
260
|
-
- scripts/hooks/post-receive
|
261
|
-
- scripts/
|
342
|
+
- scripts/hooks/post-receive.example
|
343
|
+
- scripts/hooks/post-update.example
|
344
|
+
- scripts/resources/css/adoc-colony.css
|
345
|
+
- scripts/resources/css/giblish-serif.css
|
262
346
|
- scripts/resources/css/giblish.css
|
347
|
+
- scripts/resources/fonts/Ubuntu-B.ttf
|
348
|
+
- scripts/resources/fonts/Ubuntu-BI.ttf
|
349
|
+
- scripts/resources/fonts/Ubuntu-R.ttf
|
350
|
+
- scripts/resources/fonts/Ubuntu-RI.ttf
|
351
|
+
- scripts/resources/fonts/mplus1p-regular-fallback.ttf
|
352
|
+
- scripts/resources/images/giblish_logo.png
|
353
|
+
- scripts/resources/images/giblish_logo.svg
|
354
|
+
- scripts/resources/themes/giblish.yml
|
355
|
+
- scripts/wserv_development.rb
|
356
|
+
- web_apps/cgi_search/gibsearch.rb
|
357
|
+
- web_apps/gh_webhook_trigger/config.ru
|
358
|
+
- web_apps/gh_webhook_trigger/gh_webhook_trigger.rb
|
359
|
+
- web_apps/gh_webhook_trigger/public/dummy.txt
|
360
|
+
- web_apps/sinatra_search/config.ru
|
361
|
+
- web_apps/sinatra_search/public/dummy.txt
|
362
|
+
- web_apps/sinatra_search/sinatra_search.rb
|
363
|
+
- web_apps/sinatra_search/tmp/restart.txt
|
263
364
|
homepage: https://github.com/rillbert/giblish
|
264
365
|
licenses:
|
265
366
|
- MIT
|
266
|
-
metadata:
|
267
|
-
|
367
|
+
metadata:
|
368
|
+
bug_tracker_uri: https://github.com/rillbert/giblish/issues
|
369
|
+
source_code_uri: https://github.com/rillbert/giblish
|
370
|
+
post_install_message:
|
268
371
|
rdoc_options: []
|
269
372
|
require_paths:
|
270
373
|
- lib
|
@@ -272,15 +375,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
272
375
|
requirements:
|
273
376
|
- - ">="
|
274
377
|
- !ruby/object:Gem::Version
|
275
|
-
version: '
|
378
|
+
version: '0'
|
276
379
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
380
|
requirements:
|
278
|
-
- - "
|
381
|
+
- - ">"
|
279
382
|
- !ruby/object:Gem::Version
|
280
|
-
version:
|
383
|
+
version: 1.3.1
|
281
384
|
requirements: []
|
282
|
-
rubygems_version: 3.
|
283
|
-
signing_key:
|
385
|
+
rubygems_version: 3.3.7
|
386
|
+
signing_key:
|
284
387
|
specification_version: 4
|
285
388
|
summary: A tool for publishing asciidoc docs stored in git repos
|
286
389
|
test_files: []
|