From fcf3fecb082fa43b8a4a397ec7887e6a19dc989f Mon Sep 17 00:00:00 2001 From: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:07:44 -0500 Subject: [PATCH] Hide release notes for mpf --- docs/api/qiskit-addon-mpf/_toc.json | 4 ---- scripts/js/commands/checkOrphanPages.ts | 5 ++++- scripts/js/lib/api/Pkg.ts | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/api/qiskit-addon-mpf/_toc.json b/docs/api/qiskit-addon-mpf/_toc.json index 095d3032dbf..1e496abefe0 100644 --- a/docs/api/qiskit-addon-mpf/_toc.json +++ b/docs/api/qiskit-addon-mpf/_toc.json @@ -8,10 +8,6 @@ { "title": "qiskit_addon_mpf.static", "url": "/api/qiskit-addon-mpf/static" - }, - { - "title": "Release notes", - "url": "/api/qiskit-addon-mpf/release-notes" } ], "collapsed": true diff --git a/scripts/js/commands/checkOrphanPages.ts b/scripts/js/commands/checkOrphanPages.ts index 672cf4652eb..3ccdcd9fca2 100644 --- a/scripts/js/commands/checkOrphanPages.ts +++ b/scripts/js/commands/checkOrphanPages.ts @@ -25,7 +25,10 @@ interface Arguments { apis: boolean; } -const ALLOWED_ORPHAN_URLS: Set = new Set([...qiskitLegacyIgnores()]); +const ALLOWED_ORPHAN_URLS: Set = new Set([ + ...qiskitLegacyIgnores(), + "/api/qiskit-addon-mpf/release-notes", +]); const readArgs = (): Arguments => { return yargs(hideBin(process.argv)) diff --git a/scripts/js/lib/api/Pkg.ts b/scripts/js/lib/api/Pkg.ts index a70c6a5765c..9222f84cf18 100644 --- a/scripts/js/lib/api/Pkg.ts +++ b/scripts/js/lib/api/Pkg.ts @@ -136,6 +136,7 @@ export class Pkg { title: "Multi-product formulas (MPF)", githubSlug: "Qiskit/qiskit-addon-mpf", kebabCaseAndShortenUrls: true, + releaseNotesConfig: new ReleaseNotesConfig({ enabled: false }), }); } if (name === "qiskit-addon-sqd") {