Skip to content

fix(lint): flag absolute links only to the Interbox docs space - #1

Merged
ipasechnikov merged 1 commit into
mainfrom
fix/lint-absolute-links-own-space
Oct 13, 2026
Merged

ipasechnikov merged 1 commit into
mainfrom
fix/lint-absolute-links-own-space

Conversation

@ipasechnikov

Copy link
Copy Markdown
Collaborator

Summary

The docs workflow failed on main after the v1.23.1 sync (run 38396135259). It failed in two places:

  • lint: the Absolute Links check reported ops/sizing.md:110 and :123. Both lines link to Aidbox's own docs: its PostgreSQL extensions page and its managed PostgreSQL guide.
  • update: the Push changes step was refused, because the pre-push hook runs the same lint.

docs-tools' absolute-links check defaults to docs.aidbox.app and www.health-samurai.io/docs. The second domain covers every product's docs, so any link from these pages to another product's docs counts as a link to this site. Those links cannot be relative.

This PR sets the check's domains in docs-lint.yaml to www.health-samurai.io/docs/interbox. Absolute links to Interbox's own pages still fail. Links to Aidbox or other products' docs are allowed.

Test plan

  • bun lint on current main content with this config: exit 0, Absolute Links reports no issues
  • Absolute link to https://www.health-samurai.io/docs/interbox/ops/deploy added temporarily: still reported as an error, then removed
  • docs workflow lint passes on this PR
  • After merge, the update job's push succeeds

🤖 Generated with Claude Code

docs-tools' absolute-links check defaults to www.health-samurai.io/docs,
which covers every product's docs on that domain. Links from Interbox pages
to Aidbox's docs (ops/sizing.md, synced from interbox v1.23.1) were reported
as links to our own site and failed lint, which also blocked the update
job's push through the pre-push hook.

Scope the check to www.health-samurai.io/docs/interbox. Links to other
Interbox pages are still caught; links to other products' docs, which
cannot be relative, are allowed.

Assisted-by: Claude Opus 5.5
@ipasechnikov
ipasechnikov merged commit 16c1e1d into main Oct 13, 2026
2 checks passed
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