Skip to content

Commit ae37c74

Browse files
authored
Merge pull request #4002 from BuckleScript/fix_docs
snapshot and add encoding for error output & fix doc build
2 parents 7e75bc6 + 6cd555c commit ae37c74

File tree

212 files changed

+1566
-3266
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+1566
-3266
lines changed

docs/api/Belt.Array.html

Lines changed: 21 additions & 56 deletions
Large diffs are not rendered by default.

docs/api/Belt.Debug.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,9 @@
9898
&nbsp;</div>
9999
<h1>Module <a href="type_Belt.Debug.html">Belt.Debug</a></h1>
100100

101-
<pre><span class="keyword">module</span> Debug: <code class="type"><a href="Belt_Debug.html">Belt_Debug</a></code></pre><div class="info module top">
101+
<pre><span id="MODULEDebug"><span class="keyword">module</span> Debug</span>: <code class="type"><a href="Belt_Debug.html">Belt_Debug</a></code></pre><div class="info module top">
102102
<div class="not-examples">
103103
<a href="Belt.Debug.html"><code class="code">Belt.Debug</code></a>
104-
<p>
105104

106105
Utilities for set up debugging<br>
107106

docs/api/Belt.Float.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
</div>
100100
<h1>Module <a href="type_Belt.Float.html">Belt.Float</a></h1>
101101

102-
<pre><span class="keyword">module</span> Float: <code class="type"><a href="Belt_Float.html">Belt_Float</a></code></pre><hr width="100%">
102+
<pre><span id="MODULEFloat"><span class="keyword">module</span> Float</span>: <code class="type"><a href="Belt_Float.html">Belt_Float</a></code></pre><hr width="100%">
103103

104104
<pre><span id="VALtoInt"><span class="keyword">val</span> toInt</span> : <code class="type">float -> int</code></pre>
105105
<pre><span id="VALfromInt"><span class="keyword">val</span> fromInt</span> : <code class="type">int -> float</code></pre>

docs/api/Belt.HashMap.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,11 @@
9999
</div>
100100
<h1>Module <a href="type_Belt.HashMap.html">Belt.HashMap</a></h1>
101101

102-
<pre><span class="keyword">module</span> HashMap: <code class="type"><a href="Belt_HashMap.html">Belt_HashMap</a></code></pre><div class="info module top">
102+
<pre><span id="MODULEHashMap"><span class="keyword">module</span> HashMap</span>: <code class="type"><a href="Belt_HashMap.html">Belt_HashMap</a></code></pre><div class="info module top">
103103
<div class="not-examples">
104104
<a href="Belt.HashMap.html"><code class="code">Belt.HashMap</code></a>
105-
<p>
106105

107106
The top level provides generic <b>mutable</b> hash map operations.
108-
<p>
109107

110108
It also has two specialized inner modules
111109
<code class="code">Belt.HashMap.Int</code> and <code class="code">Belt.HashMap.String</code><br>
@@ -116,22 +114,21 @@ <h1>Module <a href="type_Belt.HashMap.html">Belt.HashMap</a></h1>
116114

117115
<hr width="100%">
118116

119-
<pre><span class="keyword">module</span> <a href="Belt_HashMap.Int.html">Int</a>: <code class="type"><a href="Belt_HashMapInt.html">Belt_HashMapInt</a></code></pre> <div class="info">
117+
<pre><span id="MODULEInt"><span class="keyword">module</span> <a href="Belt_HashMap.Int.html">Int</a></span>: <code class="type"><a href="Belt_HashMapInt.html">Belt_HashMapInt</a></code></pre> <div class="info">
120118
<div class="not-examples">
121119
Specalized when key type is <code class="code">int</code>, more efficient
122120
than the generic type<br>
123121

124122
</div>
125123
</div>
126-
<pre><span class="keyword">module</span> <a href="Belt_HashMap.String.html">String</a>: <code class="type"><a href="Belt_HashMapString.html">Belt_HashMapString</a></code></pre> <div class="info">
124+
<pre><span id="MODULEString"><span class="keyword">module</span> <a href="Belt_HashMap.String.html">String</a></span>: <code class="type"><a href="Belt_HashMapString.html">Belt_HashMapString</a></code></pre> <div class="info">
127125
<div class="not-examples">
128126
Specalized when key type is <code class="code">string</code>, more efficient
129127
than the generic type<br>
130128

131129
</div>
132-
</div> <div class="type-declaration">
130+
</div>
133131
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type">('key, 'value, 'id)</code> t</span> </pre>
134-
</div>
135132
<div class="info ">
136133
<div class="not-examples">
137134
The type of hash tables from type <code class="code">'key</code> to type <code class="code">'value</code>.<br>
@@ -141,9 +138,8 @@ <h1>Module <a href="type_Belt.HashMap.html">Belt.HashMap</a></h1>
141138
</div>
142139

143140

144-
<div class="type-declaration">
141+
145142
<pre><span id="TYPEid"><span class="keyword">type</span> <code class="type">('a, 'id)</code> id</span> = <code class="type">('a, 'id) <a href="Belt_Id.html#TYPEhashable">Belt_Id.hashable</a></code> </pre>
146-
</div>
147143

148144

149145
<pre><span id="VALmake"><span class="keyword">val</span> make</span> : <code class="type">hintSize:int -><br> id:('key, 'id) <a href="Belt_HashMap.html#TYPEid">id</a> -> ('key, 'value, 'id) <a href="Belt_HashMap.html#TYPEt">t</a></code></pre>
@@ -200,7 +196,6 @@ <h1>Module <a href="type_Belt.HashMap.html">Belt.HashMap</a></h1>
200196
where <code class="code">k1 ... kN</code> are the keys of all bindings in <code class="code">tbl</code>,
201197
and <code class="code">d1 ... dN</code> are the associated values.
202198
Each binding is presented exactly once to <code class="code">f</code>.
203-
<p>
204199

205200
The order in which the bindings are passed to <code class="code">f</code> is unspecified.
206201
However, if the table contains several bindings for the same key,

docs/api/Belt.HashSet.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,11 @@
9999
</div>
100100
<h1>Module <a href="type_Belt.HashSet.html">Belt.HashSet</a></h1>
101101

102-
<pre><span class="keyword">module</span> HashSet: <code class="type"><a href="Belt_HashSet.html">Belt_HashSet</a></code></pre><div class="info module top">
102+
<pre><span id="MODULEHashSet"><span class="keyword">module</span> HashSet</span>: <code class="type"><a href="Belt_HashSet.html">Belt_HashSet</a></code></pre><div class="info module top">
103103
<div class="not-examples">
104104
<a href="Belt.HashSet.html"><code class="code">Belt.HashSet</code></a>
105-
<p>
106105

107106
The top level provides generic <b>mutable</b> hash set operations.
108-
<p>
109107

110108
It also has two specialized inner modules
111109
<code class="code">Belt.HashSet.Int</code> and <code class="code">Belt.HashSet.String</code><br>
@@ -116,26 +114,25 @@ <h1>Module <a href="type_Belt.HashSet.html">Belt.HashSet</a></h1>
116114

117115
<hr width="100%">
118116

119-
<pre><span class="keyword">module</span> <a href="Belt_HashSet.Int.html">Int</a>: <code class="type"><a href="Belt_HashSetInt.html">Belt_HashSetInt</a></code></pre> <div class="info">
117+
<pre><span id="MODULEInt"><span class="keyword">module</span> <a href="Belt_HashSet.Int.html">Int</a></span>: <code class="type"><a href="Belt_HashSetInt.html">Belt_HashSetInt</a></code></pre> <div class="info">
120118
<div class="not-examples">
121119
Specalized when key type is <code class="code">int</code>, more efficient
122120
than the generic type<br>
123121

124122
</div>
125123
</div>
126-
<pre><span class="keyword">module</span> <a href="Belt_HashSet.String.html">String</a>: <code class="type"><a href="Belt_HashSetString.html">Belt_HashSetString</a></code></pre> <div class="info">
124+
<pre><span id="MODULEString"><span class="keyword">module</span> <a href="Belt_HashSet.String.html">String</a></span>: <code class="type"><a href="Belt_HashSetString.html">Belt_HashSetString</a></code></pre> <div class="info">
127125
<div class="not-examples">
128126
Specalized when key type is <code class="code">string</code>, more efficient
129127
than the generic type<br>
130128

131129
</div>
132-
</div> <div class="type-declaration">
130+
</div>
133131
<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type">('a, 'id)</code> t</span> </pre>
134-
</div>
135132

136-
<div class="type-declaration">
133+
<p>The type of hash tables from type <code class="code">'a</code> to type <code class="code">'b</code>.</p>
134+
137135
<pre><span id="TYPEid"><span class="keyword">type</span> <code class="type">('a, 'id)</code> id</span> = <code class="type">('a, 'id) <a href="Belt_Id.html#TYPEhashable">Belt_Id.hashable</a></code> </pre>
138-
</div>
139136

140137

141138
<pre><span id="VALmake"><span class="keyword">val</span> make</span> : <code class="type">hintSize:int -> id:('a, 'id) <a href="Belt_HashSet.html#TYPEid">id</a> -> ('a, 'id) <a href="Belt_HashSet.html#TYPEt">t</a></code></pre>

0 commit comments

Comments
 (0)