Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
egallesio committed Nov 20, 2023
1 parent 7fcbf99 commit dc1d2c1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 91 deletions.
14 changes: 5 additions & 9 deletions doc/HTML/stklos-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -14923,11 +14923,7 @@ <h4 id="_system_information">4.13.5. System Information</h4>
</div>
<div class="listingblock">
<div class="content">
<<<<<<< HEAD
<pre class="rouge highlight"><code data-lang="scheme"><span class="p">(</span><span class="nf">features</span><span class="p">)</span> <span class="nv">=&gt;</span> <span class="p">(</span><span class="nf">STklos</span> <span class="nv">STklos-2</span><span class="o">.</span><span class="mf">00.20</span> <span class="nv">exact-complex</span>
=======
<pre class="rouge highlight"><code data-lang="scheme"><span class="p">(</span><span class="nf">features</span><span class="p">)</span> <span class="nv">=&gt;</span> <span class="p">(</span><span class="nf">STklos</span> <span class="nv">STklos-2</span><span class="o">.</span><span class="mf">00.82</span> <span class="nv">exact-complex</span>
>>>>>>> v210-enhance
<pre class="rouge highlight"><code data-lang="scheme"><span class="p">(</span><span class="nf">features</span><span class="p">)</span> <span class="nv">=&gt;</span> <span class="p">(</span><span class="nf">STklos</span> <span class="nv">STklos-2</span><span class="o">.</span><span class="mf">00.85</span> <span class="nv">exact-complex</span>
<span class="nv">ieee-float</span> <span class="nv">full-unicode</span> <span class="nv">ratios</span> <span class="nv">little-endian</span> <span class="o">...</span><span class="p">)</span></code></pre>
</div>
</div>
Expand Down Expand Up @@ -25296,9 +25292,9 @@ <h4 id="_repl_commands">10.3.1. REPL commands</h4>
<i class="fa icon-note" title="Note"></i>
</td>
<td class="content">
<strong><em>STklos</em></strong> has already a number of commands defined, but <code>repl-add-command</code> can be
useful to define you own command. A good place to add such a definition is in the
<code>stklosrc</code> file.
<strong><em>STklos</em></strong> has already a number of commands defined, but
<code>repl-add-command</code> can be useful to define your own commrand. A good place to add
such a definition is in the <code>stklosrc</code> file.
</td>
</tr>
</table>
Expand Down Expand Up @@ -32493,7 +32489,7 @@ <h3 id="_addendum_how_to_use_this_license_for_your_documents">B.13. ADDENDUM: Ho
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-11-20 14:00:26 +0100
Last updated 2023-11-20 14:20:33 +0100
</div>
</div>
</body>
Expand Down
81 changes: 3 additions & 78 deletions doc/HTML/vm.html
Original file line number Diff line number Diff line change
Expand Up @@ -650,85 +650,10 @@
background-color: #49483e;
}
</style>
<!-- Generate a nice TOC -->
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tocify/1.9.0/javascripts/jquery.tocify.min.js"></script>
<!-- We do not need the tocify CSS because the asciidoc CSS already provides most of what we neeed -->

<style>
.tocify-header {
font-style: italic;
}

.tocify-subheader {
font-style: normal;
font-size: 90%;
}

.tocify ul {
margin: 0;
}

.tocify-focus {
color: #7a2518;
background-color: rgba(0, 0, 0, 0.1);
}

.tocify-focus > a {
color: #7a2518;
}

/* Customize default CSS */
.sidebarblock { margin-top: -1em; }

/* Customize default CSS */
.sidebarblock { margin-top: -1em; }
</style>

<script type="text/javascript">
$(function () {
// Add a new container for the tocify toc into the existing toc so we can re-use its
// styling
$("#toc").append("<div id='generated-toc'></div>");
$("#generated-toc").tocify({
extendPage: true,
context: "#content",
highlightOnScroll: true,
hideEffect: "slideUp",
// Use the IDs that asciidoc already provides so that TOC links and intra-document
// links are the same. Anything else might confuse users when they create bookmarks.
hashGenerator: function(text, element) {
return $(element).attr("id");
},
// Smooth scrolling doesn't work properly if we use the asciidoc IDs
smoothScroll: false,
// Set to 'none' to use the tocify classes
theme: "none",
// Handle book (may contain h1) and article (only h2 deeper)
selectors: $( "#content" ).has( "h1" ).size() > 0 ? "h1,h2,h3,h4,h5" : "h2,h3,h4,h5",
ignoreSelector: ".discrete"
});

// Switch between static asciidoc toc and dynamic tocify toc based on browser size
// This is set to match the media selectors in the asciidoc CSS
// Without this, we keep the dynamic toc even if it is moved from the side to preamble
// position which will cause odd scrolling behavior
var handleTocOnResize = function() {
if ($(document).width() < 768) {
$("#generated-toc").hide();
$(".sectlevel0").show();
$(".sectlevel1").show();
}
else {
$("#generated-toc").show();
$(".sectlevel0").hide();
$(".sectlevel1").hide();
}
}

$(window).resize(handleTocOnResize);
handleTocOnResize();
});
</script>
</head>
<body class="book toc2 toc-left">
<div id="header">
Expand Down Expand Up @@ -2773,7 +2698,7 @@ <h2 id="_continuations">13. Continuations</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2023-11-11 12:55:15 +0100
Last updated 2023-11-20 14:06:07 +0100
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion doc/refman/refman-lib.stk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;;;
;;;;
;;;; adoc-lib.stk -- Library for Stklos documentation
;;;; refman-lib.stk -- Library for Reference Manual documentation
;;;;
;;;; Copyright © 2022-2023 Erick Gallesio <eg@stklos.net>
;;;;
Expand Down
6 changes: 3 additions & 3 deletions lib/repl.stk
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ doc>
* (system (string-append cmd " " (read-line) " 2>/dev/null")))))
* @end lisp
*
* NOTE: {{stklos}} has already a number of commands defined, but |repl-add-command| can be
* useful to define you own command. A good place to add such a definition is in the
* |stklosrc| file.
* NOTE: {{stklos}} has already a number of commands defined, but
* |repl-add-command| can be useful to define your own commrand. A good place to add
* such a definition is in the |stklosrc| file.
doc>
|#
(define (repl-add-command names doc func)
Expand Down

0 comments on commit dc1d2c1

Please sign in to comment.