mdcms/app
Claude 9b7639cc62
v0.4 Phase 6: fetch-deps command for offline/local dependency mode
- Add _http_get() general HTTP helper (SSL via certifi, 30s timeout)
- Add CDN_DEPS table: 6 jsDelivr assets (js-yaml, marked, fuse.js,
  highlight.js, 2x highlight CSS)
- Add _fetch_bunny_fonts(): reads theme.yml font-body/heading/code keys,
  fetches CSS from fonts.bunny.net, downloads woff2 files to assets/fonts/,
  rewrites CSS to use relative local paths, writes per-font CSS file
- Add _patch_index_html(): replaces CDN URLs with local vendor paths,
  injects <link data-mdcms-fonts> tags for locally downloaded fonts
- Add fetch-deps CLI command: downloads vendors, fetches fonts if theme.yml
  present, patches index.html — site makes no external network requests
- index.html loadFonts(): skip if data-mdcms-fonts link already present
  (set by patched index.html after fetch-deps)
- Update CLAUDE.md CLI command table with fetch-deps entries

https://claude.ai/code/session_015XtsgTMi8UtmgxEgb5Qt2c
2026-05-17 19:06:31 +00:00
..
assets v0.4 Phase 2: local SVG icon system, remove Google Material Icons 2026-05-17 17:19:33 +00:00
pages v0.4 Phase 5: TOC tag + bump to 0.3.7 2026-05-17 18:49:16 +00:00
posts Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
config.yml v0.4 Phase 4: callout tags 2026-05-17 17:43:27 +00:00
index.html v0.4 Phase 6: fetch-deps command for offline/local dependency mode 2026-05-17 19:06:31 +00:00
nav.yml Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
search.json Rename website/ directory to app/ 2026-05-08 15:29:54 +00:00
theme.yml v0.4 Phase 1: theme.yml — separate presentational config from config.yml 2026-05-16 15:33:20 +00:00