Skip to content

Fix Haddock dead-link CI failure: add fs-api's doc site - #1284

Open
palas wants to merge 1 commit into
masterfrom
fix-haddock-links
Open

Fix Haddock dead-link CI failure: add fs-api's doc site#1284
palas wants to merge 1 commit into
masterfrom
fix-haddock-links

Conversation

@palas

@palas palas commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Context

Since #1221, the CI action that generates haddocks for cardano-api noticed there are broken links that couldn't be solved using the heuristics available so far. That resulted on the automatically generated issue: #1279

This PR addresses this issue by Adding https://input-output-hk.github.io/fs-sim to IOG_DOC_BASES. The site serves doc-index.html and module pages for both fs-api and fs-sim, so cross-package links resolve instead of failing the build.

How to trust this PR

The functional change is a single probe-configuration line — one new entry in IOG_DOC_BASES — plus the changelog fragment. It is strictly additive: the new base is the last candidate probed, so every package that resolved before this PR still resolves to exactly the same site; the only behavioural change is that fs-api (and fs-sim, hosted on the same site) now resolve instead of failing the run.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff
  • Changelog fragment added in .changes/

@palas palas self-assigned this Aug 8, 2026
Copilot AI lite review requested due to automatic review settings August 8, 2026 00:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the Haddock dead-link CI failure by extending the doc-site probing configuration used by scripts/fix-haddock-links.sh, so that CHaP package links for fs-api (and fs-sim) can resolve during the Haddock link check.

Changes:

  • Add https://input-output-hk.github.io/fs-sim as an additional candidate in IOG_DOC_BASES for doc-index probing.
  • Add a Herald changelog fragment documenting the maintenance change and referencing issue #1279.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
scripts/fix-haddock-links.sh Adds fs-sim GitHub Pages base URL to the fallback doc-site probe list (IOG_DOC_BASES).
.changes/20260807_cardano_api_haddock_fs_api_doc_site.yml Records the maintenance change in the project changelog fragment system.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Since the node-11.1 integration (#1221) the generated haddocks contain
cross-package links to fs-api, and the "Update github pages" workflow
fails because scripts/fix-haddock-links.sh cannot resolve a doc site
for it: fs-api lives in the fs-sim repository, which publishes its
Haddocks from gh-pages of the input-output-hk organisation (the repo
was never migrated to IntersectMBO), so the *.cardano.intersectmbo.org
name-suffix heuristic cannot derive the URL.

Add https://input-output-hk.github.io/fs-sim to IOG_DOC_BASES. The
site serves doc-index.html and module pages for both fs-api and
fs-sim, so cross-package links resolve instead of failing the build.

Fixes #1279
@palas
palas force-pushed the fix-haddock-links branch from 37e662f to b784228 Compare August 8, 2026 00:03
@palas palas linked an issue Aug 8, 2026 that may be closed by this pull request
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.

Haddock dead-link CI failures on master

2 participants