mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-11-14 18:24:37 -06:00
It described SocratiQ as not yet open-sourced and promised the widget source would land in that folder; the source now lives in socratiq/. The bundle README links to socratiq/README.md instead.
730 B
730 B
SocratiQ bundle
bundle.js is the production build of the SocratiQ reading widget. Its source
lives in socratiq/; npm run build:vite there
regenerates this file.
The book site loads it from /tools/scripts/socratiQ/bundle.js, through the
<script> tag in books/config/_quarto-html-vol1.yml
and _quarto-html-vol2.yml.
The bundle is committed. The socratiq-bundle-drift workflow rebuilds it on any
pull request that changes the SocratiQ sources, and fails if the committed file
no longer matches.
The widget itself is documented in socratiq/README.md.