Skip to content

Commit b28a87c

Browse files
vishrclaude
andcommitted
docs: refresh dated external links (final review)
- jsonp cookbook example: Bootstrap 3.3.5 (retired MaxCDN) -> Bootstrap 5.3.3 (jsDelivr); jQuery 1.x (protocol-relative) -> jQuery 3.7.1 over https - cors: obsolete W3C CORS spec URL -> WHATWG Fetch standard - ip-address: tools.ietf.org RFC links -> datatracker.ietf.org (no redirect hop) - deploy.yaml: clarify the daily cron refreshes build-time data once the deploy targets the Astro site at cutover Link audit: internal links clean, external links verified live. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 7bedf33 commit b28a87c

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ on:
44
push:
55
branches:
66
- master
7-
# Daily rebuild so build-time data — e.g. the GitHub star count fetched in the
8-
# Astro site's src/data/github.ts — stays fresh without a manual deploy.
7+
# Daily rebuild + manual trigger. Once the deploy targets the Astro site (at
8+
# cutover), this refreshes build-time data like the GitHub star count in
9+
# site/src/data/github.ts; until then it just redeploys the current site.
910
schedule:
1011
- cron: '0 6 * * *'
1112
# Allow manual runs from the Actions tab.

site/src/content/docs/cookbook/jsonp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ func main() {
6161

6262
<head>
6363
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
64-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
64+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
6565
<title>JSONP</title>
66-
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
66+
<script type="text/javascript" src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
6767
<script type="text/javascript">
6868
var host_prefix = 'http://localhost:1323';
6969
$(document).ready(function() {

site/src/content/docs/guide/ip-address.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ e.IPExtractor = echo.ExtractIPFromXFFHeader()
7676

7777
By default it trusts internal IP addresses — loopback, link-local unicast,
7878
private-use, and unique local addresses from
79-
[RFC 6890](https://tools.ietf.org/html/rfc6890),
80-
[RFC 4291](https://tools.ietf.org/html/rfc4291), and
81-
[RFC 4193](https://tools.ietf.org/html/rfc4193). Control this with `TrustOption`s:
79+
[RFC 6890](https://datatracker.ietf.org/doc/html/rfc6890),
80+
[RFC 4291](https://datatracker.ietf.org/doc/html/rfc4291), and
81+
[RFC 4193](https://datatracker.ietf.org/doc/html/rfc4193). Control this with `TrustOption`s:
8282

8383
```go
8484
e.IPExtractor = echo.ExtractIPFromXFFHeader(

site/src/content/docs/middleware/cors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 6
66
---
77

8-
CORS middleware implements the [CORS](http://www.w3.org/TR/cors) specification. CORS gives
8+
CORS middleware implements the [CORS](https://fetch.spec.whatwg.org/#http-cors-protocol) specification. CORS gives
99
web servers cross-domain access controls, which enable secure cross-domain data transfers.
1010

1111
## Usage

0 commit comments

Comments
 (0)