utopia-project 0.18.0 → 0.19.1
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/guide.rb +1 -1
- data/lib/utopia/project/version.rb +1 -1
- data/pages/_page.xnode +6 -1
- data.tar.gz.sig +0 -0
- metadata +8 -10
- metadata.gz.sig +2 -3
- data/public/.DS_Store +0 -0
- data/public/_components/.DS_Store +0 -0
- data/public/_components/jquery-syntax/.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: e8479ac4dc2baa64e5fe601e243bdc451a27a98683af099ef13e4168d93abbc9
|
4
|
+
data.tar.gz: 1d342b29f3dfd70a50bccf60b7bf1c3eee37720a077150339eea0621f9cb540a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1ec234ec399889c920da17113f1baab77b55ac935b1cf6842b1c81e45dc437a31bd90176cac228a482f3bc198fe635bba9bee77491940dfe1bfec6eb54e60e2
|
7
|
+
data.tar.gz: 862859d180cae34afb36623166b3bd876375d857fd9a2af0d58bd20c8b8587533bbb56e37fa88f2330744103b7577cb03189d2bc7dd6ad0906637d3d315d80eb
|
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/guide.rb
CHANGED
data/pages/_page.xnode
CHANGED
@@ -24,9 +24,14 @@
|
|
24
24
|
<script type="text/javascript">
|
25
25
|
//<![CDATA[
|
26
26
|
jQuery(function($) {
|
27
|
-
mermaid.init();
|
28
27
|
$.syntax();
|
29
28
|
});
|
29
|
+
|
30
|
+
let isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches
|
31
|
+
let config = {theme: 'light'};
|
32
|
+
if (isDarkMode) config.theme = 'dark';
|
33
|
+
else config.theme = 'forest';
|
34
|
+
mermaid.initialize(config);
|
30
35
|
//]]>
|
31
36
|
</script>
|
32
37
|
</head>
|
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.19.1
|
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-04-20 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
|
@@ -334,7 +332,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
334
332
|
- !ruby/object:Gem::Version
|
335
333
|
version: '0'
|
336
334
|
requirements: []
|
337
|
-
rubygems_version: 3.
|
335
|
+
rubygems_version: 3.1.6
|
338
336
|
signing_key:
|
339
337
|
specification_version: 4
|
340
338
|
summary: A project documentation tool based on Utopia.
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
B�j��3�m�X�y8TҴ���9gI�����|�H��N��3�6���HA'Һt9�1. ��GI�����y��w�d������G6�����`����^���"���f�5�
|
1
|
+
0�$�qOY)g����$����w����N�*QSv�h5g��U�#X�����Ʀ��TN�j?8wX�GgF��b�����4tSh����07�|�'�Ę}"l���
|
2
|
+
C�� �w��HkLخ�t�?�2����+����r���g���OF��~�XF�#�uO!SƢ_s7��:ckcv>f<j\W�U���J��;��!����[�*����;/�~��~\u�q醷�
|
data/public/.DS_Store
DELETED
Binary file
|
Binary file
|
Binary file
|