From 9cff6c356364ccc3754c1d1c4af3c79f360306f8 Mon Sep 17 00:00:00 2001 From: Arnau Casau <47946624+arnaucasau@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:00:56 +0100 Subject: [PATCH] Revert "Use the minor version in _package.json" (#407) This PR reverts Qiskit/documentation#394. The change was a temporary solution until we had a different way of building the version URLs. --- docs/api/qiskit-ibm-provider/_package.json | 2 +- docs/api/qiskit-ibm-runtime/_package.json | 2 +- docs/api/qiskit/0.44/_package.json | 2 +- docs/api/qiskit/_package.json | 2 +- scripts/commands/updateApiDocs.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/api/qiskit-ibm-provider/_package.json b/docs/api/qiskit-ibm-provider/_package.json index e7731a58476..43597168f9a 100644 --- a/docs/api/qiskit-ibm-provider/_package.json +++ b/docs/api/qiskit-ibm-provider/_package.json @@ -1,4 +1,4 @@ { "name": "qiskit-ibm-provider", - "version": "0.7" + "version": "0.7.2" } diff --git a/docs/api/qiskit-ibm-runtime/_package.json b/docs/api/qiskit-ibm-runtime/_package.json index c1b7f56bac3..262d11f4c27 100644 --- a/docs/api/qiskit-ibm-runtime/_package.json +++ b/docs/api/qiskit-ibm-runtime/_package.json @@ -1,4 +1,4 @@ { "name": "qiskit-ibm-runtime", - "version": "0.15" + "version": "0.15.0" } diff --git a/docs/api/qiskit/0.44/_package.json b/docs/api/qiskit/0.44/_package.json index 91a8ccbb54e..449267766da 100644 --- a/docs/api/qiskit/0.44/_package.json +++ b/docs/api/qiskit/0.44/_package.json @@ -1,4 +1,4 @@ { "name": "qiskit", - "version": "0.44" + "version": "0.44.0" } diff --git a/docs/api/qiskit/_package.json b/docs/api/qiskit/_package.json index ec587ec7e8d..255c7ce4b2f 100644 --- a/docs/api/qiskit/_package.json +++ b/docs/api/qiskit/_package.json @@ -1,4 +1,4 @@ { "name": "qiskit", - "version": "0.45" + "version": "0.45.0" } diff --git a/scripts/commands/updateApiDocs.ts b/scripts/commands/updateApiDocs.ts index f6f52d09522..6b221a0d96d 100644 --- a/scripts/commands/updateApiDocs.ts +++ b/scripts/commands/updateApiDocs.ts @@ -419,7 +419,7 @@ async function convertHtmlToMarkdown( } console.log("Generating version file"); - const pkg_json = { name: pkg.name, version: versionWithoutPatch }; + const pkg_json = { name: pkg.name, version: version }; await writeFile( `${markdownPath}/_package.json`, JSON.stringify(pkg_json, null, 2) + "\n",