Skip to content

Commit

Permalink
[ docs ] CI docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 26, 2024
1 parent 12a5e49 commit 616c846
Show file tree
Hide file tree
Showing 82 changed files with 9,346 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/containers/docs/docs/Data.Queue.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
<div id="line71"><a href="#line71" class="IdrisLineNumber"> &nbsp;71 | </a><span class="IdrisComment">|||&nbsp;`peekOldest`.</span></div>
<div id="line72"><a href="#line72" class="IdrisLineNumber"> &nbsp;72 | </a><span class="IdrisKeyword">export</span></div>
<div id="line73"><a href="#line73" class="IdrisLineNumber"> &nbsp;73 | </a><span class="IdrisFunction">prepend</span>&nbsp;<span class="IdrisKeyword">:</span>&nbsp;<span class="IdrisBound">a</span>&nbsp;<span class="IdrisKeyword">-&gt;</span>&nbsp;<span class="IdrisType">Queue</span>&nbsp;<span class="IdrisBound">a</span>&nbsp;<span class="IdrisKeyword">-&gt;</span>&nbsp;<span class="IdrisType">Queue</span>&nbsp;<span class="IdrisBound">a</span></div>
<div id="line74"><a href="#line74" class="IdrisLineNumber"> &nbsp;74 | </a><span class="IdrisFunction">prepend</span>&nbsp;<span class="IdrisBound">x</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisData">Q</span>&nbsp;<span class="IdrisBound">f</span>&nbsp;<span class="IdrisBound">b</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">=</span>&nbsp;<span class="IdrisData">Q</span>&nbsp;<span class="IdrisBound">f</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisBound">b</span>&nbsp;<span class="IdrisData">:&lt;</span>&nbsp;<span class="IdrisBound">x</span><span class="IdrisKeyword">)</span></div>
<div id="line74"><a href="#line74" class="IdrisLineNumber"> &nbsp;74 | </a><span class="IdrisFunction">prepend</span>&nbsp;<span class="IdrisBound">x</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisData">Q</span>&nbsp;<span class="IdrisBound">f</span>&nbsp;<span class="IdrisBound">b</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">=</span>&nbsp;<span class="IdrisData">Q</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisBound">x</span><span class="IdrisData">::</span><span class="IdrisBound">f</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisBound">b</span></div>
<div id="line75"><a href="#line75" class="IdrisLineNumber"> &nbsp;75 | </a></div>
<div id="line76"><a href="#line76" class="IdrisLineNumber"> &nbsp;76 | </a><span class="IdrisComment">|||&nbsp;Return&nbsp;the&nbsp;last&nbsp;element&nbsp;of&nbsp;the&nbsp;queue,&nbsp;plus&nbsp;the&nbsp;unmodified</span></div>
<div id="line77"><a href="#line77" class="IdrisLineNumber"> &nbsp;77 | </a><span class="IdrisComment">|||&nbsp;queue.</span></div>
Expand All @@ -205,7 +205,7 @@
<div id="line84"><a href="#line84" class="IdrisLineNumber"> &nbsp;84 | </a><span class="IdrisFunction">peekOldest</span>&nbsp;<span class="IdrisKeyword">:</span>&nbsp;<span class="IdrisType">Queue</span>&nbsp;<span class="IdrisBound">a</span>&nbsp;<span class="IdrisKeyword">-&gt;</span>&nbsp;<span class="IdrisType">Maybe</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisBound">a</span><span class="IdrisType">,</span>&nbsp;<span class="IdrisType">Queue</span>&nbsp;<span class="IdrisBound">a</span><span class="IdrisKeyword">)</span></div>
<div id="line85"><a href="#line85" class="IdrisLineNumber"> &nbsp;85 | </a><span class="IdrisFunction">peekOldest</span>&nbsp;<span class="IdrisBound">q</span>&nbsp;<span class="IdrisKeyword">=</span></div>
<div id="line86"><a href="#line86" class="IdrisLineNumber"> &nbsp;86 | </a>&nbsp;&nbsp;<span class="IdrisKeyword">case</span>&nbsp;<span class="IdrisFunction">dequeue</span>&nbsp;<span class="IdrisBound">q</span>&nbsp;<span class="IdrisKeyword">of</span></div>
<div id="line87"><a href="#line87" class="IdrisLineNumber"> &nbsp;87 | </a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="IdrisData">Just</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisBound">v</span><span class="IdrisData">,</span><span class="IdrisBound">q&apos;</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">=&gt;</span>&nbsp;<span class="IdrisData">Just</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisBound">v</span><span class="IdrisData">,</span>&nbsp;<span class="IdrisFunction">prepend</span>&nbsp;<span class="IdrisBound">v</span>&nbsp;<span class="IdrisBound">q&apos;</span><span class="IdrisKeyword">)</span></div>
<div id="line87"><a href="#line87" class="IdrisLineNumber"> &nbsp;87 | </a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="IdrisData">Just</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisBound">v</span><span class="IdrisData">,Q</span>&nbsp;<span class="IdrisBound">f</span>&nbsp;<span class="IdrisBound">b</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">=&gt;</span>&nbsp;<span class="IdrisData">Just</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisBound">v</span><span class="IdrisData">,</span>&nbsp;<span class="IdrisData">Q</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisBound">v</span><span class="IdrisData">::</span><span class="IdrisBound">f</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisBound">b</span><span class="IdrisKeyword">)</span></div>
<div id="line88"><a href="#line88" class="IdrisLineNumber"> &nbsp;88 | </a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="IdrisData">Nothing</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="IdrisKeyword">=&gt;</span>&nbsp;<span class="IdrisData">Nothing</span></div>
<div id="line89"><a href="#line89" class="IdrisLineNumber"> &nbsp;89 | </a></div>
<div id="line90"><a href="#line90" class="IdrisLineNumber"> &nbsp;90 | </a><span class="IdrisComment">|||&nbsp;Appends&nbsp;two&nbsp;`Queues`.&nbsp;O(m&nbsp;+&nbsp;n)</span></div>
Expand Down
64 changes: 64 additions & 0 deletions docs/fin-lizzie/docs/docs/Data.Fin.Interpolation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!DOCTYPE html><html lang="en">

<head>
<meta charset="utf-8">
<title>Data.Fin.Interpolation</title>
<link rel="stylesheet" type="text/css" id="preferredStyle" href="../default.css">
<script>
/* Updates the stylesheet to use the preferred one.
Note that we set the link to root ++ sourceLoc because the config
is shared across the whole website, so the root may differ from
page to page.
*/
function setStyleSource (sourceLoc) {
document.getElementById("preferredStyle").href = "../" + sourceLoc + ".css";
document.getElementById("selectPreferredStyle").value = sourceLoc;
}
/* Initialises the preferred style sheet:
1. if there is a stored value then use that
otherwise select the default
2. set both the css link href & the drop down menu selected option
*/
function initStyleSource () {
var preferredStyle = localStorage.getItem("stylefile");
if (preferredStyle !== null) {
setStyleSource(preferredStyle);
} else {
setStyleSource("default");
};
}
function saveStyleSource (preferredStyle) {
localStorage.stylefile = preferredStyle;
}
</script>
</head>

<body class="namespace">
<header>
<strong>Idris2Doc</strong> : Data.Fin.Interpolation
<nav><a href="../index.html">Index</a>

<select id="selectPreferredStyle">
<option value="default">Default</option>
<option value="alternative">Alternative</option>
<option value="blackandwhite">Black & White</option>

</select>
</nav>

<script>
/* We start by initialising the style source */
initStyleSource();

/* This listens for changes on the drop down menu and updates the
css used for the current page when a selection is made.
*/
document.getElementById("selectPreferredStyle").addEventListener("change", function(){
var selected = this.options[this.selectedIndex].value; /* the option chosen */
setStyleSource (selected);
saveStyleSource (selected);
});
</script>

</header>
<div class="container"><div id="module-header"><h1>Data.Fin.Interpolation</h1><span style="float:right">(<a href="Data.Fin.Interpolation.src.html">source</a>)</span><pre></pre></div><code></code><h2>Definitions</h2><dl class="decls"><dt id="Data.Fin.Interpolation.FromShow"><code><a class="type" href="Data.Fin.Interpolation.html#Data.Fin.Interpolation.FromShow"><span class="name function">FromShow</span></a>&ensp;:&ensp;<span class="type resolved" title="Prelude.Interpolation.Interpolation"><span class="name type">Interpolation</span></span>&ensp;(<span class="type resolved" title="Data.Fin.Fin"><span class="name type">Fin</span></span>&ensp;<span class="boundvar">n</span>)</code></dt><dd> <b>Totality</b>:&ensp;<span class="keyword">total</span><br> <b>Visibility</b>:&ensp;<span class="keyword">export</span></dd></dl></div><footer>Produced by Idris 2 version 0.7.0-0e83d6c7c</footer></body></html>
133 changes: 133 additions & 0 deletions docs/fin-lizzie/docs/docs/Data.Fin.Interpolation.src.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<!DOCTYPE html><html lang="en">

<head>
<meta charset="utf-8">
<style>
.IdrisData {
color: darkred
}
.IdrisType {
color: blue
}
.IdrisBound {
color: black
}
.IdrisFunction {
color: darkgreen
}
.IdrisKeyword {
text-decoration: underline;
}
.IdrisComment {
color: #b22222
}
.IdrisNamespace {
font-style: italic;
color: black
}
.IdrisPostulate {
font-weight: bold;
color: red
}
.IdrisModule {
font-style: italic;
color: black
}

.IdrisLineNumber {
text-decoration: none;
color: lightgrey;
user-select: none;
}
.IdrisLineNumber:hover {
color: darkgray;
}
.IdrisLineNumber:target {
color: gray;
}
.IdrisHighlight {
background-color: yellow;
}
</style>
<script>
function initialize() {
function handleHash(ev) {
if (!location.hash) return
let m = location.hash.match(/#(line\d+)(?:-(line\d+))?/)
if (m) {
let start = document.getElementById(m[1])
let end = document.getElementById(m[2])
if (start) {
if (end && end.compareDocumentPosition(start) === 4) {
([start, end] = [end, start])
}
// Only on page load
if (!ev) start.scrollIntoView()
let parent = start.parentElement
let lines = parent.children
let className = ''
for (let n = 0; n < lines.length; n++) {
let el = lines[n]
if (el === start) className = 'IdrisHighlight'
el.className = className
if (el === end || className && !end) className = ''
}
}
}
}
let startLine
let endLine
function handlePointerMove(ev) {
if (startLine) {
for (let el = document.elementFromPoint(ev.clientX, ev.clientY); el; el = el.parentElement) {
if (el.parentElement === startLine.parentElement) {
if (endLine !== el) {
endLine = el
update()
}
break
}
}
}
}
function update(ev) {
window.location.hash = startLine === endLine ? startLine.id : startLine.id + '-' + endLine.id
}
function handlePointerDown(ev) {
let target = ev.target
if (target.className === 'IdrisLineNumber') {
startLine = endLine = target.parentElement
window.addEventListener('pointermove', handlePointerMove)
update()
ev.preventDefault()
}
}
function handlePointerUp(ev) {
if (startLine) {
update()
window.removeEventListener('pointermove', handlePointerMove)
startLine = endLine = null
}
}
window.addEventListener('hashchange', handleHash)
window.addEventListener('pointerdown', handlePointerDown)
window.addEventListener('pointerup', handlePointerUp)
handleHash()
}
</script>
</head>
<body onload="initialize()">
<code class="IdrisCode">
<div id="line0"><a href="#line0" class="IdrisLineNumber"> 0 | </a><span class="IdrisKeyword">module</span>&nbsp;<span class="IdrisModule">Data.Fin.Interpolation</span></div>
<div id="line1"><a href="#line1" class="IdrisLineNumber"> 1 | </a></div>
<div id="line2"><a href="#line2" class="IdrisLineNumber"> 2 | </a><span class="IdrisKeyword">import</span>&nbsp;<span class="IdrisModule">Data.Fin</span></div>
<div id="line3"><a href="#line3" class="IdrisLineNumber"> 3 | </a></div>
<div id="line4"><a href="#line4" class="IdrisLineNumber"> 4 | </a><span class="IdrisKeyword">%default</span>&nbsp;<span class="IdrisKeyword">total</span></div>
<div id="line5"><a href="#line5" class="IdrisLineNumber"> 5 | </a></div>
<div id="line6"><a href="#line6" class="IdrisLineNumber"> 6 | </a><span class="IdrisKeyword">export</span>&nbsp;<span class="IdrisKeyword">%defaulthint</span></div>
<div id="line7"><a href="#line7" class="IdrisLineNumber"> 7 | </a><span class="IdrisFunction">FromShow</span>&nbsp;<span class="IdrisKeyword">:</span>&nbsp;<span class="IdrisType">Interpolation</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisType">Fin</span>&nbsp;<span class="IdrisBound">n</span><span class="IdrisKeyword">)</span></div>
<div id="line8"><a href="#line8" class="IdrisLineNumber"> 8 | </a><span class="IdrisFunction">FromShow</span>&nbsp;<span class="IdrisKeyword">=</span>&nbsp;<span class="IdrisFunction">I</span>&nbsp;<span class="IdrisKeyword">where</span>&nbsp;<span class="IdrisKeyword">[</span><span class="IdrisFunction">I</span><span class="IdrisKeyword">]</span>&nbsp;<span class="IdrisType">Interpolation</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisType">Fin</span>&nbsp;<span class="IdrisBound">n</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">where</span>&nbsp;<span class="IdrisFunction">interpolate</span>&nbsp;<span class="IdrisKeyword">=</span>&nbsp;<span class="IdrisFunction">show</span></div>
<div id="line9"><a href="#line9" class="IdrisLineNumber"> 9 | </a></div>
</code>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/fin-lizzie/docs/docs/Data.Fin.Map.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/fin-lizzie/docs/docs/Data.Fin.Map.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@
<div id="line168"><a href="#line168" class="IdrisLineNumber"> 168 | </a><span class="IdrisFunction">rightMost</span>&nbsp;<span class="IdrisKeyword">=</span>&nbsp;<span class="IdrisFunction">last&apos;</span>&nbsp;<span class="IdrisFunction">.</span>&nbsp;<span class="IdrisFunction">kvList</span></div>
<div id="line169"><a href="#line169" class="IdrisLineNumber"> 169 | </a></div>
<div id="line170"><a href="#line170" class="IdrisLineNumber"> 170 | </a><span class="IdrisKeyword">export</span></div>
<div id="line171"><a href="#line171" class="IdrisLineNumber"> 171 | </a><span class="IdrisType">Interpolation</span>&nbsp;<span class="IdrisBound">v</span>&nbsp;<span class="IdrisKeyword">=&gt;</span>&nbsp;<span class="IdrisType">Interpolation</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisType">FinMap</span>&nbsp;<span class="IdrisBound">n</span>&nbsp;<span class="IdrisBound">v</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">where</span></div>
<div id="line172"><a href="#line172" class="IdrisLineNumber"> 172 | </a>&nbsp;&nbsp;<span class="IdrisFunction">interpolate</span>&nbsp;<span class="IdrisKeyword">=</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisData">&quot;{&quot;</span>&nbsp;<span class="IdrisFunction">++</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisFunction">.</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisFunction">++</span>&nbsp;<span class="IdrisData">&quot;}&quot;</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisFunction">.</span>&nbsp;<span class="IdrisFunction">joinBy</span>&nbsp;<span class="IdrisData">&quot;,&nbsp;&quot;</span>&nbsp;<span class="IdrisFunction">.</span>&nbsp;<span class="IdrisFunction">map</span>&nbsp;<span class="IdrisKeyword">(\(</span><span class="IdrisBound">i</span><span class="IdrisData">,</span>&nbsp;<span class="IdrisBound">v</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">=&gt;</span>&nbsp;<span class="IdrisData">&quot;i&nbsp;-&gt;&nbsp;\{</span><span class="IdrisBound">v</span><span class="IdrisData">}&quot;</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisFunction">.</span>&nbsp;<span class="IdrisFunction">kvList</span></div>
<div id="line171"><a href="#line171" class="IdrisLineNumber"> 171 | </a><span class="IdrisType">Interpolation</span>&nbsp;<span class="IdrisBound">v</span>&nbsp;<span class="IdrisKeyword">=&gt;</span>&nbsp;<span class="IdrisType">Interpolation</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisType">Fin</span>&nbsp;<span class="IdrisBound">n</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">=&gt;</span>&nbsp;<span class="IdrisType">Interpolation</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisType">FinMap</span>&nbsp;<span class="IdrisBound">n</span>&nbsp;<span class="IdrisBound">v</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">where</span></div>
<div id="line172"><a href="#line172" class="IdrisLineNumber"> 172 | </a>&nbsp;&nbsp;<span class="IdrisFunction">interpolate</span>&nbsp;<span class="IdrisKeyword">=</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisData">&quot;{&quot;</span>&nbsp;<span class="IdrisFunction">++</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisFunction">.</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisFunction">++</span>&nbsp;<span class="IdrisData">&quot;}&quot;</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisFunction">.</span>&nbsp;<span class="IdrisFunction">joinBy</span>&nbsp;<span class="IdrisData">&quot;,&nbsp;&quot;</span>&nbsp;<span class="IdrisFunction">.</span>&nbsp;<span class="IdrisFunction">map</span>&nbsp;<span class="IdrisKeyword">(\(</span><span class="IdrisBound">i</span><span class="IdrisData">,</span>&nbsp;<span class="IdrisBound">v</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">=&gt;</span>&nbsp;<span class="IdrisData">&quot;\{</span><span class="IdrisBound">i</span><span class="IdrisData">}&nbsp;-&gt;&nbsp;\{</span><span class="IdrisBound">v</span><span class="IdrisData">}&quot;</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisFunction">.</span>&nbsp;<span class="IdrisFunction">kvList</span></div>
<div id="line173"><a href="#line173" class="IdrisLineNumber"> 173 | </a></div>
<div id="line174"><a href="#line174" class="IdrisLineNumber"> 174 | </a><span class="IdrisKeyword">export</span></div>
<div id="line175"><a href="#line175" class="IdrisLineNumber"> 175 | </a><span class="IdrisType">Eq</span>&nbsp;<span class="IdrisBound">v</span>&nbsp;<span class="IdrisKeyword">=&gt;</span>&nbsp;<span class="IdrisType">Eq</span>&nbsp;<span class="IdrisKeyword">(</span><span class="IdrisType">FinMap</span>&nbsp;<span class="IdrisBound">n</span>&nbsp;<span class="IdrisBound">v</span><span class="IdrisKeyword">)</span>&nbsp;<span class="IdrisKeyword">where</span></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/fin-lizzie/docs/docs/Data.Fin.Set.html

Large diffs are not rendered by default.

Loading

0 comments on commit 616c846

Please sign in to comment.