fix(docs): repair broken links breaking the Pages deploy#145
Merged
Conversation
The Hugo site (contentDir: ../docs) fails to build because docs/05-operations/agent.md links to the systemd/launchd unit templates with ../../packaging/... — paths that resolve when browsing the repo on GitHub but point outside the Hugo content root, so Hugo reports "Broken internal link" and exits 1. Every docs deploy since the agent ops guide landed (2026-07-01) has failed, so the live site is stale. Point both links at absolute github.com/reyamira/pass-cli/blob/main URLs, which are not subject to internal-link resolution and resolve correctly for site visitors. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014kVLjbUL4F4CkoA7RbMYy8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The Deploy Docs to GitHub Pages workflow has failed on every push to
mainsince 2026-07-01 (5+ consecutive failures) — so the live docs site is stale as of 2026-06-27 and none of the recent docs (agent guide, #137/#138, v0.19.0 CHANGELOG + filter reference) are published.Root cause: the Hugo site uses
contentDir: ../docs, anddocs/05-operations/agent.mdlinks to the unit templates with../../packaging/.... Those paths resolve when browsing the repo on GitHub, but point outside the Hugo content root, so Hugo reports:and exits 1.
Fix
Point both links at absolute
github.com/reyamira/pass-cli/blob/main/...URLs. Absolute URLs aren't subject to Hugo's internal-link resolution, and they resolve correctly for site visitors (the packaging files live at the repo root, outside the published site). Verified these were the only two out-of-content-root links indocs/(grep -rE '\]\(\.\./\.\./' docs/).The Validate Hugo Build check on this PR runs the same Hugo build and will confirm the site builds. Once merged, the Pages deploy on
mainwill succeed and publish the full docs backlog including v0.19.0.🤖 Generated with Claude Code