utopia-project 0.18.1 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bake/utopia/project.rb +9 -2
- data/lib/utopia/project/base.rb +1 -1
- data/lib/utopia/project/guide.rb +1 -1
- data/lib/utopia/project/version.rb +1 -1
- data/pages/source/index.xnode +1 -1
- data/pages/source/show.xnode +5 -1
- data/public/_static/site.css +0 -4
- data.tar.gz.sig +0 -0
- metadata +8 -11
- metadata.gz.sig +0 -0
- data/public/.DS_Store +0 -0
- data/public/_components/.DS_Store +0 -0
- data/public/_components/jquery-syntax/.DS_Store +0 -0
- data/public/_components/mermaid/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb20d4e30052d026d73a9d81d0aa4834756c0f0ab6b8bd352ba51e3cabadabf3
|
4
|
+
data.tar.gz: d1503c89cf8383adca84b0c47a91a7d224fbde80e2aa7363c9bb7cd5958b95f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46c2fed2d33cbd886057eb31c86b540dd8d66abce8a09bf80dfde36dcc1cc6fe3cfc6d7c140d05c4b30aabfd523cdbc78b6998133e0fc7cc5f5ef92e88fae5d1
|
7
|
+
data.tar.gz: 20eb201ef1cca0e746e25da9f2db3210881ebf2709131831f672f2e0daa66f53009a9b656c3eb638a2391a8cfb8eec095bf7bbdbefcd25a897b1cd187d3f7d71
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/utopia/project.rb
CHANGED
@@ -32,13 +32,20 @@ end
|
|
32
32
|
|
33
33
|
# Generate a static copy of the site.
|
34
34
|
# @parameter output_path [String] The output path for the static site.
|
35
|
-
|
35
|
+
# @parameter force [Boolean] Remove the output directory before generating the static content.
|
36
|
+
def static(output_path: "docs", force: true)
|
36
37
|
require 'rackula/command'
|
37
38
|
|
38
39
|
config_path = File.expand_path("../../template/config.ru", __dir__)
|
39
40
|
public_path = File.expand_path("../../public", __dir__)
|
40
41
|
|
41
|
-
|
42
|
+
arguments = []
|
43
|
+
|
44
|
+
if force
|
45
|
+
arguments << "--force"
|
46
|
+
end
|
47
|
+
|
48
|
+
Rackula::Command::Top["generate", *arguments,
|
42
49
|
"--config", config_path,
|
43
50
|
"--public", public_path,
|
44
51
|
"--output-path", output_path
|
data/lib/utopia/project/base.rb
CHANGED
data/lib/utopia/project/guide.rb
CHANGED
data/pages/source/index.xnode
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
if documentation = symbol.documentation or symbol.container?
|
13
13
|
?><li>
|
14
14
|
<?r if symbol.container? ?>
|
15
|
-
<a href="#{base.link_for(symbol)}"><code class="language-#{symbol.language.name}">#{symbol.
|
15
|
+
<a href="#{base.link_for(symbol)}"><code class="language-#{symbol.language.name}">#{symbol.short_form}</code></a>
|
16
16
|
|
17
17
|
#{partial 'content:pragmas', symbol: symbol, class: 'inline'}
|
18
18
|
|
data/pages/source/show.xnode
CHANGED
@@ -4,7 +4,11 @@
|
|
4
4
|
node = self[:node]
|
5
5
|
symbol = self[:symbol]
|
6
6
|
?>
|
7
|
-
<content:heading
|
7
|
+
<content:heading>#{symbol.qualified_name}</content:heading>
|
8
|
+
|
9
|
+
<p>
|
10
|
+
<code class="language-#{symbol.language.name}">#{symbol.long_form}</code>
|
11
|
+
</p>
|
8
12
|
|
9
13
|
<?r
|
10
14
|
if document = base.document_for(symbol)
|
data/public/_static/site.css
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utopia-project
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
+
- Olle Jonsson
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain:
|
@@ -36,7 +37,7 @@ cert_chain:
|
|
36
37
|
RAOsIl+HOBTb252nx1kIRN5hqQx272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
|
37
38
|
HiLJ8VOFx6w=
|
38
39
|
-----END CERTIFICATE-----
|
39
|
-
date: 2022-
|
40
|
+
date: 2022-05-13 00:00:00.000000000 Z
|
40
41
|
dependencies:
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: decode
|
@@ -84,16 +85,16 @@ dependencies:
|
|
84
85
|
name: rackula
|
85
86
|
requirement: !ruby/object:Gem::Requirement
|
86
87
|
requirements:
|
87
|
-
- - "
|
88
|
+
- - "~>"
|
88
89
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
90
|
+
version: '1.3'
|
90
91
|
type: :runtime
|
91
92
|
prerelease: false
|
92
93
|
version_requirements: !ruby/object:Gem::Requirement
|
93
94
|
requirements:
|
94
|
-
- - "
|
95
|
+
- - "~>"
|
95
96
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
97
|
+
version: '1.3'
|
97
98
|
- !ruby/object:Gem::Dependency
|
98
99
|
name: thread-local
|
99
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,13 +229,10 @@ files:
|
|
228
229
|
- pages/source/controller.rb
|
229
230
|
- pages/source/index.xnode
|
230
231
|
- pages/source/show.xnode
|
231
|
-
- public/.DS_Store
|
232
232
|
- public/.nojekyll
|
233
|
-
- public/_components/.DS_Store
|
234
233
|
- public/_components/jquery-litebox/jquery.litebox.css
|
235
234
|
- public/_components/jquery-litebox/jquery.litebox.gallery.css
|
236
235
|
- public/_components/jquery-litebox/jquery.litebox.js
|
237
|
-
- public/_components/jquery-syntax/.DS_Store
|
238
236
|
- public/_components/jquery-syntax/base/jquery.syntax.brush.apache.css
|
239
237
|
- public/_components/jquery-syntax/base/jquery.syntax.brush.applescript.css
|
240
238
|
- public/_components/jquery-syntax/base/jquery.syntax.brush.assembly.css
|
@@ -305,7 +303,6 @@ files:
|
|
305
303
|
- public/_components/jquery/jquery.slim.js
|
306
304
|
- public/_components/jquery/jquery.slim.min.js
|
307
305
|
- public/_components/jquery/jquery.slim.min.map
|
308
|
-
- public/_components/mermaid/.DS_Store
|
309
306
|
- public/_components/mermaid/mermaid.min.js
|
310
307
|
- public/_components/mermaid/mermaid.min.js.LICENSE.txt
|
311
308
|
- public/_static/icon.png
|
@@ -335,7 +332,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
332
|
- !ruby/object:Gem::Version
|
336
333
|
version: '0'
|
337
334
|
requirements: []
|
338
|
-
rubygems_version: 3.
|
335
|
+
rubygems_version: 3.3.7
|
339
336
|
signing_key:
|
340
337
|
specification_version: 4
|
341
338
|
summary: A project documentation tool based on Utopia.
|
metadata.gz.sig
CHANGED
Binary file
|
data/public/.DS_Store
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|