utopia-project 0.15.3 → 0.15.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/utopia/project/version.rb +1 -1
- data/pages/source/_pragmas.xnode +1 -4
- data/pages/source/_signature.xnode +0 -1
- data/pages/source/index.xnode +2 -0
- data/pages/source/show.xnode +1 -1
- data/public/_static/site.css +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b57a18176afa9434511f28f02302fee700be285f2b758619354753af53577a3
|
4
|
+
data.tar.gz: 6ae9b2ef4860fcf69a94fa374f45e593398888e14410b0dc646e0823f9b4feee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63d9424f566e31010506ab7cef1dacd28495967d86ac08c29dec93bb11158c4c43fd7751e3adb920e4df1f4d14d3e941d9dce612530dc62ba37640098d520dd4
|
7
|
+
data.tar.gz: cca320d9ebdb86b78e6b8f655028ef0e3978776f2df6f300dd4f693b0225e447a81a28c3eb1f1601fae58eef2962afcde674b13b3bb4de899a2a36d53c1d94d1
|
data/pages/source/_pragmas.xnode
CHANGED
@@ -7,13 +7,10 @@ documentation = symbol.documentation
|
|
7
7
|
pragmas = documentation&.filter(Decode::Comment::Pragma).to_a
|
8
8
|
|
9
9
|
if pragmas&.any? ?>
|
10
|
-
<ul class="pragmas">
|
10
|
+
<ul class="pragmas #{attributes[:class]}">
|
11
11
|
<?r pragmas.each do |pragma| ?>
|
12
12
|
<li class="pragma #{pragma.directive}">
|
13
13
|
<span class="directive">#{pragma.directive}</span>
|
14
|
-
<?r if text = pragma.text ?>
|
15
|
-
<span class="details">#{base.format(text.first, symbol, tight: true)}</span>
|
16
|
-
<?r end ?>
|
17
14
|
</li>
|
18
15
|
<?r end ?>
|
19
16
|
</ul>
|
data/pages/source/index.xnode
CHANGED
@@ -14,6 +14,8 @@
|
|
14
14
|
<?r if symbol.container? ?>
|
15
15
|
<a href="#{base.link_for(symbol)}"><code class="language-#{symbol.language.name}">#{symbol.long_form}</code></a>
|
16
16
|
|
17
|
+
#{partial 'content:pragmas', symbol: symbol, class: 'inline'}
|
18
|
+
|
17
19
|
<?r if documentation and text = documentation.text ?>
|
18
20
|
#{base.format(text.first, symbol)}
|
19
21
|
<?r end ?>
|
data/pages/source/show.xnode
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
?>
|
7
7
|
<content:heading><code class="language-#{symbol.language.name}">#{symbol.qualified_name}</code></content:heading>
|
8
8
|
|
9
|
-
#{partial 'content:
|
9
|
+
#{partial 'content:signature', symbol: symbol}
|
10
10
|
|
11
11
|
<?r
|
12
12
|
if document = base.document_for(symbol)
|
data/public/_static/site.css
CHANGED