Skip to content

Commit

Permalink
Update textbook
Browse files Browse the repository at this point in the history
  • Loading branch information
clarksmr committed Jan 23, 2024
1 parent 3e87ef3 commit fdbcce9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 42 deletions.
41 changes: 6 additions & 35 deletions _sources/chapters/preface/about.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "d0e0145a",
"id": "901ff7fd",
"metadata": {},
"source": [
"# About This Book\n",
Expand Down Expand Up @@ -62,35 +62,17 @@
},
{
"cell_type": "code",
"execution_count": 1,
"id": "643b8bfe",
"execution_count": null,
"id": "37414b35",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Hello world!\n"
]
},
{
"data": {
"text/plain": [
"- : unit = ()\n"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"outputs": [],
"source": [
"print_endline \"Hello world!\""
]
},
{
"cell_type": "markdown",
"id": "354716be",
"id": "5313daed",
"metadata": {},
"source": [
"You can also edit and re-run the code yourself to experiment and check your\n",
Expand All @@ -117,9 +99,7 @@
" the code cells on the page to be editable. It takes some time for the\n",
" connection to be made behind the scenes, during which you will see \"Waiting\n",
" for kernel\". After the connection has been made, you can edit all the code\n",
" cells on the page and re-run them. **Live code is temporarily disabled in this\n",
" textbook due to a [bug in Jupyter Book][thebe-bug]. As a workaround, use\n",
" Binder as described above.**\n",
" cells on the page and re-run them.\n",
"\n",
"[thebe-bug]: https://github.com/executablebooks/jupyter-book/issues/1173\n",
"\n",
Expand Down Expand Up @@ -201,15 +181,6 @@
"language": "OCaml",
"name": "ocaml-jupyter"
},
"language_info": {
"codemirror_mode": "text/x-ocaml",
"file_extension": ".ml",
"mimetype": "text/x-ocaml",
"name": "OCaml",
"nbconverter_exporter": null,
"pygments_lexer": "OCaml",
"version": "4.14.0"
},
"source_map": [
15,
71,
Expand Down
4 changes: 1 addition & 3 deletions _sources/chapters/preface/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ with the code:
the code cells on the page to be editable. It takes some time for the
connection to be made behind the scenes, during which you will see "Waiting
for kernel". After the connection has been made, you can edit all the code
cells on the page and re-run them. **Live code is temporarily disabled in this
textbook due to a [bug in Jupyter Book][thebe-bug]. As a workaround, use
Binder as described above.**
cells on the page and re-run them.

[thebe-bug]: https://github.com/executablebooks/jupyter-book/issues/1173

Expand Down
4 changes: 1 addition & 3 deletions chapters/preface/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,7 @@ <h1>About This Book<a class="headerlink" href="#about-this-book" title="Permalin
the code cells on the page to be editable. It takes some time for the
connection to be made behind the scenes, during which you will see “Waiting
for kernel”. After the connection has been made, you can edit all the code
cells on the page and re-run them. <strong>Live code is temporarily disabled in this
textbook due to a <a class="reference external" href="https://github.com/executablebooks/jupyter-book/issues/1173">bug in Jupyter Book</a>. As a workaround, use
Binder as described above.</strong></p></li>
cells on the page and re-run them.</p></li>
</ul>
<p>Try interacting with the cell above now to make it print a string of your choice.
How about: <code class="docutils literal notranslate"><span class="pre">&quot;Camels</span> <span class="pre">are</span> <span class="pre">bae.&quot;</span></code></p>
Expand Down
Binary file modified ocaml_programming.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit fdbcce9

Please sign in to comment.