Skip to content

docs(doc-site): point baseURL at the goswagger.io custom domain - #70

Merged
fredbi merged 1 commit into
go-swagger:masterfrom
fredbi:fix/doc-site-baseurl
Jul 22, 2026
Merged

docs(doc-site): point baseURL at the goswagger.io custom domain#70
fredbi merged 1 commit into
go-swagger:masterfrom
fredbi:fix/doc-site-baseurl

Conversation

@fredbi

@fredbi fredbi commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

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.

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) <noreply@anthropic.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi
fredbi merged commit 9cdcab4 into go-swagger:master Jul 22, 2026
18 checks passed
@fredbi
fredbi deleted the fix/doc-site-baseurl branch July 22, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant