giblish 0.7.6 → 1.0.0.rc2
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 +61 -0
- data/README.adoc +267 -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 +51 -32
- data/lib/giblish/adocsrc_providers.rb +23 -0
- data/lib/giblish/application.rb +213 -37
- 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} +33 -9
- 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 +472 -76
- 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 +167 -321
- 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 +190 -81
- data/.rubocop.yml +0 -8
- 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 -218
- data/lib/giblish/buildindex.rb +0 -464
- data/lib/giblish/core.rb +0 -442
- data/lib/giblish/docconverter.rb +0 -310
- data/lib/giblish/docid.rb +0 -188
- data/lib/giblish/docinfo.rb +0 -100
- data/lib/giblish/indexheadings.rb +0 -255
- 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,71 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: giblish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.rc2
|
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-01-30 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.0'
|
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.0'
|
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.1'
|
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.1'
|
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
|
@@ -80,6 +80,90 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.20.3
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: asciidoctor-mathematical
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.3.5
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
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: warning
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.2'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.2'
|
83
167
|
- !ruby/object:Gem::Dependency
|
84
168
|
name: asciidoctor
|
85
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,7 +173,7 @@ dependencies:
|
|
89
173
|
version: '2.0'
|
90
174
|
- - ">="
|
91
175
|
- !ruby/object:Gem::Version
|
92
|
-
version: 2.0.
|
176
|
+
version: 2.0.17
|
93
177
|
type: :runtime
|
94
178
|
prerelease: false
|
95
179
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -99,83 +183,83 @@ dependencies:
|
|
99
183
|
version: '2.0'
|
100
184
|
- - ">="
|
101
185
|
- !ruby/object:Gem::Version
|
102
|
-
version: 2.0.
|
186
|
+
version: 2.0.17
|
103
187
|
- !ruby/object:Gem::Dependency
|
104
188
|
name: asciidoctor-diagram
|
105
189
|
requirement: !ruby/object:Gem::Requirement
|
106
190
|
requirements:
|
107
191
|
- - "~>"
|
108
192
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
193
|
+
version: '2.2'
|
110
194
|
type: :runtime
|
111
195
|
prerelease: false
|
112
196
|
version_requirements: !ruby/object:Gem::Requirement
|
113
197
|
requirements:
|
114
198
|
- - "~>"
|
115
199
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
200
|
+
version: '2.2'
|
117
201
|
- !ruby/object:Gem::Dependency
|
118
202
|
name: asciidoctor-pdf
|
119
203
|
requirement: !ruby/object:Gem::Requirement
|
120
204
|
requirements:
|
121
205
|
- - "~>"
|
122
206
|
- !ruby/object:Gem::Version
|
123
|
-
version: '1.
|
207
|
+
version: '1.6'
|
124
208
|
- - ">="
|
125
209
|
- !ruby/object:Gem::Version
|
126
|
-
version: 1.
|
210
|
+
version: 1.6.2
|
127
211
|
type: :runtime
|
128
212
|
prerelease: false
|
129
213
|
version_requirements: !ruby/object:Gem::Requirement
|
130
214
|
requirements:
|
131
215
|
- - "~>"
|
132
216
|
- !ruby/object:Gem::Version
|
133
|
-
version: '1.
|
217
|
+
version: '1.6'
|
134
218
|
- - ">="
|
135
219
|
- !ruby/object:Gem::Version
|
136
|
-
version: 1.
|
220
|
+
version: 1.6.2
|
137
221
|
- !ruby/object:Gem::Dependency
|
138
222
|
name: git
|
139
223
|
requirement: !ruby/object:Gem::Requirement
|
140
224
|
requirements:
|
141
225
|
- - "~>"
|
142
226
|
- !ruby/object:Gem::Version
|
143
|
-
version: '1.
|
227
|
+
version: '1.9'
|
144
228
|
type: :runtime
|
145
229
|
prerelease: false
|
146
230
|
version_requirements: !ruby/object:Gem::Requirement
|
147
231
|
requirements:
|
148
232
|
- - "~>"
|
149
233
|
- !ruby/object:Gem::Version
|
150
|
-
version: '1.
|
234
|
+
version: '1.9'
|
151
235
|
- !ruby/object:Gem::Dependency
|
152
236
|
name: rouge
|
153
237
|
requirement: !ruby/object:Gem::Requirement
|
154
238
|
requirements:
|
155
239
|
- - "~>"
|
156
240
|
- !ruby/object:Gem::Version
|
157
|
-
version: '3.
|
241
|
+
version: '3.0'
|
158
242
|
type: :runtime
|
159
243
|
prerelease: false
|
160
244
|
version_requirements: !ruby/object:Gem::Requirement
|
161
245
|
requirements:
|
162
246
|
- - "~>"
|
163
247
|
- !ruby/object:Gem::Version
|
164
|
-
version: '3.
|
248
|
+
version: '3.0'
|
165
249
|
- !ruby/object:Gem::Dependency
|
166
250
|
name: prawn-svg
|
167
251
|
requirement: !ruby/object:Gem::Requirement
|
168
252
|
requirements:
|
169
253
|
- - "~>"
|
170
254
|
- !ruby/object:Gem::Version
|
171
|
-
version: 0.
|
255
|
+
version: 0.32.0
|
172
256
|
type: :runtime
|
173
257
|
prerelease: false
|
174
258
|
version_requirements: !ruby/object:Gem::Requirement
|
175
259
|
requirements:
|
176
260
|
- - "~>"
|
177
261
|
- !ruby/object:Gem::Version
|
178
|
-
version: 0.
|
262
|
+
version: 0.32.0
|
179
263
|
description: |
|
180
264
|
giblish generates indexed and searchable documents from a tree of
|
181
265
|
asciidoc files.
|
@@ -186,71 +270,96 @@ executables:
|
|
186
270
|
extensions: []
|
187
271
|
extra_rdoc_files: []
|
188
272
|
files:
|
273
|
+
- ".github/workflows/unit_tests.yml"
|
189
274
|
- ".gitignore"
|
190
|
-
- ".rubocop.yml"
|
191
275
|
- ".ruby-version"
|
192
|
-
-
|
193
|
-
- Changelog
|
194
|
-
- Gemfile
|
276
|
+
- Changelog.adoc
|
195
277
|
- LICENSE
|
196
278
|
- README.adoc
|
197
|
-
-
|
198
|
-
-
|
199
|
-
-
|
200
|
-
-
|
201
|
-
-
|
202
|
-
-
|
203
|
-
-
|
204
|
-
-
|
205
|
-
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
-
|
209
|
-
-
|
210
|
-
-
|
211
|
-
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
- docgen/resources/images/giblish_logo.png
|
215
|
-
- docgen/resources/images/giblish_logo.svg
|
216
|
-
- docgen/resources/themes/giblish.yml
|
217
|
-
- docgen/scripts/Jenkinsfile
|
218
|
-
- docgen/scripts/gen_adoc_org.sh
|
219
|
-
- docgen/scripts/githook_examples/post-update.example
|
220
|
-
- docs/README.adoc
|
221
|
-
- docs/setup_server.adoc
|
222
|
-
- docs/setup_server_assets/Render Documents.png
|
223
|
-
- docs/setup_server_assets/View Documents.png
|
224
|
-
- docs/setup_server_assets/deploy_with_hooks.graphml
|
225
|
-
- docs/setup_server_assets/deploy_with_hooks.svg
|
226
|
-
- docs/setup_server_assets/deploy_with_jenkins.graphml
|
227
|
-
- docs/setup_server_assets/deploy_with_jenkins.svg
|
228
|
-
- docs/setup_server_assets/giblish_deployment.graphml
|
279
|
+
- docs/concepts/text_search.adoc
|
280
|
+
- docs/concepts/text_search_im/cgi-search_request.puml
|
281
|
+
- docs/concepts/text_search_im/cgi-search_request.svg
|
282
|
+
- docs/concepts/text_search_im/search_request.puml
|
283
|
+
- docs/concepts/text_search_im/search_request.svg
|
284
|
+
- docs/howtos/trigger_generation.adoc
|
285
|
+
- docs/howtos/trigger_generation_im/Render Documents.png
|
286
|
+
- docs/howtos/trigger_generation_im/View Documents.png
|
287
|
+
- docs/howtos/trigger_generation_im/deploy_with_hooks.graphml
|
288
|
+
- docs/howtos/trigger_generation_im/deploy_with_hooks.svg
|
289
|
+
- docs/howtos/trigger_generation_im/deploy_with_jenkins.graphml
|
290
|
+
- docs/howtos/trigger_generation_im/deploy_with_jenkins.svg
|
291
|
+
- docs/howtos/trigger_generation_im/docgen_github.puml
|
292
|
+
- docs/howtos/trigger_generation_im/giblish_deployment.graphml
|
293
|
+
- docs/howtos/trigger_generation_im/post-receive-example.sh
|
294
|
+
- docs/reference/box_flow_spec.adoc
|
295
|
+
- docs/reference/search_spec.adoc
|
229
296
|
- exe/giblish
|
230
297
|
- giblish.gemspec
|
231
|
-
- lib/giblish-search.cgi
|
232
298
|
- lib/giblish.rb
|
299
|
+
- lib/giblish/adocsrc_providers.rb
|
233
300
|
- lib/giblish/application.rb
|
234
|
-
- lib/giblish/buildgraph.rb
|
235
|
-
- lib/giblish/buildindex.rb
|
236
301
|
- lib/giblish/cmdline.rb
|
237
|
-
- lib/giblish/
|
238
|
-
- lib/giblish/
|
239
|
-
- lib/giblish/
|
240
|
-
- lib/giblish/
|
241
|
-
- lib/giblish/
|
242
|
-
- lib/giblish/
|
302
|
+
- lib/giblish/config_utils.rb
|
303
|
+
- lib/giblish/configurator.rb
|
304
|
+
- lib/giblish/conversion_info.rb
|
305
|
+
- lib/giblish/docattr_providers.rb
|
306
|
+
- lib/giblish/docid/docid.rb
|
307
|
+
- lib/giblish/github_trigger/webhook_manager.rb
|
308
|
+
- lib/giblish/gitrepos/checkoutmanager.rb
|
309
|
+
- lib/giblish/gitrepos/gititf.rb
|
310
|
+
- lib/giblish/gitrepos/gitsummary.erb
|
311
|
+
- lib/giblish/gitrepos/gitsummaryprovider.rb
|
312
|
+
- lib/giblish/gitrepos/history_pb.rb
|
313
|
+
- lib/giblish/indexbuilders/d3treegraph.rb
|
314
|
+
- lib/giblish/indexbuilders/depgraphbuilder.rb
|
315
|
+
- lib/giblish/indexbuilders/dotdigraphadoc.rb
|
316
|
+
- lib/giblish/indexbuilders/standard_index.erb
|
317
|
+
- lib/giblish/indexbuilders/subtree_indices.rb
|
318
|
+
- lib/giblish/indexbuilders/templates/circles.html.erb
|
319
|
+
- lib/giblish/indexbuilders/templates/flame.html.erb
|
320
|
+
- lib/giblish/indexbuilders/templates/tree.html.erb
|
321
|
+
- lib/giblish/indexbuilders/templates/treemap.html.erb
|
322
|
+
- lib/giblish/indexbuilders/verbatimtree.rb
|
243
323
|
- lib/giblish/pathtree.rb
|
324
|
+
- lib/giblish/resourcepaths.rb
|
325
|
+
- lib/giblish/search/expand_adoc.rb
|
326
|
+
- lib/giblish/search/headingindexer.rb
|
327
|
+
- lib/giblish/search/request_manager.rb
|
328
|
+
- lib/giblish/search/searchquery.rb
|
329
|
+
- lib/giblish/search/textsearcher.rb
|
330
|
+
- lib/giblish/subtreeinfobuilder.rb
|
331
|
+
- lib/giblish/treeconverter.rb
|
244
332
|
- lib/giblish/utils.rb
|
245
333
|
- lib/giblish/version.rb
|
246
|
-
- scripts/hooks/post-receive
|
247
|
-
- scripts/
|
334
|
+
- scripts/hooks/post-receive.example
|
335
|
+
- scripts/hooks/post-update.example
|
336
|
+
- scripts/resources/css/adoc-colony.css
|
337
|
+
- scripts/resources/css/giblish-serif.css
|
248
338
|
- scripts/resources/css/giblish.css
|
339
|
+
- scripts/resources/fonts/Ubuntu-B.ttf
|
340
|
+
- scripts/resources/fonts/Ubuntu-BI.ttf
|
341
|
+
- scripts/resources/fonts/Ubuntu-R.ttf
|
342
|
+
- scripts/resources/fonts/Ubuntu-RI.ttf
|
343
|
+
- scripts/resources/fonts/mplus1p-regular-fallback.ttf
|
344
|
+
- scripts/resources/images/giblish_logo.png
|
345
|
+
- scripts/resources/images/giblish_logo.svg
|
346
|
+
- scripts/resources/themes/giblish.yml
|
347
|
+
- scripts/wserv_development.rb
|
348
|
+
- web_apps/cgi_search/gibsearch.rb
|
349
|
+
- web_apps/gh_webhook_trigger/config.ru
|
350
|
+
- web_apps/gh_webhook_trigger/gh_webhook_trigger.rb
|
351
|
+
- web_apps/gh_webhook_trigger/public/dummy.txt
|
352
|
+
- web_apps/sinatra_search/config.ru
|
353
|
+
- web_apps/sinatra_search/public/dummy.txt
|
354
|
+
- web_apps/sinatra_search/sinatra_search.rb
|
355
|
+
- web_apps/sinatra_search/tmp/restart.txt
|
249
356
|
homepage: https://github.com/rillbert/giblish
|
250
357
|
licenses:
|
251
358
|
- MIT
|
252
|
-
metadata:
|
253
|
-
|
359
|
+
metadata:
|
360
|
+
bug_tracker_uri: https://github.com/rillbert/giblish/issues
|
361
|
+
source_code_uri: https://github.com/rillbert/giblish
|
362
|
+
post_install_message:
|
254
363
|
rdoc_options: []
|
255
364
|
require_paths:
|
256
365
|
- lib
|
@@ -258,15 +367,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
258
367
|
requirements:
|
259
368
|
- - ">="
|
260
369
|
- !ruby/object:Gem::Version
|
261
|
-
version: '
|
370
|
+
version: '0'
|
262
371
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
263
372
|
requirements:
|
264
|
-
- - "
|
373
|
+
- - ">"
|
265
374
|
- !ruby/object:Gem::Version
|
266
|
-
version:
|
375
|
+
version: 1.3.1
|
267
376
|
requirements: []
|
268
|
-
rubygems_version: 3.
|
269
|
-
signing_key:
|
377
|
+
rubygems_version: 3.2.32
|
378
|
+
signing_key:
|
270
379
|
specification_version: 4
|
271
380
|
summary: A tool for publishing asciidoc docs stored in git repos
|
272
381
|
test_files: []
|