Skip to content

Commit 880cb0d

Browse files
committed
Update docs for version upgrades
1 parent 44afff8 commit 880cb0d

4 files changed

Lines changed: 70 additions & 3 deletions

File tree

.codex/INSTALL.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ You should see a symlink pointing at `~/.codex/bibtools/skills/bibtidy`.
3333

3434
## Updating
3535

36-
```bash
37-
cd ~/.codex/bibtools && git pull
36+
Ask Codex to pull the latest version:
37+
38+
```text
39+
Update the bibtools skill: run `cd ~/.codex/bibtools && git pull`
3840
```
3941

40-
The skill updates immediately through the symlink. Restart Codex if it is already running.
42+
Tool scripts under `tools/` are read fresh on every invocation through the symlink, so they take effect immediately. Start a new Codex session so the refreshed `SKILL.md` is loaded into context.

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ Reload plugins:
3030
/reload-plugins
3131
```
3232

33+
To update later, refresh the marketplace and reload:
34+
35+
```bash
36+
/plugin marketplace update mathpluscode-bibtools
37+
/reload-plugins
38+
```
39+
3340
### Codex
3441

3542
Tell Codex:
@@ -38,6 +45,14 @@ Tell Codex:
3845
Fetch and follow instructions from https://raw.githubusercontent.com/mathpluscode/bibtools/main/.codex/INSTALL.md
3946
```
4047

48+
To update later, ask Codex to pull the latest version:
49+
50+
```text
51+
Update the bibtools skill: run `cd ~/.codex/bibtools && git pull`
52+
```
53+
54+
Start a new Codex session afterwards so the refreshed `SKILL.md` is loaded into context.
55+
4156
## bibtidy
4257

4358
```text

docs/build.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,13 +492,24 @@ def build_html(cards_html: str) -> str:
492492
<div class="code-block"><code>/reload-plugins</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
493493
</div>
494494
495+
<div class="install-step">
496+
<p>To update later, refresh the marketplace and reload:</p>
497+
<div class="code-block"><code>/plugin marketplace update mathpluscode-bibtools</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
498+
<div class="code-block" style="margin-top: 0.4rem;"><code>/reload-plugins</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
499+
</div>
500+
495501
<h3 style="font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.75rem;">Codex</h3>
496502
497503
<div class="install-step">
498504
<p>Tell Codex to fetch and follow the install instructions:</p>
499505
<div class="code-block"><code>Fetch and follow instructions from https://raw.githubusercontent.com/mathpluscode/bibtools/main/.codex/INSTALL.md</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
500506
</div>
501507
508+
<div class="install-step">
509+
<p>To update later, ask Codex to pull the latest version (start a new Codex session afterwards so the refreshed <code>SKILL.md</code> is loaded into context):</p>
510+
<div class="code-block"><code>Update the bibtools skill: run `cd ~/.codex/bibtools &amp;&amp; git pull`</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
511+
</div>
512+
502513
</div>
503514
504515
<div class="section">

docs/index.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,24 @@ <h3 style="font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem;">Claude Co
294294
<div class="code-block"><code>/reload-plugins</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
295295
</div>
296296

297+
<div class="install-step">
298+
<p>To update later, refresh the marketplace and reload:</p>
299+
<div class="code-block"><code>/plugin marketplace update mathpluscode-bibtools</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
300+
<div class="code-block" style="margin-top: 0.4rem;"><code>/reload-plugins</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
301+
</div>
302+
297303
<h3 style="font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.75rem;">Codex</h3>
298304

299305
<div class="install-step">
300306
<p>Tell Codex to fetch and follow the install instructions:</p>
301307
<div class="code-block"><code>Fetch and follow instructions from https://raw.githubusercontent.com/mathpluscode/bibtools/main/.codex/INSTALL.md</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
302308
</div>
303309

310+
<div class="install-step">
311+
<p>To update later, ask Codex to pull the latest version (start a new Codex session afterwards so the refreshed <code>SKILL.md</code> is loaded into context):</p>
312+
<div class="code-block"><code>Update the bibtools skill: run `cd ~/.codex/bibtools &amp;&amp; git pull`</code><button class="copy-btn" type="button" onclick="copyCode(this)">Copy</button></div>
313+
</div>
314+
304315
</div>
305316

306317
<div class="section">
@@ -523,6 +534,34 @@ <h2 class="section-title">Examples</h2>
523534
</div>
524535
</div>
525536

537+
<div class="diff-card">
538+
<div class="diff-header">
539+
<span class="diff-title">Outdated abstract to be updated with published version with DOI change</span>
540+
<span class="stats"><span class="add-count">+6</span> <span class="del-count">-8</span></span>
541+
<span class="diff-badge badge-fix">fix</span>
542+
</div>
543+
<div class="diff-body">
544+
<table class="diff-table"><tbody>
545+
<tr class="diff-row ctx"><td class="diff-gutter">&nbsp;</td><td class="diff-content">@article{shad2023generalizable,</td></tr>
546+
<tr class="diff-row del"><td class="diff-gutter">-</td><td class="diff-content"> title={A Generalizable Deep Learning System for Cardiac MRI},</td></tr>
547+
<tr class="diff-row del"><td class="diff-gutter">-</td><td class="diff-content"> author={Shad, Rohan and Zakka, Cyril R and Kaur, Dhamanpreet and Mongan, John and Kallianos, Kimberly G and Filice, Ross and Khandwala, Nishith and Eng, David and Langlotz, Curtis and Hiesinger, William},</td></tr>
548+
<tr class="diff-row del"><td class="diff-gutter">-</td><td class="diff-content"> journal={Circulation},</td></tr>
549+
<tr class="diff-row del"><td class="diff-gutter">-</td><td class="diff-content"> volume={148},</td></tr>
550+
<tr class="diff-row del"><td class="diff-gutter">-</td><td class="diff-content"> number={Suppl\_1},</td></tr>
551+
<tr class="diff-row del"><td class="diff-gutter">-</td><td class="diff-content"> pages={A13588--A13588},</td></tr>
552+
<tr class="diff-row del"><td class="diff-gutter">-</td><td class="diff-content"> year={2023},</td></tr>
553+
<tr class="diff-row del"><td class="diff-gutter">-</td><td class="diff-content"> doi={10.1161/circ.148.suppl\_1.13588}</td></tr>
554+
<tr class="diff-row add"><td class="diff-gutter">+</td><td class="diff-content"> title={A generalizable deep learning system for cardiac MRI},</td></tr>
555+
<tr class="diff-row add"><td class="diff-gutter">+</td><td class="diff-content"> author={Shad, Rohan and Zakka, Cyril and Kaur, Dhamanpreet and Mathur, Mrudang and Fong, Robyn and Cho, Joseph and Filice, Ross Warren and Mongan, John and Kallianos, Kimberly and Khandwala, Nishith and others},</td></tr>
556+
<tr class="diff-row add"><td class="diff-gutter">+</td><td class="diff-content"> journal={Nature Biomedical Engineering},</td></tr>
557+
<tr class="diff-row add"><td class="diff-gutter">+</td><td class="diff-content"> pages={1--16},</td></tr>
558+
<tr class="diff-row add"><td class="diff-gutter">+</td><td class="diff-content"> year={2026},</td></tr>
559+
<tr class="diff-row add"><td class="diff-gutter">+</td><td class="diff-content"> publisher={Nature Publishing Group UK London}</td></tr>
560+
<tr class="diff-row ctx"><td class="diff-gutter">&nbsp;</td><td class="diff-content">}</td></tr>
561+
</tbody></table>
562+
</div>
563+
</div>
564+
526565
<div class="diff-card">
527566
<div class="diff-header">
528567
<span class="diff-title">Correct entry (should be left unchanged)</span>

0 commit comments

Comments
 (0)