Skip to content

Commit 10f0dce

Browse files
committed
deploy: 857205e
1 parent 3d7aed3 commit 10f0dce

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

coulomb-core.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ <h2 id="coulomb-policies" class="section"><a class="anchor-link left" href="#cou
816816

817817
</span><span class="comment">// strict policy does not allow implicit value or unit conversions
818818
</span><span class="identifier">q1</span><span> + </span><span class="identifier">q3</span><span>
819-
</span><span class="comment">// error:
819+
</span><span class="comment">// error:
820820
// Addition not defined in scope for Quantity[Double, coulomb.units.accepted.Liter] and Quantity[Int, coulomb.units.si.Meter ^ (3 : Int)].
821821
// I found:
822822
//
@@ -826,9 +826,7 @@ <h2 id="coulomb-policies" class="section"><a class="anchor-link left" href="#cou
826826
// new coulomb.ops.ValueResolution.NC[Any, Any, Any](), ???, ???, ???)
827827
//
828828
// But Found: coulomb.ops.ValueResolution.NC[Any, Any, Any]
829-
// Required: coulomb.ops.ValueResolution[Double, Int].
830-
// q1 + q3
831-
// ^^</span></code></pre>
829+
// Required: coulomb.ops.ValueResolution[Double, Int].</span></code></pre>
832830
<p>The <code>coulomb-spire</code> library provides additional predefined policies that
833831
support the standard Scala numeric types as well as spire&#39;s specialized types.</p>
834832
<div class="callout info">

coulomb-parser.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ <h3 id="examples" class="section"><a class="anchor-link left" href="#examples"><
174174
</span><span class="string-literal">&quot;coulomb.units.info&quot;</span><span> *:
175175
</span><span class="type-name">EmptyTuple</span><span>
176176
]
177-
</span><span class="comment">// dslparser: RuntimeUnitParser = repl.MdocSession$MdocApp$$anon$1@3d3fe796</span></code></pre>
177+
</span><span class="comment">// dslparser: RuntimeUnitParser = repl.MdocSession$MdocApp$$anon$1@1ff4758a</span></code></pre>
178178
<p>Parsing can fail, and so the <code>parse</code> method returns an <a class="api" href="https://scala-lang.org/api/3.x/scala/util/Either.html">Either</a> object.
179179
In the following code, parsing a known unit <code>meter</code> results in a successful <a class="api" href="https://scala-lang.org/api/3.x/scala/util/Right.html">Right</a> value.</p>
180180
<p>This example illustrates that unit names parse into a corresponding fully qualified

coulomb-pureconfig.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ <h3 id="examples" class="section"><a class="anchor-link left" href="#examples"><
221221
bandwidth: {value: 200, unit: &quot;gigabyte / second&quot;}
222222
}
223223
&quot;&quot;&quot;</span><span>)
224-
</span><span class="comment">// source: ConfigObjectSource = pureconfig.ConfigObjectSource@5e2576dd
224+
</span><span class="comment">// source: ConfigObjectSource = pureconfig.ConfigObjectSource@1ae00f3
225225
</span><span>
226226
</span><span class="comment">// this load will succeed, with automatic unit conversions
227227
</span><span class="keyword">val</span><span> </span><span class="identifier">conf</span><span> = </span><span class="identifier">source</span><span>.</span><span class="identifier">load</span><span>[</span><span class="type-name">Config</span><span>]
@@ -238,7 +238,7 @@ <h3 id="examples" class="section"><a class="anchor-link left" href="#examples"><
238238
bandwidth: {value: 200, unit: &quot;gigabyte&quot;}
239239
}
240240
&quot;&quot;&quot;</span><span>)
241-
</span><span class="comment">// bad: ConfigObjectSource = pureconfig.ConfigObjectSource@47f668a7
241+
</span><span class="comment">// bad: ConfigObjectSource = pureconfig.ConfigObjectSource@4a05db2a
242242
</span><span>
243243
</span><span class="comment">// this load will fail because bandwidth units are incompatible
244244
</span><span class="keyword">val</span><span> </span><span class="identifier">fail</span><span> = </span><span class="identifier">bad</span><span>.</span><span class="identifier">load</span><span>[</span><span class="type-name">Config</span><span>]
@@ -281,7 +281,7 @@ <h2 id="integer-values" class="section"><a class="anchor-link left" href="#integ
281281
unit: megabyte
282282
}
283283
&quot;&quot;&quot;</span><span>)
284-
</span><span class="comment">// qsrc: ConfigObjectSource = pureconfig.ConfigObjectSource@fa9e3e7
284+
</span><span class="comment">// qsrc: ConfigObjectSource = pureconfig.ConfigObjectSource@28464a39
285285
</span><span>
286286
</span><span class="comment">// loading integer value types will succeed when type matches the config
287287
</span><span class="identifier">qsrc</span><span>.</span><span class="identifier">load</span><span>[</span><span class="type-name">Quantity</span><span>[</span><span class="type-name">Int</span><span>, </span><span class="type-name">Mega</span><span> * </span><span class="type-name">Byte</span><span>]]
@@ -331,7 +331,7 @@ <h2 id="io-policies" class="section"><a class="anchor-link left" href="#io-polic
331331
bandwidth: {value: 200, unit: {lhs: {lhs: giga, op: &quot;*&quot;, rhs: byte}, op: &quot;/&quot;, rhs: second}}
332332
}
333333
&quot;&quot;&quot;</span><span>)
334-
</span><span class="comment">// source: ConfigObjectSource = pureconfig.ConfigObjectSource@4866932a
334+
</span><span class="comment">// source: ConfigObjectSource = pureconfig.ConfigObjectSource@18ac0d33
335335
</span><span>
336336
</span><span class="comment">// this load will succeed, with automatic unit conversions
337337
</span><span class="keyword">val</span><span> </span><span class="identifier">conf</span><span> = </span><span class="identifier">source</span><span>.</span><span class="identifier">load</span><span>[</span><span class="type-name">Config</span><span>]

helium/site/laika-helium.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:root {
22
--primary-color: #007c99;
3-
--primary-light: #ebf6f7;
3+
--primary-light: #eef5f6;
44
--primary-medium: #a7d4de;
55
--secondary-color: #931813;
66
--text-color: #5f5f5f;
@@ -72,7 +72,7 @@
7272
--messages-info: #ebf6f7;
7373
--messages-info-light: #007c99;
7474
--messages-warning: #fcfacd;
75-
--messages-warning-light: #b1a400;
75+
--messages-warning-light: #817800;
7676
--messages-error: #ffe9e3;
7777
--messages-error-light: #d83030;
7878
--syntax-base1: #2a3236;

0 commit comments

Comments
 (0)