Qiskit / Qiskit/documentation

Better error message in title/metadata check

Open
#4,656 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

At the moment, the title / metadata check shows errors like this:

Error in file 'docs/guides/get-started-with-sampler.ipynb':
	- Mismatch: frontmatter title "Get started with Sampler" does not match heading "Get started with primitives"

We should also include instructions on how to ignore mismatches (that is, adding the file to https://github.com/Qiskit/documentation/blob/main/scripts/config/allowLists.ts#L24)

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 with the title/metadata check that emits the shown error for docs/guides/get-started-with-sampler.ipynb, and read scripts/config/allowLists.ts at the linked location. Update the error output to explain how to ignore a mismatch by adding the file there; done means the reported error includes those instructions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.