Vendor tree — ODCC website

Third-party CSS/JS dependencies, vendored in versioned directories so upgrades are drop-in.

Current vendored components

bootstrap-5.3.8/

bootswatch-flatly-5.3.8/

How to upgrade

  1. Pick the target Bootstrap point release (track the latest-5 tag on npm).
  2. Create a new sibling directory at the target version:
    • public_html/assets/vendor/bootstrap-X.Y.Z/
    • public_html/assets/vendor/bootswatch-flatly-X.Y.Z/
  3. Drop in upstream files (URLs above; substitute the version).
  4. Strip the same Lato @import from the new bootswatch-flatly-X.Y.Z/bootstrap.min.css: sed -i 's|@import url(https://fonts\.googleapis\.com/[^)]*);||' \ public_html/assets/vendor/bootswatch-flatly-X.Y.Z/bootstrap.min.css
  5. Update the <link> and <script> paths in public_html/ssi/header.shtml and public_html/ssi/footer.shtml to point at the new directories.
  6. Re-render the site (rootless Apache at port 8090 per docs/refactor/verify/) and diff for regressions.
  7. Once you're happy, git rm the old vendor directory.