Qiskit / Qiskit/documentation

Extend the link checker to validate the Qiskit C API historical versions & fix its ignored links

Open
#3,937 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

infra 🏗️
Dominant language
Jupyter Notebook
Stars
106
Forks
223
Avg merge
1d 8h
Merged PRs (30d)
72

Description

Currently, our link checker is not checking historical versions of the Qiskit C API. We need to extend our script to validate them by adding a new entry to:

https://github.com/Qiskit/documentation/blob/ba86157aed2a0d37198544833cb8e1ea6f458f9b/scripts/js/commands/checkInternalLinks.ts#L187

Moreover, we have some ignored links that we should fix. See:

https://github.com/Qiskit/documentation/blob/956d3af52d841c9f54895453d2d67e6354e09397/scripts/js/lib/links/ignores.ts#L420-L453

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in scripts/js/commands/checkInternalLinks.ts around line 187 to understand how API versions are registered, then inspect scripts/js/lib/links/ignores.ts around lines 420-453. Add the Qiskit C API historical-version entry and resolve the ignored links, then run the link checker to confirm those versions and links validate.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.