Lets cmjs be used as a git submodule (or updated by any other means) without a local config override -- e.g. a custom ARTICLES_URL -- being clobbered by the update. js/config-default.js now holds the shipped defaults and is tracked; js/config.js is gitignored and re-exports those defaults unless overridden, and is what every other module actually imports from. Since js/config.js no longer ships with the repo, added a required one-time setup step (cp js/config-default.js js/config.js) -- new "Local configuration" section in the README, cross-referenced from "Running locally", "Embedding in an existing page", and "Pointing articles/ somewhere else". Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AXSVPS3UmmASiiprPfcnUd
3 lines
25 B
Plaintext
3 lines
25 B
Plaintext
/articles/
|
|
/js/config.js
|