Skip to content

Commit

Permalink
Fix link checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed May 3, 2024
1 parent 45ff499 commit d2d491b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/commands/checkInternalLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const QISKIT_GLOBS_TO_LOAD = [
"docs/build/circuit-construction.ipynb",
"docs/build/pulse.ipynb",
"docs/start/install.mdx",
"docs/start/configure-qiskit-local.mdx",
"docs/api/qiskit/release-notes/0.44.mdx",
"docs/api/qiskit/release-notes/index.mdx",
"docs/api/qiskit-ibm-provider/index.mdx",
Expand Down
13 changes: 12 additions & 1 deletion scripts/lib/links/ignores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,18 @@ export const ALWAYS_IGNORED_URLS = new Set([
// A mapping of files to lists of links that will not be searched.
type FilesToIgnores = { [id: string]: string[] };

const _QPY_IGNORES = ["#f1", "#f2", "#f3", "#id2", "#id4", "#id6", "#id8"];
const _QPY_IGNORES = [
"#f1",
"#f2",
"#f3",
"#id2",
"#id3",
"#id4",
"#id5",
"#id6",
"#id7",
"#id8",
];

const _RUNTIME_OBJECT_INV = Object.fromEntries(
[
Expand Down

0 comments on commit d2d491b

Please sign in to comment.