Skip to content

Commit ae4f12c

Browse files
jstacclaude
andcommitted
Fix build: replace invalid {remark} with {admonition}, fix label clash
{remark} is not a valid MyST directive — use {admonition} with title "Remark" instead. Also rename (numba)= label to (numba_lecture)= to avoid ambiguity with the document name. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f3e4e18 commit ae4f12c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lectures/numba.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ kernelspec:
1111
name: python3
1212
---
1313

14-
(numba)=
14+
(numba_lecture)=
1515
```{raw} jupyter
1616
<div id="qe-notebook-header" align="right" style="text-align:right;">
1717
<a href="https://quantecon.org/" title="quantecon.org">
@@ -193,7 +193,7 @@ This is because compiled code is cached and reused as required.
193193

194194
This is why, in the code above, `time3` is smaller than `time2`.
195195

196-
```{remark}
196+
```{admonition} Remark
197197
In practice, rather than writing `qm_numba = jit(qm)`, we use *decorator* syntax and put `@jit` before the function definition. This is equivalent to adding `qm = jit(qm)` after the definition. We use this syntax throughout the rest of the lecture. (See {doc}`python_advanced_features` for more on decorators.)
198198
```
199199

0 commit comments

Comments
 (0)