Skip to content

Commit 85a33d5

Browse files
feat(site): version supernav.js everywhere and flag docs sites that lag (#76)
supernav.js is served with a four-hour max-age and every page loaded it without a query string, so browsers kept the old top bar after #72. The hub pages and the /go/ template now load /supernav.js?v=CSS_VERSION, and build-header.py --check enforces it alongside design-system.css. check-availability.py reads each MkDocs host's home page and fails, naming the host, when its design-system.css or supernav.js URL is not at the current CSS_VERSION. DISCOVERY.md says how to bump. Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2 Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 8a7999b commit 85a33d5

46 files changed

Lines changed: 97 additions & 50 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎404.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@
4949
<li><a href="/quickstart/">Get started with a specification</a> or <a href="/marketplace/">search integrations</a></li>
5050
<li><a href="/community/">Community and partners</a> or <a href="/go/">the agentic controls</a></li>
5151
</ul></section></main>
52-
<script src="/supernav.js"></script>
52+
<script src="/supernav.js?v=21"></script>
5353
</body></html>

‎community/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,6 @@ <h3>Read the field guide. Then run the companion examples.</h3>
335335
})();
336336
</script>
337337

338-
<script src="/supernav.js"></script>
338+
<script src="/supernav.js?v=21"></script>
339339
</body>
340340
</html>

‎demos/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ <h2>Where to go next</h2>
299299
<div class="foot-legal">© 2026 AgenTrust Contributors · MIT licensed · agentrust-io.com</div>
300300
</div></footer>
301301

302-
<script src="/supernav.js"></script>
302+
<script src="/supernav.js?v=21"></script>
303303
<script src="/page.js"></script>
304304
</body>
305305
</html>

‎extensions/ca2a/v0.1/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,6 @@ <h2>This page is orientation</h2>
166166
<div class="foot-legal">© 2026 AgenTrust Contributors · MIT licensed · agentrust-io.com</div>
167167
</div></footer>
168168

169-
<script src="/supernav.js"></script>
169+
<script src="/supernav.js?v=21"></script>
170170
</body>
171171
</html>

‎go/agent-anomaly-detection/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>Anomaly detection on agent behaviour</h2>
5454
<div class="foot-legal">&copy; 2026 AgenTrust Contributors &middot; MIT licensed &middot; agentrust-io.com</div>
5555
</div></footer>
5656

57-
<script src="/supernav.js"></script>
57+
<script src="/supernav.js?v=21"></script>
5858
<script src="/page.js"></script>
5959
</body>
6060
</html>

‎go/agent-circuit-breaker/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>Circuit breaker on agent loops</h2>
5454
<div class="foot-legal">&copy; 2026 AgenTrust Contributors &middot; MIT licensed &middot; agentrust-io.com</div>
5555
</div></footer>
5656

57-
<script src="/supernav.js"></script>
57+
<script src="/supernav.js?v=21"></script>
5858
<script src="/page.js"></script>
5959
</body>
6060
</html>

‎go/agent-identity-credential/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>Agent identity credential</h2>
5454
<div class="foot-legal">&copy; 2026 AgenTrust Contributors &middot; MIT licensed &middot; agentrust-io.com</div>
5555
</div></footer>
5656

57-
<script src="/supernav.js"></script>
57+
<script src="/supernav.js?v=21"></script>
5858
<script src="/page.js"></script>
5959
</body>
6060
</html>

‎go/agent-key-binding/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>Agent key binding and custody</h2>
5454
<div class="foot-legal">&copy; 2026 AgenTrust Contributors &middot; MIT licensed &middot; agentrust-io.com</div>
5555
</div></footer>
5656

57-
<script src="/supernav.js"></script>
57+
<script src="/supernav.js?v=21"></script>
5858
<script src="/page.js"></script>
5959
</body>
6060
</html>

‎go/agent-purpose-declaration/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>Declared agent purpose and scope</h2>
5454
<div class="foot-legal">&copy; 2026 AgenTrust Contributors &middot; MIT licensed &middot; agentrust-io.com</div>
5555
</div></footer>
5656

57-
<script src="/supernav.js"></script>
57+
<script src="/supernav.js?v=21"></script>
5858
<script src="/page.js"></script>
5959
</body>
6060
</html>

‎go/agent-rate-limiting/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>Rate limiting on agent actions</h2>
5454
<div class="foot-legal">&copy; 2026 AgenTrust Contributors &middot; MIT licensed &middot; agentrust-io.com</div>
5555
</div></footer>
5656

57-
<script src="/supernav.js"></script>
57+
<script src="/supernav.js?v=21"></script>
5858
<script src="/page.js"></script>
5959
</body>
6060
</html>

0 commit comments

Comments
 (0)