130 Commits

Author SHA1 Message Date
Andrew Stryker
7b3c44f56d Take warehouse ontology out of draft 2026-03-31 08:43:19 -07:00
Andrew Stryker
259969d252 Add missing word 2026-03-30 22:32:37 -07:00
Andrew Stryker
dd37c2b4f7 Generalize the Rmd to Md pattern 2026-03-30 22:19:45 -07:00
Andrew Stryker
288eaa8ccb Move to page bundle and isolate the simulator 2026-03-30 22:19:19 -07:00
Andrew Stryker
f20c90a91c Name the layer in the footnote 2026-03-30 18:42:45 -07:00
Andrew Stryker
b107f4958c Use the date prefix in the directory 2026-03-30 18:40:26 -07:00
Andrew Stryker
d8742a04b7 Add the ontology tech note 2026-03-30 18:39:49 -07:00
Andrew Stryker
7aa0b1f40f Finalize the onotology post 2026-03-30 18:39:29 -07:00
Andrew Stryker
ee5b9f7bcb Configure Mermaid for a native look 2026-03-30 16:47:08 -07:00
Andrew Stryker
f10ca11257 Add a summaary 2026-03-25 20:26:10 -07:00
Andrew Stryker
d91a5c7c9e Consolidate chunk opts 2026-03-25 17:53:15 -07:00
Andrew Stryker
260dfabc9c Add a reactable theme 2026-03-25 16:58:53 -07:00
Andrew Stryker
376add89a9 Finalize post 2026-03-25 16:58:39 -07:00
Andrew Stryker
efb99a6875 Merge branch 'main' into post/autogolpe 2026-03-25 12:51:02 -07:00
Andrew Stryker
433d2b6ad4 Override PaperMod author partial to handle map format
PaperMod's author.html expects params.author to be a string, but
our config uses a map with name and email (needed for RSS). Add a
reflect.IsMap check to extract .name for display, matching how the
updated PaperMod RSS template already handles the map format.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 11:33:46 -07:00
Andrew Stryker
8ff7fb63e6 Fix Mermaid rendering: move JS to extend_head, fix hook path
Three issues prevented Mermaid diagrams from rendering:

1. Render hook was in layouts/_defaults/ (with 's') instead of
   layouts/_default/ — Hugo never found it
2. The .Store.Set approach in the render hook couldn't communicate
   with extend_footer because PaperMod caches the footer partial
   via partialCached, so per-page state is lost
3. Moved Mermaid JS loading to extend_head (not cached) using the
   same xparams.mermaid front matter flag pattern as KaTeX

Pages opt in with xparams.mermaid: true in front matter. The code
block render hook still converts ```mermaid fences to <pre> tags.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 11:20:05 -07:00
Andrew Stryker
d83f47556f Merge branch 'main' into demo/reactable 2026-03-25 09:57:54 -07:00
Andrew Stryker
70bf848fa3 Add demos section with integration tests for site capabilities
Move reactable demo from content/posts/ to content/demos/ so it
doesn't appear in the posts list. Add demo pages for:

- Mermaid: flowchart, sequence, and state diagrams via code blocks
- KaTeX: inline and display math via the math partial
- Shortcodes: toc, rawhtml, youtube, vimeo

All demos are draft: true and in a dedicated section, so they
build with hugo --buildDrafts but are never published.

Also widen Makefile RMD_SOURCES glob to include content/demos/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 09:47:37 -07:00
Andrew Stryker
4e7959076e Update statdown to cebe5e27 (front matter preservation fix)
statdown now inserts CSS/JS dependency tags after the YAML front
matter closing delimiter instead of before it, fixing Hugo's
inability to parse the front matter in rendered widget posts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 09:38:28 -07:00
Andrew Stryker
51440bc030 Add reactable demo and fix renv project detection in Makefile
- Add reactable-demo post exercising the full statdown/depkit
  htmlwidget pipeline (two reactable tables with filtering)
- Replace renv::restore() with renv::load() using explicit project
  root in Makefile and watch-rmd.sh — renv could not find the
  lockfile when cd'd into post subdirectories

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 09:25:13 -07:00
Andrew Stryker
e47d677360 Update resume 2026-03-25 09:15:59 -07:00
Andrew Stryker
751a7f17fa Merge branch 'main' into about/resume 2026-03-24 22:30:21 -07:00
Andrew Stryker
4348215ebd Merge branch 'infra/clean-up' 2026-03-24 22:30:05 -07:00
Andrew Stryker
b23591be41 Fix Hugo config and update PaperMod to latest
- Update PaperMod submodule (v8.0+25 -> v8.0+62), which fixes
  the RSS build error from site.Author removal in Hugo 0.159
- Replace deprecated renderhooks.link.enableDefault with
  useEmbedded: "fallback" (deprecated since Hugo 0.148)
- Add params.author (name, email) for RSS feed metadata

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 22:28:43 -07:00
Andrew Stryker
35ed25f8bb Update the date 2026-03-24 22:25:53 -07:00
Andrew Stryker
cc3aa74b46 Replace resume.md with resume.html
Use the pandoc-generated narrative resume HTML, replacing the
handwritten markdown version.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 22:23:41 -07:00
Andrew Stryker
7280c9a623 Fix archetype routing and narrow build sentinel dependencies
- Move Rmd archetype from _default/ to rmarkdown/ so hugo-new.sh's
  --kind rmarkdown resolves to the correct archetype instead of
  working by accident via file extension fallback
- Replace broad content/*/* glob in .build_sentinel with explicit
  find for content (.md, .html, images), layouts, and hugo.yaml
- Fix typo in Makefile comment ("my" -> "by")

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 22:19:13 -07:00
Andrew Stryker
6848c6ca7e Pin R environment with statdown and depkit via renv
- Add DESCRIPTION with explicit dependencies and GitHub remotes
  for statdown and depkit
- Switch renv snapshot type from "implicit" to "explicit" so
  dependencies are declared, not scanned from source files
- Regenerate renv.lock: adds statdown, depkit, httr2, svglite;
  bumps 9 CRAN packages; pins GitHub SHAs for custom packages
- Rename scripts/renv.lock to scripts/install-packages.R (it was
  an R install script, not a lockfile)
- Bump renv 1.1.7 -> 1.1.8

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 22:04:30 -07:00
Andrew Stryker
c54c12b141 Bump KaTeX to 0.16.42 and pin Mermaid to 11.13.0
- KaTeX: 0.16.21 -> 0.16.42 with updated SRI hashes
- Mermaid: pin to 11.13.0 (was unpinned, resolving to latest)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 21:50:14 -07:00
Andrew Stryker
0986654ea7 Clean up infrastructure: remove dead code, fix watch script, fix typos
- Remove hugo.sh (broken draft superseded by hugo-new.sh)
- Remove unused mermaid shortcode and partial (only code-block
  rendering via render-codeblock-mermaid.html is used)
- Remove dead xparams.mermaid check from extend_head.html
- Fix watch-rmd.sh to pass shared libs args matching the Makefile
- Fix typos in Makefile ("permsions", "Publising")

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 21:47:41 -07:00
Andrew Stryker
04aa189f8a Add hugo helpers 2026-03-24 21:41:09 -07:00
Andrew Stryker
82a6d16d59 Restructure bayes as odds 2026-03-24 21:40:19 -07:00
Andrew Stryker
173c1a37e7 Ignore figures and libs 2026-03-24 21:39:25 -07:00
Andrew Stryker
80ea5b1c2c Add shared libs directory to gitignore and Makefile
Configure statdown to write CSS/JS dependencies to static/libs/
so they are shared across posts, and ignore that directory in git.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 21:36:00 -07:00
Andrew Stryker
403da45ff1 Merge infrastructure changes from post/autogolpe into main
Brings in renv, archetypes, layout partials, shortcodes, gitignore,
and hugo config changes that were committed on the post branch.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 21:33:44 -07:00
32094e7049 Add archetypes 2026-03-02 07:06:36 -08:00
475af38bee Refine layout 2026-03-02 07:05:09 -08:00
7983a30f4e Use statdown and Renv 2026-03-02 07:03:31 -08:00
d07972b407 Ignore R files 2026-01-12 10:53:51 -08:00
f1d4cac578 Add note on using the div tag 2025-04-08 08:26:41 -07:00
ad6714001b Fix file names 2025-03-26 23:19:15 -07:00
b1873be1f3 Allow raw HTML 2025-03-26 23:15:07 -07:00
bea242adaf Add notes on Bayes theorem as odds 2025-03-26 23:14:02 -07:00
10f5f93dc3 Add partials for react components 2025-03-26 23:12:54 -07:00
Andrew Stryker
df80ad6c65 Merge branch 'post/autogolpe' 2025-03-14 20:26:05 -07:00
Andrew Stryker
2eec0c6dcb Enable render hooks 2025-03-14 20:25:55 -07:00
Andrew Stryker
216ca36215 Continue refining 2025-03-14 20:22:55 -07:00
Andrew Stryker
1f15d89f89 Ignore derived files 2025-03-14 20:18:52 -07:00
Andrew Stryker
a9e2cbf36a Update link to supporting note 2025-03-12 14:15:52 -07:00
Andrew Stryker
2d1c1b0d58 Delete stray file 2025-03-12 14:14:05 -07:00