Skip to content

Commit 39b39c9

Browse files
Copilotmmcky
andauthored
Standardize seealso admonitions with JAX template and intersphinx references (#581)
* Initial plan * Standardize seealso admonitions to consistent format Co-authored-by: mmcky <8263752+mmcky@users.noreply.github.com> * Update seealso admonitions with standardized JAX template and intersphinx links Co-authored-by: mmcky <8263752+mmcky@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mmcky <8263752+mmcky@users.noreply.github.com> Co-authored-by: Matt McKay <mmcky@users.noreply.github.com>
1 parent a73ba0f commit 39b39c9

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

lectures/_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ sphinx:
9898
advanced:
9999
- "https://python-advanced.quantecon.org"
100100
- null
101+
jax:
102+
- "https://jax.quantecon.org/"
103+
- null
101104
mathjax3_config:
102105
tex:
103106
macros:

lectures/newton_method.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ kernelspec:
2929
```
3030

3131
```{seealso}
32-
**GPU:** A version of this lecture which makes use of [jax](https://jax.readthedocs.io) to run the code
33-
on a `GPU` is [available here](https://jax.quantecon.org/newtons_method.html)
32+
A version of this lecture using [JAX](https://github.com/jax-ml/jax) is {doc}`available here <jax:newtons_method>`
3433
```
3534

3635
## Overview
@@ -788,7 +787,7 @@ With the larger overhead, the speed is not better than the optimized `scipy` fun
788787
Our next step is to investigate a large market with 3,000 goods.
789788

790789
A JAX version of this section using GPU accelerated linear algebra and
791-
automatic differentiation is available [here](https://jax.quantecon.org/newtons_method.html#application)
790+
automatic differentiation is {doc}`available here <jax:newtons_method>`
792791

793792
The excess demand function is essentially the same, but now the matrix $A$ is $3000 \times 3000$ and the parameter vectors $b$ and $c$ are $3000 \times 1$.
794793

lectures/wealth_dynamics.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ kernelspec:
2424
```
2525

2626
```{seealso}
27-
A [version of this lecture](https://jax.quantecon.org/wealth_dynamics.html) using a `GPU`
28-
is [available here](https://jax.quantecon.org/wealth_dynamics.html)
27+
A version of this lecture using [JAX](https://github.com/jax-ml/jax) is {doc}`available here <jax:wealth_dynamics>`
2928
```
3029

3130
In addition to what's in Anaconda, this lecture will need the following libraries:

0 commit comments

Comments
 (0)