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/
bootstrap.bundle.min.js— Bootstrap v5.3.8 bundle (includes Popper). Source: https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js- Unmodified.
bootswatch-flatly-5.3.8/
bootstrap.min.css— Bootswatch v5.3.8 "Flatly" theme, pre-compiled. Source: https://cdn.jsdelivr.net/npm/bootswatch@5.3.8/dist/flatly/bootstrap.min.css- Patched to remove the leading
@import url(https://fonts.googleapis.com/css2?family=Lato:...)declaration. ODCC has no external-font dependency; the override layer at/assets/css/site.csssets the font stack.
How to upgrade
- Pick the target Bootstrap point release (track the
latest-5tag on npm). - 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/
- Drop in upstream files (URLs above; substitute the version).
- Strip the same Lato
@importfrom the newbootswatch-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 - Update the
<link>and<script>paths inpublic_html/ssi/header.shtmlandpublic_html/ssi/footer.shtmlto point at the new directories. - Re-render the site (rootless Apache at port 8090 per
docs/refactor/verify/) and diff for regressions. - Once you're happy,
git rmthe old vendor directory.