Repository navigation
Building a Developer Information Portal with Hugo Book and GitHub Pages - /blog/post/2026/058-hugo-book-github-pages-for-go-documentation/ #276
Replies: 1 comment 1 reply
|
The baseURL warning is easy to miss on a local preview. For a project Pages site I’d add one small post-build check: parse the docs landing page, resolve its Getting Started link against the deployed project URL, and fail if the same-origin resolved path escapes the repository prefix. Then fetch that destination in the smoke test and check for the intended heading. That catches a link which silently sends users to an account-level landing page. My learning archive is a separate example for the second check: the landing HTML links straight to real detail pages. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
A new blog post has been published: Building a Developer Information Portal with Hugo Book and GitHub Pages! Read it at https://arran4.github.io/blog/post/2026/058-hugo-book-github-pages-for-go-documentation/. @arran4
All reactions