From 34e054a162f5dc30b278bf1c0226e0bf3e66c9c7 Mon Sep 17 00:00:00 2001 From: Frederic BIDON Date: Wed, 22 Jul 2026 13:24:30 +0200 Subject: [PATCH] docs(doc-site): point baseURL at the goswagger.io custom domain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The site is served from the goswagger.io umbrella at /examples, not from go-swagger.github.io. Hugo bakes baseURL into canonical links, the sitemap and RSS, so it must match the live host or those point at the wrong domain. - hugo.yaml: baseURL → https://goswagger.io/examples/ (active + the commented versions entry). - hack README: fix the two stale build/deploy URLs (one also wrongly said go-openapi.github.io) → goswagger.io/examples. Content links to goswagger.io/go-swagger/* are the main go-swagger docs site and are left as-is. Co-Authored-By: Claude Opus 4.8 (1M context) Signed-off-by: Frederic BIDON --- hack/doc-site/hugo/README.md | 4 ++-- hack/doc-site/hugo/hugo.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hack/doc-site/hugo/README.md b/hack/doc-site/hugo/README.md index 353b1657..d08ec9c1 100644 --- a/hack/doc-site/hugo/README.md +++ b/hack/doc-site/hugo/README.md @@ -1,7 +1,7 @@ # Hugo documentation site This directory holds the Hugo configuration that builds -. +. ## Layout @@ -59,4 +59,4 @@ GitHub Actions workflow `.github/workflows/update-doc.yml`: - Builds on every push to `master` and on tags `v*` that touch `docs/**`, `hack/doc-site/**`, or the workflow itself - Publishes the rendered site to GitHub Pages - () + () diff --git a/hack/doc-site/hugo/hugo.yaml b/hack/doc-site/hugo/hugo.yaml index 7ec7b942..e0513413 100644 --- a/hack/doc-site/hugo/hugo.yaml +++ b/hack/doc-site/hugo/hugo.yaml @@ -1,4 +1,4 @@ -baseURL: https://go-swagger.github.io/examples/ +baseURL: https://goswagger.io/examples/ title: go-swagger examples theme: hugo-relearn languageCode: en-us @@ -130,7 +130,7 @@ params: ordersectionsby: 'weight' # Proposal for enhancement: configure versions #versions: - #- baseURL: https://go-swagger.github.io/examples/ + #- baseURL: https://goswagger.io/examples/ # identifier: v2.1.0 # isLatest: true #version: 'v2.1.0'