From 2233addf5c731a7f8a21e579494d6e3a16091075 Mon Sep 17 00:00:00 2001 From: Imran Siddique Date: Mon, 14 Sep 2026 14:50:37 -0700 Subject: [PATCH] docs: version the shared stylesheet and top bar URLs agentrust-io.com serves design-system.css and supernav.js with Cache-Control max-age=14400, and this site loaded both without a query string, so browsers kept an old top bar for up to four hours after the hub changed it. Both URLs now carry ?v=21, the CSS_VERSION the hub pages use, with a comment saying where that number lives. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2 --- mkdocs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index ade6dc6..c1b7395 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -151,7 +151,8 @@ extra_css: # Shared AgenTrust editorial design system. Deliberately the only stylesheet: # a local override here is how this site drifted to the Material default # violet last time. Change the shared file instead. - - https://agentrust-io.com/design-system.css + # The ?v= matches CSS_VERSION in agentrust-io.github.io tools/site_header.py. Browsers keep these files for hours, so bump it there and here together. + - https://agentrust-io.com/design-system.css?v=21 nav: - Home: index.md @@ -181,4 +182,5 @@ nav: - Privacy: PRIVACY.md extra_javascript: - - https://agentrust-io.com/supernav.js + # The ?v= matches CSS_VERSION in agentrust-io.github.io tools/site_header.py. Browsers keep these files for hours, so bump it there and here together. + - https://agentrust-io.com/supernav.js?v=21