• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit-fermions / 31786736410
98%

Build:
DEFAULT BRANCH: main
Ran 14 Aug 2026 09:11AM UTC
Jobs 1
Files 103
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Aug 2026 09:07AM UTC coverage: 98.021%. Remained the same
31786736410

push

github

web-flow
ci: host browsable documentation previews on GitHub Pages  (#271)

* feat(tools): add script to localise IQP API-reference links

The API-reference entries in `docs/index.rst` point at absolute
`quantum.cloud.ibm.com` URLs, which is correct for the artifact the IBM
Quantum Platform ingests but wrong for any standalone build: a branch or
pull-request preview would link its own sidebar back to the published
documentation instead of to the copy being read.

Rewriting is deliberately kept out of the Sphinx build so that a single
build can serve both consumers -- the artifact keeps its absolute links,
and only the copy destined for GitHub Pages is rewritten.

Two properties of the rewrite are load-bearing and easy to get wrong, so
both are documented at the point of implementation:

* Matching is on complete URLs only. The build carries 283 legitimate
  intersphinx links to *other* projects on the same host (the Qiskit SDK
  and its C API) which must stay absolute, so any prefix- or
  hostname-level substitution would break them.
* `.../api/qiskit-fermions` is a strict prefix of both
  `.../api/qiskit-fermions-c` and any deeper URL, so replacement needs
  longest-key-first ordering *and* a terminator check. Either one alone
  silently produces `pydoc/index.html-c` or `pydoc/index.html/operators`.

There are no unit tests: the docs build exercises this end to end on the
real tree, which cannot drift from reality the way fixtures can. The two
exit-1 guards stand in for them -- one catches an expected URL that has
stopped appearing, the other an unmapped `qiskit-fermions` URL that would
otherwise be left pointing at the platform. Validation of the whole tree
happens before any file is written, because a half-rewritten tree reports
the wrong error on a re-run.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* feat(tools): add generator for the preview-site landing page

Once GitHub Pages serves several documentation builds side by side --
`dev/` for `m... (continued)

12087 of 12331 relevant lines covered (98.02%)

528177.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31786736410.1 14 Aug 2026 09:11AM UTC 103
98.02
GitHub Action Run
Source Files on build 31786736410
  • Tree
  • List 103
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31786736410
  • 29eed6b3 on github
  • Prev Build on main (#31785997673)
  • Next Build on main (#31788559703)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc